JPH09294212A - Image processing unit and image processing method - Google Patents

Image processing unit and image processing method

Info

Publication number
JPH09294212A
JPH09294212A JP9062476A JP6247697A JPH09294212A JP H09294212 A JPH09294212 A JP H09294212A JP 9062476 A JP9062476 A JP 9062476A JP 6247697 A JP6247697 A JP 6247697A JP H09294212 A JPH09294212 A JP H09294212A
Authority
JP
Japan
Prior art keywords
color
data
image data
image
image processing
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
JP9062476A
Other languages
Japanese (ja)
Other versions
JP3823424B2 (en
Inventor
Shigeaki Sumiya
繁明 角谷
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP06247697A priority Critical patent/JP3823424B2/en
Publication of JPH09294212A publication Critical patent/JPH09294212A/en
Priority to US08/987,375 priority patent/US6215561B1/en
Application granted granted Critical
Publication of JP3823424B2 publication Critical patent/JP3823424B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Color Image Communication Systems (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)
  • Color, Gradation (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve image quality around a low density area by dividing image data in the low density area of a color space finer than the data in other areas, storing correction data to coordinates of a lattice point in the color space, transforming the data into coordinates of the lattice point and reading the correction data at the lattice point. SOLUTION: A color space is divided into lattice points and correction data of each color component are stored in each lattice point 300. In the case of desiring a corresponding color, gradation correction data of each color component of R, G, B to be required are checked for each lattice point 300 and the result is stored in a color correction table memory. A proper division number is decided based on the balance between the capacity of the color correction table and the image quality. That is, a pre-conversion of gradation number is performed so that received original color data ORG are color data on a lattice point of a color correction table memory, and then color correction is conducted by referencing the color correction table memory and then post- gradation number is performed. Thus, complicated interpolation arithmetic operation is omitted.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像処理装置およ
び画像処理方法に関し、特に、入力されるカラー画像デ
ータに対し、色補正処理を行い、出力する画像処理装置
およびその方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus and an image processing method, and more particularly to an image processing apparatus and method for performing color correction processing on input color image data and outputting the color image data.

【0002】[0002]

【従来の技術】従来より、カラー原稿等を、スキャナ等
の画像入力部を用いて読み取り、読み取られた画像デー
タを、例えばCRTなどのディスプレイや、カラープリ
ンタ等を用いて再生表示させる画像処理装置が知られて
いる。
2. Description of the Related Art Conventionally, an image processing apparatus for reading a color original or the like by using an image input unit such as a scanner and reproducing and displaying the read image data by using a display such as a CRT or a color printer. It has been known.

【0003】ディスプレイやカラープリンタなどの画像
出力装置は、それぞれ特有の色再現特性を有するから、
スキャナ等を用いて入力したカラー画像の色を、出力装
置の特性によらず良好に再生するため、使用する画像出
力装置の色再現特性に合わせて色補正処理を行う手法が
提案されている。このような色補正手法の一つとして、
特開昭63−2669号公報に示されたものがある。こ
の従来技術では、レッド(以下、Rと記す)、グリーン
(以下、Gと記す)、ブルー(以下、Bと記す)の3色
成分の全ての組み合わせに対応したRGB3次元の色補
正テーブルを用意している。この色補正テーブルには、
3次元座標で表わされた色空間内の総ての位置について
の色補正内容を予め記憶している。画像処理装置は、こ
の色補正テーブルを参照することによって色補正を行な
う。
Image output devices such as displays and color printers have unique color reproduction characteristics.
In order to properly reproduce the color of a color image input using a scanner or the like regardless of the characteristics of the output device, there has been proposed a method of performing color correction processing in accordance with the color reproduction characteristics of the image output device used. As one of such color correction methods,
There is one disclosed in JP-A-63-2669. In this conventional technique, an RGB three-dimensional color correction table is prepared corresponding to all combinations of three color components of red (hereinafter referred to as R), green (hereinafter referred to as G), and blue (hereinafter referred to as B). are doing. In this color correction table,
Color correction contents for all positions in the color space represented by three-dimensional coordinates are stored in advance. The image processing apparatus performs color correction by referring to this color correction table.

【0004】この色補正手法は、使用する色補正テーブ
ルの記憶容量が膨大なものとなってしまうため、実用性
が十分ではなかった。例えば、入力される原カラー画像
データがR,G,B各色毎に8ビット(256階調)の
階調数をもつ場合、色数は256の3乗で約1678万
色にもなる。色補正後のデータも同じく8ビットだとす
ると、R,G,B3色分では、色補正テーブルとして4
8メガバイトもの記憶容量が必要となる。
This color correction method is not sufficiently practical because the storage capacity of the color correction table used becomes enormous. For example, when the input original color image data has a gradation number of 8 bits (256 gradations) for each color of R, G, B, the number of colors becomes 256 cubed to reach about 16.78 million colors. Assuming that the data after color correction is also 8 bits, the color correction table is 4 for R, G, and B colors.
A storage capacity of 8 megabytes is required.

【0005】他方、色補正テーブルの大容量化を回避す
るために、色補正テーブルを限られた格子点に対応する
データのみから構成し、格子点間の色データについて
は、格子点のデータを利用して補間演算を行なって、色
補正処理を行なうものも提案されている(例えば、特開
平4−144481号公報、特開平4−185075号
公報)。この手法によれば、色補正テーブルの記憶容量
を低減することはできるが、補間演算にかなりの時間を
要してしまう。特に、最近のように取り扱う画像データ
の解像度が高くなり、かつ各画素についての階調表現が
細かくなると、一枚の画像を出力するのに要する演算時
間は長くなり、画像出力が完了するまでの待ち時間が極
めて長くなってしまう。かといって、補間演算を簡略な
ものとすれば、色の再現性が落ちてしまう。
On the other hand, in order to avoid increasing the capacity of the color correction table, the color correction table is composed only of data corresponding to limited grid points, and the color data between grid points is the data of grid points. There are also proposals of utilizing the interpolation calculation to perform color correction processing (for example, JP-A-4-14481 and JP-A-4-185075). According to this method, the storage capacity of the color correction table can be reduced, but the interpolation calculation requires a considerable amount of time. In particular, when the resolution of image data to be handled becomes higher and the gradation expression for each pixel becomes finer as in recent years, the calculation time required to output one image becomes long, and it takes time to complete the image output. The waiting time becomes extremely long. However, if the interpolation calculation is simplified, the color reproducibility will deteriorate.

【0006】そこで、本願出願人は、色補正テーブルの
容量を増大することなく、かつ色補正の補間演算の長大
な時間を必要としない画像処理の手法を提案している
(例えば、特開平7−30772号公報参照)。この画
像処理の手法は、色空間を所定の間隔で分割し、分割し
て得られた格子点についてのみ色補正データを用意する
と共に、格子点以外の画像データに対しては、その近傍
のいずれかの格子点に割り付け、補間演算なしで色補正
を行なうというものである。この場合、本来の画像デー
タをその近傍の格子点に割り付けるから、格子点への割
付を行なうたびに誤差が生じる。そこで、画像を構成す
る各画素の画像データを順次処理する際、この誤差が平
均的にはできるだけ小さくなるように、格子点への割り
付けを行なうのである。
Therefore, the applicant of the present application has proposed an image processing method which does not increase the capacity of the color correction table and does not require a long time for the interpolation operation of the color correction (for example, Japanese Patent Application Laid-Open No. Hei 7 (1999) -96). -30772). This image processing method divides the color space at a predetermined interval, prepares color correction data only for the grid points obtained by the division, and for image data other than the grid points, the That is, the color correction is performed by allocating to those grid points and performing no interpolation calculation. In this case, since the original image data is allocated to the grid points in the vicinity thereof, an error occurs every time the grid points are allocated. Therefore, when the image data of each pixel forming the image is sequentially processed, the allocation to the grid points is performed so that this error will be as small as possible on average.

【0007】[0007]

【発明が解決しようとする課題】上記画像処理の手法
は、一つ一つの画素に着目すれば、その色には誤差が存
在するが、一定の範囲では誤差を解消しており、出力さ
れた画像の品質を低下させることなく、画像処理に要す
る演算時間を大幅に短くするという優れたものである
が、画像を出力する画像出力装置が表現可能な階調数が
低い場合、例えばインクジェットプリンタのように、2
値的な表現しかできない場合、画像の濃度が低い領域で
は、画質がやや低下してしまうということがあった。ド
ット密度が小さくドットがまばらに分布する低濃度領域
では、少しのノイズ(格子点への割り付けにより生じる
量子化誤差)でも、ドットの出現位置が大きくずれてし
まうからである。
In the image processing method, when attention is paid to each pixel, there is an error in the color, but the error is eliminated within a certain range, and the error is output. This is an excellent technique that significantly reduces the calculation time required for image processing without degrading the image quality. However, if the number of gradations that can be expressed by the image output device that outputs the image is low, for example, in an inkjet printer, Like 2
When only a value can be expressed, the image quality may be slightly deteriorated in a region where the image density is low. This is because, in the low density region where the dot density is small and the dots are sparsely distributed, the appearance position of the dots is largely displaced even if a little noise (quantization error caused by the allocation to the grid points).

【0008】また、上記の画像処理では、原画像で同色
の画素が近接していても、両画素は異なる格子点に割り
当てられることがあるから、色補正テーブルの記憶容量
を低減するために、色空間の分割を荒くし、格子点の数
を減らすと、出力された両画素の色の隔たりが大きく、
結果的に画像の品質を低下させることがあった。
Further, in the above image processing, even if pixels of the same color in the original image are close to each other, both pixels may be assigned to different grid points. Therefore, in order to reduce the storage capacity of the color correction table, When the color space division is roughened and the number of grid points is reduced, the color gap between the output pixels is large,
As a result, the image quality may be degraded.

【0009】本発明は、これらの問題を解決し、色補正
のための演算処理を増やすことなく、低濃度領域を中心
に出力画像の品質を更に向上させることを目的とする。
An object of the present invention is to solve these problems and to further improve the quality of an output image centering on a low density area without increasing the calculation processing for color correction.

【0010】[0010]

【課題を解決するための手段およびその作用・効果】前
記目的を達成する本発明の第1の画像処理装置は、2次
元以上の色空間における座標値により表現された多色の
画像を色補正して出力する画像処理装置であって、前記
画像の各画素について、前記座標値を所定の階調数を用
いて表現したカラー画像データを入力する入力手段と、
前記座標値を表現する前記階調数よりも少ない階調数に
より前記色空間を分割し、かつ該色空間の所定の低濃度
領域では他の領域よりも該色空間を細かく分割し、該分
割を前記各次元について行なうことにより得られた格子
点の座標値を前記色空間について記憶した格子点情報記
憶手段と、該各格子点に対応して、前記カラー画像デー
タの色に関する補正データを記憶した色補正テーブル
と、前記入力されたカラー画像データの前記色空間内で
の座標値を、前記格子点からの隔たりが平均的には所定
値以下となる手法に従って、前記格子点情報記憶手段に
記憶された格子点の座標値に変換する格子点変換手段
と、該変換された座標値に対応した格子点の補正データ
を、前記色補正テーブルから読み出し、補正済みのカラ
ー画像データとして出力する色補正手段とを備えたこと
を要旨とする。
Means for Solving the Problem and Its Action / Effect The first image processing apparatus of the present invention which achieves the above object, performs color correction on a multicolor image represented by coordinate values in a two-dimensional or more color space. An image processing device that outputs the color image data for each pixel of the image, the input means inputting color image data in which the coordinate value is expressed using a predetermined gradation number;
The color space is divided into a smaller number of gradations than the number of gradations expressing the coordinate values, and in a predetermined low density area of the color space, the color space is divided into smaller areas than other areas, and the division is performed. For each of the dimensions, the grid point information storage means stores the coordinate values of the grid points obtained for the color space, and the correction data relating to the color of the color image data corresponding to each grid point. The color correction table and the coordinate values of the input color image data in the color space are stored in the grid point information storage means according to a method in which the distance from the grid points is not more than a predetermined value on average. Lattice point conversion means for converting the stored coordinate values of the lattice points and the correction data of the lattice points corresponding to the converted coordinate values are read from the color correction table and output as corrected color image data. And summarized in that and a color correction means for.

【0011】また、この画像処理装置に対応した第一の
画像処理方法は、2次元以上の色空間における座標値に
より表現された多色の画像を色補正して出力する画像処
理方法であって、前記画像の各画素について、前記座標
値を所定の階調数を用いて表現したカラー画像データを
入力し、前記座標値を表現する前記階調数よりも少ない
階調数により前記色空間を分割し、かつ該色空間の所定
の低濃度領域では他の領域よりも該色空間を細かく分割
し、該分割を前記各次元について行なうことにより得ら
れた格子点の座標値を前記色空間について記憶し、該各
格子点に対応して、前記カラー画像データの色に関する
補正データを記憶した色補正テーブルを用意し、前記入
力されたカラー画像データの前記色空間内での座標値
を、前記格子点からの隔たりが平均的には所定値以下と
なる手法に従って、前記記憶された格子点の座標値に変
換し、該変換された座標値に対応した格子点の補正デー
タを、前記色補正テーブルから読み出し、補正済みのカ
ラー画像データとして出力することを要旨としている。
A first image processing method corresponding to this image processing apparatus is an image processing method for color-correcting and outputting a multicolor image represented by coordinate values in a two-dimensional or more color space. , For each pixel of the image, the color image data in which the coordinate value is expressed using a predetermined gradation number is input, and the color space is defined by the gradation number smaller than the gradation number expressing the coordinate value. The color space is divided into the predetermined low-density areas of the color space more finely than the other areas, and the coordinate values of the lattice points obtained by performing the division for each of the dimensions are set for the color space. A color correction table that stores correction data relating to the color of the color image data stored in correspondence with each of the grid points is prepared, and the coordinate value of the input color image data in the color space is From the grid point According to a method in which the distance is on average less than a predetermined value, the coordinate values of the stored grid points are converted, and the correction data of the grid points corresponding to the converted coordinate values are read from the color correction table, The main point is to output as corrected color image data.

【0012】この画像処理装置および画像処理方法で
は、二次元以上の色空間における座標値を表現する階調
数より少ない階調数によりこの色空角を分割し、各次元
についてこの分割を行なうことにより得られた格子点の
座標値を記憶し、更にこの各格子点に対応してカラー画
像データの色に関する補正データを記憶した色補正デー
タを用意している。画像の各画素について、座標値を所
定の階調数を用いて表現したカラー画像データを入力
し、この座標値を、格子点からの隔たりが平均的には所
定値以下となる手法に従って、格子点の座標値に変換す
る。かかる変換により、複数の格子点データを用いた複
雑な補間演算を行なう必要がない。しかも、格子点の分
割は、低濃度領域で細かくなされているので、低濃度領
域での色補正テーブルのデータの間隔も細かくなってい
る。したがって、入力データの座標値を格子点の座標値
に変換する際の量子化誤差が、それが問題となる低濃度
領域で小さくなり、画質の劣化が抑制される。この結
果、画像出力装置に合わせた色補正演算を高速で行な
い、良好な色再生が得られ、かつ画像の品質の劣化が抑
制されることになる。
In this image processing apparatus and image processing method, this color sky angle is divided by a number of gradations smaller than the number of gradations expressing coordinate values in a two-dimensional or more-dimensional color space, and this division is performed for each dimension. The color correction data in which the coordinate values of the grid points obtained by the above are stored and the correction data regarding the color of the color image data is stored corresponding to each grid point is prepared. For each pixel of the image, input the color image data in which the coordinate value is expressed using a predetermined number of gradations, and set the coordinate value according to a method in which the distance from the grid point is below a predetermined value on average. Convert to point coordinates. By such conversion, it is not necessary to perform complicated interpolation calculation using a plurality of grid point data. In addition, since the grid points are finely divided in the low density area, the data interval of the color correction table in the low density area is also fine. Therefore, the quantization error in converting the coordinate value of the input data into the coordinate value of the grid point becomes small in the low density area where it becomes a problem, and the deterioration of the image quality is suppressed. As a result, a color correction calculation suitable for the image output device is performed at high speed, good color reproduction is obtained, and deterioration of image quality is suppressed.

【0013】本願発明における低濃度領域とは、画像出
力装置に出力されるドットの密度が低い領域を言う。例
えば、最終的な画像の出力がドットのオン・オフにより
階調を表現するインクジェットプリンタである場合に
は、CMYなどのインクのドットの密度か低い領域を言
う。また、出力装置がCRT等である場合には、白ドッ
トに着目すれば白ドットがまばらに分布する領域(画像
全体では高濃度領域)であり、黒ドットに着目すれば黒
ドットがまばらに分布する領域(画像全体では低濃度領
域)である。また、後述するように、同一色について濃
度の高いインクと濃度の低いインクを備え、濃ドットと
淡ドットを打ち分けるようなプリンタであれば、淡ドッ
トがまばらに分布する領域(画像全体では低濃度領域)
のみならず、濃ドットがまばらに分布する領域も、その
インクについての低濃度領域に該当する。
In the present invention, the low density area means an area where the density of dots output to the image output device is low. For example, when the final image output is an ink jet printer that expresses gradation by turning dots on and off, it refers to a region where the density of ink dots such as CMY is low. Further, when the output device is a CRT or the like, if the white dots are focused, the white dots are sparsely distributed (high density region in the entire image), and if the black dots are focused, the black dots are sparsely distributed. It is a region (low density region in the entire image) to be processed. Further, as will be described later, in a printer that includes high-density ink and low-density ink of the same color, and separates dark dots and light dots, a region in which light dots are sparsely distributed (low in the entire image). Concentration area)
Not only that, the area where the dark dots are sparsely distributed also corresponds to the low density area for the ink.

【0014】なお、二次元以上の色空間としては、RG
BやCMY系の色空間のみならず、XYZ表色系で表わ
された色空間、L*a*b*表色系、L*C*h表色
系、マンセル表色系など、種々の色空間を考えることが
できる。階調数としては、これらの座標値がnビット数
のディジタルな情報により表現されている場合には、2
のn乗(例えば8ビットなら256)の階調により表現
されることが多いが、100階調とか17階調とか、2
のn乗以外の階調数であっても差し支えない。上記の構
成では、格子点の座標を、低濃度領域では細かく分割す
るものとしているが、色補正手段より補正された後のカ
ラー画像データの各色成分の階調の間隔が低濃度領域で
狭くなるように、選ぶことも好適である。これにより、
色補正後のデータにおける低濃度領域でのプレ階調数変
換の量子化誤差が小さくなるため、色空間を少ない階調
数で分割したことによる画質の劣化を、より確実に抑制
することができる。
As a two-dimensional or more-dimensional color space, RG is used.
Not only B and CMY color spaces, but also various colors such as XYZ color space, L * a * b * color space, L * C * h color space, Munsell color space, etc. You can think of the color space. The number of gradations is 2 when these coordinate values are expressed by n-bit number digital information.
It is often expressed in terms of the nth power (for example, 256 for 8 bits), 100 or 17 gradations, or 2
It does not matter if the number of gradations is other than n. In the above configuration, the coordinates of the grid points are finely divided in the low density area, but the gradation interval of each color component of the color image data corrected by the color correction means becomes narrow in the low density area. As such, it is also suitable to choose. This allows
Since the quantization error of the pre-gradation number conversion in the low density area in the data after color correction becomes small, the deterioration of the image quality due to the division of the color space with a small number of gradations can be suppressed more reliably. .

【0015】この画像処理により出力される画像データ
の階調数は、画像出力装置に適した最終的な階調数より
も多いことが望ましい。その場合、この画像データは最
終的な階調数へと更に階調数変換された後に画像出力装
置に与えられることになるが、上記の格子点への割付に
よる階調数変換の量子化誤差は、出力装置に適した最終
的な階調数への変換の際に生じる誤差に比べると小さく
なる。結果として、格子点への割り付けによる階調数変
換を導入したことによる画質の劣化が抑制される。
The number of gradations of the image data output by this image processing is preferably larger than the final number of gradations suitable for the image output device. In this case, this image data is given to the image output device after being further converted into the final gradation number, but the quantization error of the gradation number conversion due to the above-mentioned allocation to the grid points. Is smaller than the error that occurs when converting to the final gradation number suitable for the output device. As a result, deterioration in image quality due to the introduction of gradation number conversion by allocation to grid points is suppressed.

【0016】上述した画像座標値の格子点の座標値への
変換は、誤差拡散の手法を用いて行なうことができる。
また、分散型ディザの閾値マトリックスを用いた組織的
ディザ法により格子点の座標を変換することも可能であ
る。これらの手法によれば、量子化誤差を適正に分散す
ることができる。
The above-mentioned conversion of the image coordinate values to the coordinate values of the lattice points can be performed by using an error diffusion method.
It is also possible to convert the coordinates of the lattice points by the systematic dither method using the threshold matrix of the distributed dither. According to these methods, the quantization error can be properly dispersed.

【0017】また、色空間の取り方の一つとして、RG
BやCMY系のように、複数の基本色の濃度の組み合わ
せによりカラー画像データを構成する場合には、色空間
における座標値を表現する階調数は、カラー画像データ
の各色成分の濃度に直接対応する形式となり、その色補
正テーブルは、カラー画像データの各色成分の階調、即
ち濃度に関する情報を記憶していることになる。この場
合には、格子点情報は、カラー画像データの各色成分の
階調の間隔が、所定の低濃度領域において他の濃度領域
よりも狭くなるように、色空間の所定の低濃度領域を分
割したものとすればよい。
Also, as one of the ways of taking a color space, RG
When the color image data is formed by combining the densities of a plurality of basic colors like B and CMY systems, the number of gradations expressing the coordinate values in the color space is directly related to the density of each color component of the color image data. The color correction table has a corresponding format and stores information about the gradation of each color component of the color image data, that is, the density. In this case, the grid point information divides the predetermined low-density area of the color space so that the gradation interval of each color component of the color image data is narrower in the predetermined low-density area than in the other density areas. It should be done.

【0018】カラー画像データの色の補正を行なうため
の色補正テーブルは、補正データとして、カラー画像デ
ータを最終的に処理する画像出力装置の色再現特性に適
合したものを記憶することができる。色補正の目的に
は、様々なものが考えられるが、こうした用途のうち、
画像出力装置の色再現特性に併せた補正は、画像の処理
においてしばしば必要となるもののひとつである。
The color correction table for correcting the color of the color image data can store, as the correction data, one that is adapted to the color reproduction characteristic of the image output device that finally processes the color image data. There are various possible purposes for color correction.
The correction in accordance with the color reproduction characteristics of the image output device is one of those often required in image processing.

【0019】本発明の第2の画像処理装置は、2次元以
上の色空間における座標値により表現された多色の画像
を色補正して出力する画像処理装置であって、前記画像
の各画素について、前記座標値を所定の階調数を用いて
表現したカラー画像データを入力する入力手段と、前記
座標値を表現する前記階調数よりも少ない階調数により
前記色空間を分割し、かつ該色空間の所定の低濃度領域
では他の領域よりも該色空間を細かく分割し、該分割を
前記各次元について行なうことにより得られた格子点の
座標値を前記色空間について記憶した格子点情報記憶手
段と、該各格子点に対応して、前記カラー画像データの
色に関する補正データを記憶した色補正テーブルと、前
記入力されたカラー画像データの前記色空間内での座標
値を、前記格子点からの隔たりが平均的には所定値以下
となる手法に従って、前記格子点情報記憶手段に記憶さ
れた格子点の座標値に変換する格子点変換手段と、該変
換された座標値に対応した格子点の補正データを、前記
色補正テーブルから読み出す色補正データ読出手段と、
該読み出された格子点の補正データのうち主要色に対応
した値を選択し、主要色毎に、前記格子点から前記主要
色に対応した座標値だけがシフトした隣接格子点の補正
データのうち当該主要色に対応した値を読み出し、該両
値を用いて補間を行ない、前記主要色についての補正デ
ータを該補間結果に置き換えた前記補正データを最終的
な補正済みのカラー画像データとして出力する色補正手
段とを備えことを要旨とする。
A second image processing apparatus of the present invention is an image processing apparatus for color-correcting and outputting a multicolor image represented by coordinate values in a two-dimensional or more-dimensional color space, and each pixel of the image. With respect to, the color space is divided by input means for inputting color image data in which the coordinate value is expressed using a predetermined number of gradations, and the number of gradations smaller than the number of gradations expressing the coordinate value, And, in a predetermined low-density area of the color space, the color space is divided into smaller areas than other areas, and the coordinate values of grid points obtained by performing the division for each of the dimensions are stored in the color space. Point information storage means, a color correction table storing correction data relating to the color of the color image data corresponding to each grid point, coordinate values of the input color image data in the color space, The grid points The grid point conversion means for converting the grid point coordinate values stored in the grid point information storage means into grid points corresponding to the converted coordinate values according to a method in which the distance between the grid points is less than a predetermined value on average. Color correction data reading means for reading the point correction data from the color correction table;
A value corresponding to the main color is selected from the correction data of the read grid points, and the correction data of the adjacent grid points in which only the coordinate values corresponding to the main color are shifted from the grid point for each main color Of these, the value corresponding to the main color is read, interpolation is performed using both values, and the correction data obtained by replacing the correction data for the main color with the interpolation result is output as final corrected color image data. It is a gist to provide a color correction unit for performing the above.

【0020】この画像処理装置に対応した画像処理方法
は、2次元以上の色空間における座標値により表現され
た多色の画像を色補正して出力する画像処理方法であっ
て、前記画像の各画素について、前記座標値を所定の階
調数を用いて表現したカラー画像データを入力し、前記
座標値を表現する前記階調数よりも少ない階調数により
前記色空間を分割し、かつ該色空間の所定の低濃度領域
では他の領域よりも該色空間を細かく分割し、該分割を
前記各次元について行なうことにより得られた格子点の
座標値を前記色空間について記憶し、該各格子点に対応
して、前記カラー画像データの色に関する補正データを
記憶した色補正テーブルを用意し、前記入力されたカラ
ー画像データの前記色空間内での座標値を、前記格子点
からの隔たりが平均的には所定値以下となる手法に従っ
て、前記記憶された格子点の座標値に変換し、該変換さ
れた座標値に対応した格子点の補正データを、前記色補
正テーブルから読み出し、該読み出された格子点の補正
データのうち主要色に対応した値を選択し、主要色毎
に、前記格子点から前記主要色に対応した座標値だけが
シフトした隣接格子点の補正データのうち当該主要色に
対応した値を読み出し、該両値を用いて補間を行ない、
前記主要色についての補正データを該補間結果に置き換
えた前記補正データを最終的な補正済みのカラー画像デ
ータとして出力することを要旨としている。
An image processing method compatible with this image processing apparatus is an image processing method for color-correcting and outputting a multi-color image represented by coordinate values in a two-dimensional or more-dimensional color space. For the pixel, color image data in which the coordinate value is expressed using a predetermined number of gradations is input, the color space is divided by the number of gradations smaller than the number of gradations expressing the coordinate value, and In the predetermined low-density area of the color space, the color space is divided into smaller areas than other areas, and the coordinate values of the grid points obtained by performing the division for each of the dimensions are stored for the color space. A color correction table that stores correction data relating to the color of the color image data is prepared corresponding to the grid points, and the coordinate values of the input color image data in the color space are separated from the grid points. Is flat Specifically, the coordinate values of the stored grid points are converted in accordance with a method of being a predetermined value or less, and the correction data of the grid points corresponding to the converted coordinate values are read from the color correction table and read out. A value corresponding to the main color is selected from the correction data of the selected grid points, and the main data of the correction data of the adjacent grid points in which only the coordinate values corresponding to the main color are shifted from the grid point for each main color Read the value corresponding to the color and perform interpolation using both values.
The gist is that the correction data obtained by replacing the correction data for the main color with the interpolation result is output as final corrected color image data.

【0021】この画像処理装置および画像処理方法によ
れば、第一の画像処理装置および画像処理方法と同様、
低濃度領域での画像の品質の劣化の少ない良好な結果が
得られる。更に、第二の技術では、色補正テーブルから
読み出した補正データを用いて、主要色のみ補間を行な
うために、演算の複雑化を実質的に引き起こすこなく、
色空間内の座標値の格子点の座標値への変換を行なうこ
とによる画質の劣化を抑制できる。この補間の処理は、
プレ階調数変換の量子化誤差の影響が問題となる低濃度
領域だけで行なってもよい。
According to this image processing apparatus and image processing method, like the first image processing apparatus and image processing method,
Good results can be obtained with less deterioration of image quality in the low density region. Furthermore, in the second technique, using the correction data read from the color correction table, interpolation is performed only for the main colors, so that there is no substantial complication of calculation,
It is possible to suppress deterioration of image quality due to conversion of coordinate values in the color space into coordinate values of grid points. The process of this interpolation is
The pre-gradation number conversion may be performed only in the low density region where the influence of the quantization error causes a problem.

【0022】主要色についてのみ行なわれる補間の処理
としては、線形補間などの単純に一次元の補間演算とす
ることができる。座標値の変換は、本来格子点からの隔
たりが平均的には所定値以下となるよう行なわれている
から、単純な補間演算でも、その効果は十分に得られる
からである。もとより、隣接する他の格子点の座標値を
用いた高次の補間演算を行なうことも差し支えない。
The interpolation process performed only for the main colors may be a simple one-dimensional interpolation operation such as linear interpolation. This is because the coordinate value conversion is originally performed so that the distance from the grid point is, on average, less than or equal to a predetermined value, so that the effect can be sufficiently obtained even by a simple interpolation calculation. Of course, there is no problem in performing high-order interpolation calculation using the coordinate values of other adjacent grid points.

【0023】こうした画像処理装置において、カラー画
像データの座標値が、カラー画像データの各色成分の濃
度に対応した値として定義されており、前記格子点変換
手段が、格子点座標の変換を階調数変換として行なう第
1の階調数変換手段であり、更に、前記色補正手段より
出力された補正済みのカラー画像データの各色成分毎の
階調数を、画像出力装置に適した階調数に階調数変換す
る第2の階調数変換手段を備え、前記第1の階調数変換
手段による座標値の変換によって得られる階調数が、前
記第2の階調数変換手段により変換された後の階調数よ
り大きいものとすることができる。
In such an image processing apparatus, the coordinate value of the color image data is defined as a value corresponding to the density of each color component of the color image data, and the grid point conversion means performs gradation conversion of the grid point coordinate. The first gradation number converting means performs the number conversion, and the number of gradations for each color component of the corrected color image data output from the color correcting means is the number of gradations suitable for the image output device. Second gradation number converting means for converting the number of gradations, and the number of gradations obtained by converting the coordinate values by the first gradation number converting means is converted by the second gradation number converting means. The number of gradations after being processed can be larger.

【0024】本発明の第3の画像処理装置は、2次元以
上の色空間における座標値により表現された多色の画像
を色補正して出力する画像処理装置であって、前記画像
の各画素について、前記座標値を所定の階調数で表現し
たカラー画像データを入力する入力手段と、前記座標値
を表現する前記階調数よりも小さな階調数により前記色
空間を分割し、該分割を前記各次元について行なうこと
より得られた格子点の座標値を前記色空間について記憶
した格子点情報記憶手段と、該各格子点に対応して、前
記カラー画像データの色に関する補正データを記憶した
色補正テーブルと、前記入力されたカラー画像データの
前記色空間内での座標値を、前記格子点からの隔たりが
平均的には所定値以下となる手法に従って、前記格子点
情報記憶手段に記憶された格子点の座標値に変換する格
子点変換手段と、該変換された座標値に対応した格子点
の補正データを、前記色補正テーブルから読み出す色補
正データ読出手段と、該色補正データ読出手段が読み出
した各画素の補正データを、該各画素の近傍の画素の補
正データに基づいて平均化する処理を行なう平均化処理
手段とを備えたことを要旨としている。
A third image processing apparatus of the present invention is an image processing apparatus for color-correcting and outputting a multicolor image represented by coordinate values in a color space of two or more dimensions, and each pixel of the image. With respect to, the color space is divided by input means for inputting color image data in which the coordinate values are expressed in a predetermined gradation number, and the color space is divided by a gradation number smaller than the gradation number expressing the coordinate values. For each of the dimensions, the coordinate values of the grid points are stored in the color space, and the correction data relating to the color of the color image data is stored corresponding to each grid point. The color correction table and the coordinate values of the input color image data in the color space are stored in the grid point information storage means according to a method in which the distance from the grid points is not more than a predetermined value on average. Record Grid point conversion means for converting the coordinate values of the selected grid points, color correction data reading means for reading the correction data of the grid points corresponding to the converted coordinate values from the color correction table, and the color correction data reading The gist is that it is provided with an averaging processing means for averaging the correction data of each pixel read by the means based on the correction data of the pixels in the vicinity of each pixel.

【0025】また、この画像処理装置に対応した画像処
理方法は、2次元以上の色空間における座標値により表
現された多色の画像を色補正して出力する画像処理方法
であって、前記画像の各画素について、前記座標値を所
定の階調数で表現したカラー画像データを入力し、前記
座標値を表現する前記階調数よりも小さな階調数により
前記色空間を分割し、該分割を前記各次元について行な
うことより得られた格子点の座標値を前記色空間につい
て記憶し、該各格子点に対応して、前記カラー画像デー
タの色に関する補正データを記憶した色補正テーブルを
用意し、前記入力されたカラー画像データの前記色空間
内での座標値を、前記格子点からの隔たりが平均的には
所定値以下となる手法に従って、前記記憶された格子点
の座標値に変換し、該変換された座標値に対応した格子
点の補正データを、前記色補正テーブルから読み出し、
該読み出した各画素の補正データを、該各画素の近傍の
画素の補正データに基づいて平均化する処理を行なうこ
とを要旨としている。
An image processing method compatible with this image processing apparatus is an image processing method for color-correcting and outputting a multi-color image represented by coordinate values in a two-dimensional or more color space. For each pixel, color image data in which the coordinate value is expressed in a predetermined gradation number is input, the color space is divided by a gradation number smaller than the gradation number expressing the coordinate value, and the division is performed. The coordinate values of the grid points obtained by performing the above for each of the dimensions are stored in the color space, and a color correction table storing correction data relating to the color of the color image data is prepared corresponding to each of the grid points. Then, the coordinate value of the input color image data in the color space is converted into the coordinate value of the stored grid point according to a method in which the distance from the grid point is not more than a predetermined value on average. Shi The correction data of the lattice point corresponding to the converted coordinate value is read from the color correction table,
The gist is to perform a process of averaging the read correction data of each pixel based on the correction data of pixels in the vicinity of each pixel.

【0026】この画像処理装置および画像処理方法によ
れば、色空間内の座標値を格子点の座標値に変換する手
法により、従来の複雑な補間演算を省略することがで
き、良好な色再生が得られる。更に、色補正後の補正デ
ータに対して、近傍の画素の補正データに基づく平均化
の処理(スムージング処理)を施すことにより、各画素
の座標値を格子点の座標値に変換したことによる画質の
劣化を抑制できる。このスムージング処理は、かかる座
標値の変換の量子化誤差の影響が問題となる低濃度領域
だけで行なってもよい。
According to the image processing apparatus and the image processing method, the conventional complicated interpolation calculation can be omitted by the method of converting the coordinate value in the color space into the coordinate value of the grid point, and the good color reproduction can be realized. Is obtained. Further, the correction data after color correction is subjected to an averaging process (smoothing process) based on the correction data of neighboring pixels to convert the coordinate value of each pixel into the coordinate value of the grid point. Can be suppressed. This smoothing process may be performed only in the low density region where the influence of the quantization error in the conversion of the coordinate values poses a problem.

【0027】この画像処により出力される画像データの
階調数は、画像出力装置に適した最終的な階調数よりも
多いことが望ましい。その場合、この画像データは最終
的な階調数へと更に階調数変換された後に画像出力装置
に与えられることになるが、上記の格子点への割付によ
る階調数変換の量子化誤差は、出力装置に適した最終的
な階調数への変換により小さくなる。結果として、格子
点への割り付けによる階調数変換を導入したことによる
画質の劣化が抑制される。この点は、第1の画像処理装
置および画像処理方法と同様である。
It is desirable that the number of gradations of the image data output by this image processing is larger than the final number of gradations suitable for the image output device. In this case, this image data is given to the image output device after being further converted into the final gradation number, but the quantization error of the gradation number conversion due to the above-mentioned allocation to the grid points. Becomes smaller by conversion to the final gradation number suitable for the output device. As a result, deterioration in image quality due to the introduction of gradation number conversion by allocation to grid points is suppressed. This point is the same as the first image processing apparatus and the image processing method.

【0028】上述した画像座標値の格子点の座標値への
変換は、誤差拡散の手法を用いて行なうことができる。
また、分散型ディザの閾値マトリックスを用いて格子点
の座標を変換することも可能である。これらの手法によ
れば、量子化誤差を適正に分散することができる。更
に、いずれの手法を用いるかを画像の性質などに基づい
て切り換える構成とすることも可能である。誤差拡散の
手法は、誤差の分散性に優れるが、一般に演算処理が増
える。他方、高速処理の点では、分散型ディザの手法が
勝る。したがって、両者の手法を切り換えて、それぞれ
の特徴を生かすことも望ましい。この場合、上記の平均
化処理は、誤差拡散の手法が用いられる場合でかつ画像
データの濃度が低い領域で行なうものとすることもでき
る。
The above-mentioned conversion of the image coordinate value to the coordinate value of the grid point can be performed by using an error diffusion method.
It is also possible to transform the coordinates of the lattice points using a threshold matrix of distributed dither. According to these methods, the quantization error can be properly dispersed. Further, it is also possible to adopt a configuration in which which method is used is switched based on the nature of the image. The error diffusion method is excellent in the dispersibility of errors, but generally requires more calculation processing. On the other hand, the distributed dither method is superior in terms of high-speed processing. Therefore, it is also desirable to switch between the two methods and make the best use of their respective characteristics. In this case, the averaging process may be performed in a region where the density of image data is low and when the error diffusion method is used.

【0029】上記の平均化の処理を行なう場合の平均化
の対象となる画素としては、様々なものを考えることが
できる。例えば、平均化の処理を行なう場合の近傍の画
素を、カラー画像データを入力する方向に沿った隣接画
素とすることができる。通常は画像データの入力順に画
像の処理を行なうので、その入力方向に沿った隣接画素
とすれば、処理が容易となる。入力方向に沿った隣接画
素としては、入力する方向において手前側の画素を用い
ることもできるし、後ろ側の画素を用いることもでき
る。更に、前後に両側の隣接画素との平均を取ることも
可能である。また、平均化の処理を行なう近傍の画素と
しては、カラー画像データを入力する方向に隣接する画
素およびこの方向に交差する方向の画素を用いることも
できる。なお、平均化の処理としては、単純な平均値の
他に所定の重み付けを行なった加重平均値を用いること
も可能である。
Various pixels can be considered as the pixels to be averaged when the above averaging process is performed. For example, neighboring pixels in the case of performing the averaging process may be adjacent pixels along the direction in which the color image data is input. Normally, the image processing is performed in the order in which the image data is input. Therefore, if the pixels are adjacent pixels along the input direction, the processing becomes easy. As the adjacent pixel along the input direction, the pixel on the front side in the input direction may be used, or the pixel on the rear side may be used. Furthermore, it is also possible to take the average of adjacent pixels on both sides in the front and back. Further, as the neighboring pixels for which the averaging process is performed, it is possible to use pixels adjacent to each other in the direction of inputting the color image data and pixels in the direction intersecting with each other. As the averaging process, it is possible to use a weighted average value with a predetermined weighting, in addition to the simple average value.

【0030】ここで、カラー画像データの座標値が、該
カラー画像データの各色成分の濃度に対応した値として
定義されており、前記格子点変換手段が、格子点座標の
変換が階調数変換として行なう第1の階調数変換手段で
あり、更に、前記色補正手段より出力された補正済みの
カラー画像データの各色成分毎の階調数を、画像出力装
置に適した階調数に階調数変換する第2の階調数変換手
段を備え、前記第1の階調数変換手段による座標値の変
換によって得られる階調数が、前記第2の階調数変換手
段により変換された後の階調数より大きいものとするこ
とがでる。この場合には、第1の階調数変換手段による
量子化誤差が、第2の階調数変換手段による階調数の変
換により小さくされ、前者の量子化誤差による画質の劣
化の影響は小さくなる。
Here, the coordinate value of the color image data is defined as a value corresponding to the density of each color component of the color image data, and the grid point conversion means converts the grid point coordinate to the gradation number conversion. And a gradation number for each color component of the corrected color image data output from the color correcting unit to a gradation number suitable for the image output device. A second gradation number converting means for performing a gradation conversion is provided, and the gradation number obtained by the conversion of the coordinate values by the first gradation number converting means is converted by the second gradation number converting means. The number of gradations can be larger than the number of gradations later. In this case, the quantization error by the first gradation number conversion means is reduced by the conversion of the gradation number by the second gradation number conversion means, and the influence of deterioration of the image quality due to the former quantization error is small. Become.

【0031】ここで、第2の階調数変換手段を、2値化
を行ない、2値化されたドットの分布密度により階調を
表現する手段とし、平均化処理手段を、2値化されたド
ットの密度が所定値以下の場合に、平均化の処理を行な
う手段とすることができる。2値化を行なう画像出力装
置の場合には、ドットの密度により濃度を表現するの
で、密度が所定値以下の場合に平均化を行なうものとす
れば、低濃度領域での画像品質の劣化を防止することが
できる。
Here, the second gradation number conversion means is a means for binarizing and expressing gradation by the binarized distribution density of the dots, and the averaging means is binarized. When the dot density is less than or equal to a predetermined value, the averaging process can be performed. In the case of an image output device that performs binarization, since the density is expressed by the density of dots, if the averaging is performed when the density is below a predetermined value, the deterioration of the image quality in the low density area will occur. Can be prevented.

【0032】更に、こうした画像処理装置において平均
化処理手段に、色補正データ読出手段により読み出した
色補正データを、隣接する画素の色補正データとを比較
する手段を設け、比較された両色補正データの相違が所
定値以下の場合に、平均化の処理を行なうものとするこ
とができる。平均化の処理は、一律に行なえば画像のシ
ャープさを失う結果になりやすい。もともとエッジのあ
る場所では、隣接する画素の色は大きく隔たっているこ
とが多いから、色補正データの相違が所定値以下の場合
に平均化を行なうものとすれば、画像本来のエッジでは
平均化の処理は行なわれず、画質のなめらかさとシャー
プさを両立させることができる。
Further, in such an image processing apparatus, the averaging processing means is provided with means for comparing the color correction data read by the color correction data reading means with the color correction data of the adjacent pixels, and the compared both color corrections are performed. The averaging process may be performed when the difference between the data is less than or equal to a predetermined value. If the averaging process is performed uniformly, the sharpness of the image tends to be lost. In the place where an edge is originally present, the colors of adjacent pixels are often widely separated, so if averaging is performed when the difference in color correction data is less than or equal to a predetermined value, the original edge of the image is averaged. Is not performed, and the smoothness and sharpness of the image quality can both be achieved.

【0033】また、こうした平均化の処理を行なうか否
かは、カラー画像データを構成する各色の少なくとも一
つの色について判断するものとし、この色についての判
断に基づいて各色毎に平均化の処理を行なうものとして
も良い。
Whether or not to perform such averaging processing is determined for at least one of the colors forming the color image data, and the averaging processing is performed for each color based on the determination for this color. May be performed.

【0034】あるいは、近接する画素について入力され
たカラー画像データの色空間内での隔たりが所定距離以
下であると推定される場合に、平均化の処理を行なうも
のとしても良い。
Alternatively, the averaging process may be performed when it is estimated that the distances in the color space of the color image data input to the adjacent pixels are equal to or less than the predetermined distance.

【0035】カラー画像データの色空間内での隔たりが
所定距離以下であるか否かの推定は、様々な判断手法を
考えることができる。例えば、近接する画素について格
子点変換手段により変換された後の格子点が少なくとも
隣接する場合に、この近接する画素間の隔たりが所定距
離以下であるとの推定することができる。また、近接す
る画素についてのカラー画像データが、共に、格子点情
報記憶手段が記憶している格子点が形成する単位空間に
含まれる場合に、近接する画素間の隔たりが所定距離以
下であるとの推定することもできる。原画像において同
一またはほぼ同じ色であった画素が、格子点変換手段に
より変換された結果、異なる格子点に割り当てられた場
合に、平均化の処理を行なうことが、画像の細かさや解
像度を失うことなく画質の改善を図ることになるからで
ある。
Various judgment methods can be used for estimating whether or not the separation of the color image data in the color space is less than or equal to a predetermined distance. For example, when the neighboring pixels are at least adjacent to the lattice points after being transformed by the lattice point converting means, it can be estimated that the distance between the neighboring pixels is less than or equal to a predetermined distance. Further, when the color image data of the adjacent pixels are both included in the unit space formed by the lattice points stored in the lattice point information storage means, the distance between the adjacent pixels is less than or equal to a predetermined distance. Can also be estimated. When pixels having the same or substantially the same color in the original image are assigned to different lattice points as a result of being transformed by the lattice point transforming means, the averaging process loses the fineness and resolution of the image. This is because the image quality will be improved without any effort.

【0036】カラー画像データにおける近接する画素の
色空間内での隔たりが所定距離以下であると推定された
場合に、平均化の処理についての他の実行条件の成立を
判断し、該近接する二つの画素の隔たりが所定距離以下
であると判断され、かつ他の実行条件が成立していると
判断した場合のみ、前記平均化の処理を行なうものとす
ることができる。他の実行条件としては、画像データが
所定の濃度以下である場合等、種々の条件を考えること
ができる。
When it is estimated that the distance between adjacent pixels in the color image data in the color space is less than the predetermined distance, it is determined whether another execution condition for the averaging process is satisfied, and the two adjacent pixels are judged. The averaging process can be performed only when it is determined that the distance between two pixels is less than or equal to the predetermined distance and the other execution conditions are satisfied. As other execution conditions, various conditions can be considered, such as when the image data has a predetermined density or less.

【0037】こうした平均化処理を行なう画像処理装置
においても、格子点情報記憶手段が、格子点の座標を、
色空間の所定の低濃度領域では他の領域よりも色空間を
細かく分割して記憶するものとすることができる。この
結果、低濃度領域での画質は一層良好なものとなる。
Also in the image processing apparatus for performing such averaging processing, the grid point information storage means stores the coordinates of grid points
In a predetermined low-density area of the color space, the color space may be divided into smaller areas than other areas and stored. As a result, the image quality in the low density region is further improved.

【0038】更に、本発明の第4の画像処理装置は、2
次元以上の色空間における座標値により表現された多色
の画像を色補正して出力する画像処理装置であって、前
記画像の各画素について、前記座標値を所定の階調数で
表現したカラー画像データを入力する入力手段と、前記
座標値を表現する前記階調数よりも小さな階調数により
前記色空間を分割し、該分割を前記各次元について行な
うことより得られた格子点の座標値を前記色空間につい
て記憶した格子点情報記憶手段と、該各格子点に対応し
て、前記カラー画像データの色に関する補正データを記
憶した色補正テーブルと、前記入力されたカラー画像デ
ータの前記色空間内での座標値を、前記格子点からの隔
たりが平均的には所定値以下となる手法に従って、前記
格子点情報記憶手段に記憶された格子点の座標値に変換
する格子点変換手段と、該変換された座標値に対応した
格子点の補正データを、前記色補正テーブルから読み出
す色補正データ読出手段と、該読み出された格子点の補
正データのうち主要色に対応した値を選択し、主要色毎
に、前記格子点から前記主要色に対応した座標値だけが
シフトした隣接格子点の補正データのうち当該主要色に
対応した値を読み出し、該両値を用いて補間を行ない、
前記主要色についての補正データを該補間結果に置き換
えた前記補正データを出力する色補正手段とを備えたこ
とを要旨とする。
Furthermore, the fourth image processing apparatus of the present invention is
An image processing apparatus for color-correcting and outputting a multi-color image represented by coordinate values in a color space of three dimensions or more, wherein a color in which the coordinate value is represented by a predetermined gradation number for each pixel of the image. Input means for inputting image data and coordinates of grid points obtained by dividing the color space by a number of gradations smaller than the number of gradations expressing the coordinate values and performing the division for each dimension. Grid point information storage means that stores values for the color space; a color correction table that stores correction data relating to the color of the color image data corresponding to each grid point; and the color image data of the input color image data. A grid point converter for converting the coordinate values in the color space into the coordinate values of the grid points stored in the grid point information storage means according to a method in which the distance from the grid points is, on average, a predetermined value or less. A color correction data reading means for reading the correction data of the grid points corresponding to the converted coordinate values from the color correction table; and a value corresponding to the main color of the read correction data of the grid points. For each main color, the value corresponding to the main color is read out from the correction data of the adjacent grid points in which only the coordinate values corresponding to the main color are shifted from the grid point, and interpolation is performed using both values. Done,
The gist of the present invention is to provide a color correction unit that outputs the correction data in which the correction data for the main color is replaced with the interpolation result.

【0039】また、この画像処理装置に対応した画像処
理方法は、2次元以上の色空間における座標値により表
現された多色の画像を色補正して出力する画像処理方法
であって、前記画像の各画素について、前記座標値を所
定の階調数で表現したカラー画像データを入力し、前記
座標値を表現する前記階調数よりも小さな階調数により
前記色空間を分割し、該分割を前記各次元について行な
うことより得られた格子点の座標値を前記色空間につい
て記憶し、該各格子点に対応して、前記カラー画像デー
タの色に関する補正データを記憶した色補正テーブルを
用意し、前記入力されたカラー画像データの前記色空間
内での座標値を、前記格子点からの隔たりが平均的には
所定値以下となる手法に従って、前記記憶された格子点
の座標値に変換し、該変換された座標値に対応した格子
点の補正データを、前記色補正テーブルから読み出し、
該読み出された格子点の補正データのうち主要色に対応
した値を選択し、主要色毎に、前記格子点から前記主要
色に対応した座標値だけがシフトした隣接格子点の補正
データのうち当該主要色に対応した値を読み出し、該両
値を用いて補間を行ない、前記主要色についての補正デ
ータを該補間結果に置き換えた前記補正データを出力し
を要旨としている。
An image processing method compatible with this image processing apparatus is an image processing method for color-correcting and outputting a multicolor image represented by coordinate values in a two-dimensional or more color space. For each pixel, color image data in which the coordinate value is expressed in a predetermined gradation number is input, the color space is divided by a gradation number smaller than the gradation number expressing the coordinate value, and the division is performed. The coordinate values of the grid points obtained by performing the above for each of the dimensions are stored in the color space, and a color correction table storing correction data relating to the color of the color image data is prepared corresponding to each of the grid points. Then, the coordinate value of the input color image data in the color space is converted into the coordinate value of the stored grid point according to a method in which the distance from the grid point is not more than a predetermined value on average. Shi The correction data of the lattice point corresponding to the converted coordinate value is read from the color correction table,
A value corresponding to the main color is selected from the correction data of the read grid points, and the correction data of the adjacent grid points in which only the coordinate values corresponding to the main color are shifted from the grid point for each main color The gist is to read out the value corresponding to the main color, interpolate using the both values, and output the correction data in which the correction data for the main color is replaced with the interpolation result.

【0040】この画像処理の手法によれば、主要色につ
いてのみ補間演算を行なうので、演算量が少なくて済
み、かつ補間により主要色についての量子化誤差を解消
する。したがって、処理速度を徒に低下することなく、
視認される画質の劣化を最小限に押さえことができる。
According to this image processing method, since the interpolation calculation is performed only for the main color, the amount of calculation is small, and the quantization error for the main color is eliminated by the interpolation. Therefore, without slowing down the processing speed,
It is possible to minimize the deterioration of the image quality that is visually recognized.

【0041】なお、上述した低濃度領域で細かく分割さ
れた格子点を用いた格子点変換と、主要色についての補
間処理と、近接する格子点間における平均化処理とを、
併せて行なうことも可能である。この場合には、それぞ
れの利点を生かして、演算に要する時間を短くでき、か
つ格子点変換による画質の劣化を最小限に押さえること
ができる。
The grid point conversion using the grid points finely divided in the low density area, the interpolation processing for the main color, and the averaging processing between the adjacent grid points are performed.
It is also possible to carry out together. In this case, the respective advantages can be utilized to shorten the time required for the calculation and to suppress the deterioration of the image quality due to the grid point conversion to the minimum.

【0042】[0042]

【発明の実施の形態】次に、本発明の画像処理装置の好
適な実施形態を、図面に基づき詳細に説明する。図1に
は、本発明の第1の実施の形態としての画像処理装置3
0を中心とするカラー画像処理システムの一例が示され
ている。この画像処理システムでは、スキャナなどの画
像入力装置10から出力される原カラー画像データOR
Gは、画像処理装置30へ入力される。画像処理装置3
0により処理された画像データは、最終的にはプリンタ
などの画像出力装置20に出力され、ここで最終的な画
像が得られる。実施の形態の説明が多岐に亘るため、 (1)画像処理装置のハードウェア (2)画像処理の概要−その1の順に説明し、更にここ
で、第1ないし第2実施例について説明する。その後、 (3)画像処理の概要−その2として、第3ないし第6
実施例について説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, preferred embodiments of the image processing apparatus of the present invention will be described in detail with reference to the drawings. FIG. 1 shows an image processing apparatus 3 as a first embodiment of the present invention.
An example of a zero-based color image processing system is shown. In this image processing system, the original color image data OR output from the image input device 10 such as a scanner is output.
G is input to the image processing device 30. Image processing device 3
The image data processed by 0 is finally output to the image output device 20 such as a printer, where a final image is obtained. Since the description of the embodiments is wide-ranging, (1) hardware of the image processing apparatus (2) outline of image processing-first, the description will be given in this order, and further, first and second examples will be described here. After that, (3) Outline of image processing-the second, third to sixth
Examples will be described.

【0043】(1)画像処理装置のハードウェア 画像処理装置30は、入力された原カラー画像データO
RGを画像出力装置20の色再現特性に合わせる画像処
理として、色補正と階調数変換を行なっている。色補正
は、例えばガンマ補正など、画像出力装置の出力特性を
補正する処理である。また、階調数変換とは、画像入力
装置10から出力されるカラー画像データORGの出力
可能な階調数に比べ、画像出力装置20の出力可能な階
調数が小さい場合には、色補正されたカラー画像データ
を、画像出力装置20に合わせた最終的な階調数に変換
する処理である。例えば、スキャナ等から読み込んだ画
像データORGが、R,G,Bの各色について階調数が
256(8ビット分)であり、画像出力装置20が、イ
ンクのオン・オフによる表現を行なうインクジェットプ
リンタであって、最終的な階調数が2であるという構成
があり得る。この場合、画像処理装置30は、256階
調の画像データを2階調に変換し、最終カラー画像デー
タFNLとして画像出力装置20へ向け出力する。な
お、以上の説明では、一括して階調数変換と呼んだが、
実際には、入力した原カラー画像データORGを色補正
前に階調数の少ない格子点に割り付けることにより階調
数を低減するプレ階調数変換と、色補正された後のデー
タをプリンタの表現可能な階調数に合わせて2値化する
いわゆるハーフトーン処理による階調数変換とを行なっ
ている。以下の説明では、前者をプレ階調数変換と、後
者をポスト階調数変換と呼ぶ。各階調数変換について
は、後で詳しく説明する。
(1) Hardware of Image Processing Device The image processing device 30 receives the input original color image data O
As image processing for matching RG with the color reproduction characteristics of the image output device 20, color correction and gradation number conversion are performed. The color correction is a process for correcting the output characteristics of the image output device, such as gamma correction. Further, the gradation number conversion means color correction when the number of gradations that can be output by the image output apparatus 20 is smaller than the number of gradations that can be output by the color image data ORG output from the image input apparatus 10. This is a process of converting the obtained color image data into a final number of gradations suitable for the image output device 20. For example, the image data ORG read from a scanner or the like has a gradation number of 256 (for 8 bits) for each color of R, G, B, and the image output device 20 performs an ink on / off ink jet printer. However, there may be a configuration in which the final number of gradations is two. In this case, the image processing device 30 converts the image data of 256 gradations into 2 gradations and outputs it as the final color image data FNL to the image output device 20. In the above explanation, the gradation number conversion is collectively called,
Actually, the pre-gradation number conversion for reducing the number of gradations by allocating the input original color image data ORG to the grid points having a small number of gradations before the color correction and the data after the color correction are stored in the printer. The gradation number conversion is performed by so-called halftone processing that binarizes in accordance with the expressible gradation number. In the following description, the former is called pre-gradation number conversion and the latter is called post-gradation number conversion. Each gradation number conversion will be described in detail later.

【0044】図2には、図1に示すカラー画像処理シス
テムの具体的な構成例を示すブロック図である。ここで
は、画像入力装置10としては、原稿からカラー画像を
光学的に読み取るスキャナ12が用いられている。スキ
ャナ12は、読み取ったカラー画像データを、R,G,
Bの3色の色成分からなる原カラー画像データORGと
して出力する。なお、実施例では、R,G,Bの各色
は、各8ビットのディジタルデータで表現されており、
階調数は256である。このケースでは、スキャナ12
は、R,G,Bの3原色により原カラー画像データを表
現するものとしており、各画素の色は、R,G,Bの各
色を座標軸とする三次元の色空間内のどこに位置するか
という形式、即ち座標値により表現されているが、他の
形式、例えばL*a*b*などいかなる表色系を採用し
ても、ある画素の色は、その色空間内のどこに位置する
か、即ち座標値として表現することができる。
FIG. 2 is a block diagram showing an example of a concrete configuration of the color image processing system shown in FIG. Here, as the image input device 10, a scanner 12 that optically reads a color image from a document is used. The scanner 12 converts the read color image data into R, G,
The original color image data ORG composed of the three color components B is output. In the embodiment, each color of R, G, B is represented by 8-bit digital data,
The number of gradations is 256. In this case, the scanner 12
Indicates that the primary color image data is represented by the three primary colors of R, G, B, and where the color of each pixel is located in the three-dimensional color space having the respective colors of R, G, B as coordinate axes. However, no matter what color system such as L * a * b * is adopted, where is the color of a pixel located in the color space? That is, it can be expressed as coordinate values.

【0045】なお、画像入力装置10としては、このよ
うなスキャナ12以外に、例えば、ビデオカメラ、コン
ピュータグラフィック作成用のホストコンピュータ、そ
の他の手段を用いることができる。
As the image input device 10, other than the scanner 12 as described above, for example, a video camera, a host computer for creating computer graphics, or other means can be used.

【0046】また、実施例の画像処理システムでは、画
像出力装置20として、画素単位での階調制御ができな
いカラープリンタ22が用いられている。このカラープ
リンタ22では、スキャナ12から出力される原カラー
画像データORGの各色成分の階調数を、各画素のオン
/オフに対応した2階調にまで減らす2値化処理が必要
となることは前述した。
Further, in the image processing system of the embodiment, as the image output device 20, the color printer 22 which cannot control the gradation in pixel units is used. The color printer 22 needs to be binarized to reduce the number of gradations of each color component of the original color image data ORG output from the scanner 12 to two gradations corresponding to ON / OFF of each pixel. Was mentioned above.

【0047】なお、画像出力装置20としては、これ以
外に、例えばカラーディスプレイ21等も用いることが
できる。コンピュータ用のカラーディスプレイ21など
では、通常の家庭用TVに比べ、表示可能な階調数が小
さなものが多い。このようなカラーディスプレイ21を
用いる場合でも、原カラー画像データORGの階調数
を、当該ディスプレイ21に対応した階調数に変換して
やる必要がある。
As the image output device 20, other than this, for example, a color display 21 or the like can be used. Many of the color displays 21 for computers and the like have a smaller number of gray scales that can be displayed as compared with a normal home TV. Even if such a color display 21 is used, it is necessary to convert the gradation number of the original color image data ORG into the gradation number corresponding to the display 21.

【0048】次に、画像処理装置30に相当する具体的
な構成について説明する。図2では、画像処理装置30
として、コンピュータ90を用いた構成を示している。
このコンピュータ90の内部には、図示しないCPU,
RAM,ROM等が備えられており、所定のオペレーテ
ィングシステムの元で、アプリケーションプログラム9
5が動作している。オペレーティングシステムには、ビ
デオドライバ91やプリンタドライバ96が組み込まれ
ており、アプリケーションプログラム95からはこれら
のドライバを介して、最終カラー画像データFNLが出
力されることになる。画像のレタッチなどを行なうアプ
リケーションプログラム95は、スキャナ12から画像
を読み込み、これに対して所定の処理を行ないつつビデ
オドライバ91を介してCRTディスプレイ93に画像
を表示している。このアプリケーションプログラム95
が、印刷命令を発行すると、コンピュータ90のプリン
タドライバ96が、画像情報をアプリケーションプログ
ラム95から受け取り、これをプリンタ22が印字可能
な信号(ここではCMYについての2値化された信号)
に変換している。図2に示した例では、プリンタドライ
バ96の内部には、アプリケーションプログラム95が
扱っているカラー画像データをドット単位の画像データ
に変換するラスタライザ97、ドット単位の画像データ
に対して画像出力装置(ここではプリンタ22)が使用
するインク色CMYおよび発色の特性に応じた色補正を
行なう色補正モジュール98、色補正モジュール98が
参照する色補正テーブルCT、色補正された後の画像情
報からドット単位でのインクの有無によってある面積で
の濃度を表現するいわゆるハーフトーンの画像情報を生
成するハーフトーンモジュール99が備えられている。
Next, a specific configuration corresponding to the image processing device 30 will be described. In FIG. 2, the image processing device 30
A configuration using the computer 90 is shown as.
Inside the computer 90, a CPU (not shown),
RAM, ROM, etc. are provided, and an application program 9 is provided under a predetermined operating system.
5 is working. A video driver 91 and a printer driver 96 are incorporated in the operating system, and the final color image data FNL is output from the application program 95 via these drivers. An application program 95 for retouching an image reads the image from the scanner 12, performs a predetermined process on the image, and displays the image on the CRT display 93 via the video driver 91. This application program 95
However, when the print command is issued, the printer driver 96 of the computer 90 receives the image information from the application program 95, and the printer 22 can print the signal (here, a binarized signal for CMY).
Has been converted to. In the example shown in FIG. 2, inside the printer driver 96, a rasterizer 97 for converting color image data handled by the application program 95 into image data in dot units, an image output device for image data in dot units ( Here, the color correction module 98 that performs color correction according to the ink colors CMY used by the printer 22) and the characteristics of color development, the color correction table CT referred to by the color correction module 98, the dot unit from the image information after color correction A halftone module 99 for generating so-called halftone image information that expresses the density in a certain area depending on the presence or absence of ink is provided.

【0049】既述したプレ階調数変換は、色補正モジュ
ール98により、ポスト階調数変換は、ハーフトーンモ
ジュール99により行なわれる。色補正モジュール98
での処理が、格子点変換処理に相当する。
The pre-gradation number conversion described above is performed by the color correction module 98, and the post-gradation number conversion is performed by the halftone module 99. Color correction module 98
The processing in (1) corresponds to the grid point conversion processing.

【0050】次に、出力装置であるプリンタ22の構造
について簡単に説明する。図3は、プリンタ22の概略
構成図である。図示するように、このプリンタ22は、
紙送りモータ23によって用紙Pを搬送する機構と、キ
ャリッジモータ24によってキャリッジ31をプラテン
26の軸方向に往復動させる機構と、キャリッジ31に
搭載された印字ヘッド28を駆動してインクの吐出およ
びドット形成を制御する機構と、これらの紙送りモータ
23,キャリッジモータ24,印字ヘッド28および操
作パネル32との信号のやり取りを司る制御回路40と
から構成されている。
Next, the structure of the printer 22, which is an output device, will be briefly described. FIG. 3 is a schematic configuration diagram of the printer 22. As shown, this printer 22
A mechanism for conveying the paper P by the paper feed motor 23, a mechanism for reciprocating the carriage 31 in the axial direction of the platen 26 by the carriage motor 24, and a print head 28 mounted on the carriage 31 for driving to eject ink and dots. It is composed of a mechanism for controlling the formation and a control circuit 40 for exchanging signals with the paper feed motor 23, the carriage motor 24, the print head 28 and the operation panel 32.

【0051】このプリンタ22のキャリッジ31には、
黒インク用のカートリッジ71とシアン,マゼンタ,イ
エロの3色のインクを収納したカラーインク用カートリ
ッジ72が搭載可能である。キャリッジ31の下部の印
字ヘッド28には計4個のインク吐出用ヘッド61ない
し64が形成されており、キャリッジ31の底部には、
この各色用ヘッドにインクタンクからのインクを導く導
入管65(図4参照)が立設されている。キャリッジ3
1に黒インク用のカートリッジ71およびカラーインク
用カートリッジ72を上方から装着すると、各カートリ
ッジに設けられた接続孔に導入管が挿入され、各インク
カートリッジから吐出用ヘッド61ないし64へのイン
クの供給が可能となる。
On the carriage 31 of the printer 22,
A black ink cartridge 71 and a color ink cartridge 72 containing cyan, magenta, and yellow inks can be mounted. A total of four ink ejection heads 61 to 64 are formed on the print head 28 below the carriage 31, and at the bottom of the carriage 31,
An introduction pipe 65 (see FIG. 4) that guides the ink from the ink tank is erected on the head for each color. Carriage 3
When the cartridge 71 for black ink and the cartridge 72 for color ink are mounted on the cartridge 1 from above, an inlet tube is inserted into a connection hole provided in each cartridge, and ink is supplied from each ink cartridge to the ejection heads 61 to 64. Becomes possible.

【0052】インクが吐出される機構を簡単に説明す
る。図4に示すように、インク用カートリッジ71,7
2がキャリッジ31に装着されると、毛細管現象を利用
してインク用カートリッジ内のインクが導入管65を介
して吸い出され、キャリッジ31下部に設けられた印字
ヘッド28の各色ヘッド61ないし64に導かれる。な
お、初めてインクカートリッジが装着されたときには、
専用のポンプによりインクを各色ヘッド61ないし64
に吸引する動作が行なわれるが、本実施例では吸引のた
めのポンプ、吸引時に印字ヘッド28を覆うキャップ等
の構成については図示および説明を省略する。
A mechanism for ejecting ink will be briefly described. As shown in FIG. 4, the ink cartridges 71, 7
When the cartridge 2 is mounted on the carriage 31, the ink in the ink cartridge is sucked out through the introduction pipe 65 by utilizing the capillary phenomenon, and is sent to the respective color heads 61 to 64 of the print head 28 provided below the carriage 31. Be guided. When the ink cartridge is installed for the first time,
Ink is supplied to each color head 61 to 64 by a dedicated pump.
However, in the present embodiment, illustration and description of the configuration of the pump for suction, the cap that covers the print head 28 during suction, and the like are omitted.

【0053】各色ヘッド61ないし64には、図4に示
したように、各色毎に32個のノズルnが設けられてお
り、各ノズル毎に電歪素子の一つであって応答性に優れ
たピエゾ素子PEが配置されている。ピエゾ素子PEと
ノズルnとの構造を詳細に示したのが、図5である。図
示するように、ピエゾ素子PEは、ノズルnまでインク
を導くインク通路80に接する位置に設置されている。
ピエゾ素子PEは、周知のように、電圧の印加により結
晶構造が歪み、極めて高速に電気−機械エネルギの変換
を行なう素子である。本実施例では、ピエゾ素子PEの
両端に設けられた電極間に所定時間幅の電圧を印加する
ことにより、図5下段に示すように、ピエゾ素子PEが
電圧の印加時間だけ伸張し、インク通路80の一側壁を
変形させる。この結果、インク通路80の体積は、ピエ
ゾ素子PEの伸張に応じて収縮し、この収縮分に相当す
るインクが、粒子Ipとなって、ノズルnの先端から高
速に吐出される。このインク粒子Ipがプラテン26に
装着された用紙Pに染み込むことにより、印刷が行なわ
れることになる。
As shown in FIG. 4, each color head 61 to 64 is provided with 32 nozzles n for each color, and each nozzle is one of the electrostrictive elements and is excellent in responsiveness. The piezo element PE is arranged. FIG. 5 shows the structure of the piezo element PE and the nozzle n in detail. As shown in the drawing, the piezo element PE is installed at a position in contact with an ink passage 80 that guides ink to the nozzle n.
As is well known, the piezo element PE is an element which has a crystal structure which is distorted by application of a voltage and which converts electric-mechanical energy at extremely high speed. In this embodiment, by applying a voltage having a predetermined time width between the electrodes provided at both ends of the piezo element PE, the piezo element PE expands for the voltage application time as shown in the lower part of FIG. One side wall 80 is deformed. As a result, the volume of the ink passage 80 contracts in accordance with the expansion of the piezo element PE, and the ink corresponding to this contraction becomes particles Ip and is ejected from the tip of the nozzle n at high speed. When the ink particles Ip soak into the paper P mounted on the platen 26, printing is performed.

【0054】以上説明したハードウェア構成を有するプ
リンタ22は、紙送りモータ23によりプラテン26そ
の他のローラを回転して用紙Pを搬送しつつ、キャリッ
ジ31をキャリッジモータ24により往復動させ、同時
に印字ヘッド28の各色ヘッド61ないし64のピエゾ
素子PEを駆動して、各色インクの吐出を行ない、用紙
P上に多色の画像を形成する。
In the printer 22 having the above-described hardware structure, the platen 26 and other rollers are rotated by the paper feed motor 23 to convey the paper P, while the carriage 31 is reciprocated by the carriage motor 24, and at the same time, the print head. The piezo elements PE of the 28 color heads 61 to 64 are driven to eject the respective color inks, thereby forming a multicolor image on the paper P.

【0055】用紙Pを搬送する機構は、紙送りモータ2
3の回転をプラテン26のみならず、図示しない用紙搬
送ローラに伝達するギヤトレインを備える(図示省
略)。また、キャリッジ31を往復動させる機構は、プ
ラテン26の軸と並行に架設されキャリッジ31を摺動
可能に保持する摺動軸34と、キャリッジモータ24と
の間に無端の駆動ベルト36を張設するプーリ38と、
キャリッジ31の原点位置を検出する位置検出センサ3
9等から構成されている。
The mechanism for conveying the paper P is the paper feed motor 2
A gear train (not shown) for transmitting the rotation of No. 3 not only to the platen 26 but also to a paper transport roller (not shown) is provided. Further, the mechanism for reciprocating the carriage 31 is such that an endless drive belt 36 is stretched between a carriage shaft 24 and a slide shaft 34 that is installed in parallel with the shaft of the platen 26 and slidably holds the carriage 31. Pulley 38 to
Position detection sensor 3 for detecting the origin position of carriage 31
9 and so on.

【0056】制御回路40の内部には、図示しないCP
Uなどが備えられているが、プリンタ22の出力特性に
応じた色補正などは、コンピュータ90内部で処理され
ており、プリンタ22では、階調数の変換や色補正など
に関する処理は一切行なわれていない。プリンタ22の
内部で実行される処理は、コンピュータ90から出力さ
れるデータを受け取って、上述した紙送りとキャリッジ
31の往復動作に同期して、印字ヘッド28の各色ピエ
ゾ素子PEを駆動するだけである。したがって、プリン
タ22の制御回路40の詳細な説明やその処理について
は、説明を省略する。
A CP (not shown) is provided inside the control circuit 40.
Although U and the like are provided, color correction and the like according to the output characteristics of the printer 22 are processed inside the computer 90, and the printer 22 does not perform any processing relating to conversion of the number of gradations or color correction. Not not. The processing executed inside the printer 22 is only required to receive the data output from the computer 90 and drive the piezo elements PE of each color of the print head 28 in synchronization with the above-described paper feeding and the reciprocating movement of the carriage 31. is there. Therefore, detailed description of the control circuit 40 of the printer 22 and its processing will be omitted.

【0057】(2)画像処理の概要 次に、画像処理の概要について説明する。本実施の形態
で採用した画像処理は、プレ階調数変換、色補正、ホス
ト階調数変換と多岐に亘る。また、それらの処理のバリ
エーションも、誤差拡散法、平均誤差最小法、組織的デ
ィザ法、あるいはソフトウェアによる色補正,ハードウ
ェアによる色補正など、極めて多いので、説明の便を図
って、次の順に説明する。 [A]画像処理のアウトライン [B]第1ないし第7実施例に共通する画像処理の概要 [C]第1ないし第3実施例に共通する画像処理の詳細 [D]第1ないし第3実施例 [E]第4ないし第7実施例に共通する画像処理の詳細 [F]第4ないし第7実施例
(2) Outline of Image Processing Next, an outline of image processing will be described. The image processing adopted in the present embodiment covers a wide range, such as pre-gradation number conversion, color correction, and host gradation number conversion. In addition, there are many variations of these processes such as the error diffusion method, the minimum mean error method, the systematic dither method, the color correction by software, the color correction by hardware, etc. explain. [A] Outline of Image Processing [B] Outline of Image Processing Common to First to Seventh Embodiments [C] Details of Image Processing Common to First to Third Embodiments [D] First to Third Embodiments Example [E] Details of Image Processing Common to Fourth to Seventh Embodiments [F] Fourth to Seventh Embodiments

【0058】[A]画像処理のアウトライン コンピュータ90内部の色補正モジュール98が参照す
る補正テーブルCTは、図6に示すように、R,G,B
の3色から構成される3次元色空間を格子状に分割した
色テーブルである。このテーブルCTは、プリンタドラ
イバ96がオペレーティングシステムに組み込まれる
際、例えばハードディスクから読み出され、コンピュー
タのRAMに展開される。この色テーブルの各格子点に
は、例えばスキャナ12などの読み取り用カラー原稿
と、例えばカラープリンタ22を用いて記録紙上に印字
された出力カラー画像とが等しい色になるように、各格
子点のR,G,Bの階調値データを階調値変換したCM
Y色の階調補正データが記憶されている。
[A] Outline of Image Processing The correction table CT referred to by the color correction module 98 inside the computer 90 is R, G, B as shown in FIG.
3 is a color table in which a three-dimensional color space composed of three colors is divided into a grid pattern. When the printer driver 96 is installed in the operating system, this table CT is read from, for example, the hard disk and expanded in the RAM of the computer. At each grid point of this color table, for example, a color original for reading such as the scanner 12 and an output color image printed on a recording paper using, for example, the color printer 22 have the same color. CM in which gradation value data of R, G, B is converted into gradation values
Y color gradation correction data is stored.

【0059】コンピュータ90は、スキャナ12から入
力される原カラー画像データORGに対し、補正テーブ
ルCTに記憶された補正データを用い補正処理を行ない
(プレ階調数変換)、さらに色補正されたカラーデータ
を、例えばカラープリンタ22などの画像出力装置20
の階調数Nに合わせた最終的な階調数に変換するポスト
階調数変換処理を行なうことは、上述した通りである。
このようにして変換処理された最終的なカラー画像デー
タFNLは、そのままカラープリンタ22へ向け出力し
てもよく、また、コンピュータ90のメモリ内に、一画
面分の最終カラー画像データFNLとして記憶し、その
後カラープリンタ22に出力するようにしてもよい。
The computer 90 performs correction processing (pre-gradation number conversion) on the original color image data ORG input from the scanner 12 using the correction data stored in the correction table CT, and the color corrected color is further corrected. The data is transferred to the image output device 20 such as a color printer 22.
The post-gradation number conversion processing for converting the final gradation number in accordance with the gradation number N is performed as described above.
The final color image data FNL converted in this way may be directly output to the color printer 22, or may be stored in the memory of the computer 90 as the final color image data FNL for one screen. After that, the data may be output to the color printer 22.

【0060】[B]第1ないし第8実施例に共通する画
像処理の概要 図7には、コンピュータ90の色補正モジュール98と
ハーフトーンモジュール99とにより実現される画像処
理装置30の機能ブロック図が示されている。この画像
処理装置30は、図7では、プレ階調数変換部140
と、色補正部142と、ポスト階調数変換部146と、
前述した色補正テーブルCTを格納した色補正テーブル
メモリ134とから構成されるものとしている。まず、
前記色補正テーブルメモリ134に記憶された補正デー
タについて説明する。
[B] Outline of Image Processing Common to First to Eighth Embodiments FIG. 7 is a functional block diagram of the image processing apparatus 30 realized by the color correction module 98 and the halftone module 99 of the computer 90. It is shown. In FIG. 7, the image processing device 30 includes a pre-gradation number conversion unit 140.
A color correction unit 142, a post gradation number conversion unit 146,
The color correction table memory 134 stores the above-mentioned color correction table CT. First,
The correction data stored in the color correction table memory 134 will be described.

【0061】図6に示したよう、入力される原カラー画
像データORGは、R,G,Bの各色成分に対応した座
標軸をもつ色空間における座標値として定義される。各
座標軸は、各色成分の階調数を座標値として設定してい
る。そして、この色空間を格子状に分割して、各格子点
300毎に、各色成分の補正データを格納している。
As shown in FIG. 6, the input original color image data ORG is defined as a coordinate value in a color space having coordinate axes corresponding to R, G, and B color components. For each coordinate axis, the number of gradations of each color component is set as a coordinate value. Then, this color space is divided into a grid shape, and the correction data of each color component is stored for each grid point 300.

【0062】色補正テーブルメモリ134内に格納する
補正データの決定手法にはいろいろある。それを決定
し、テーブルCT内に格納する工程に関して簡単に説明
する。通常は、まず、対象とする出力系(例えばカラー
プリンタ22)にいろいろなR,G,B値を与えて実際
に出力された結果を色測定する。そして、出力系に与え
たR,G,Bの値と、出力結果を測定して得られたR,
G,Bの値との対応関係を調べる。なお、プリンタ22
における実際のインク色はCMYであるが、ここでは説
明を簡略にするため、総てR,G,Bで扱う。R,G,
BからC,M,Yへの変換についても、後で詳しく説明
する。
There are various methods for determining the correction data to be stored in the color correction table memory 134. The process of determining it and storing it in the table CT will be briefly described. Usually, first, various R, G, and B values are given to a target output system (for example, the color printer 22), and the actually output result is subjected to color measurement. Then, the values of R, G, B given to the output system and the R, G obtained by measuring the output result
Check the correspondence with the values of G and B. The printer 22
The actual ink color in C. is CMY, but here, in order to simplify the explanation, all are treated as R, G, and B. R, G,
The conversion from B to C, M, Y will also be described in detail later.

【0063】次に、その対応関係を逆にみて、対応する
色を得たい場合に必要なR,G,Bの各色成分の階調数
補正データを各格子点300毎に調べ、これを補正デー
タとして色補正テーブルメモリ134内に格納する。
Next, looking at the correspondence relationship in reverse, the gradation number correction data of each color component of R, G, B necessary for obtaining the corresponding color is examined for each grid point 300 and corrected. The data is stored in the color correction table memory 134 as data.

【0064】このようにして色補正テーブルメモリ13
4内には、各格子点300毎に対応する色補正結果が記
憶されることとなる。前記色空間は、分割数が多いほど
画質が向上するが、半面、色補正テーブルメモリ134
の容量が大きくなるので、色補正テーブルの容量と画質
のバランスから適当な分割数を決定する。
In this way, the color correction table memory 13
In 4, the color correction result corresponding to each grid point 300 is stored. Although the image quality of the color space improves as the number of divisions increases, the color correction table memory 134
Therefore, the appropriate number of divisions is determined from the balance between the color correction table capacity and the image quality.

【0065】実施形態の画像処理装置30は、このよう
にして色補正テーブルメモリ134内に記憶された補正
データを用い、原カラー画像データORGに対する画像
処理を次のようにして行う。
The image processing apparatus 30 of the embodiment uses the correction data thus stored in the color correction table memory 134 to perform the image processing on the original color image data ORG as follows.

【0066】まず、プレ階調数変換部140は、所定の
階調数変換手法を用い、原カラー画像データORGの
R,G,Bの色成分の階調数を、図6に示す色空間内の
最適格子点の階調座標値に変換するプレ階調数変換を行
なう。そして、変換されたデータを格子点カラー画像デ
ータGCDとして色補正部142へ向け出力する。ここ
では、原カラー画像データORGの各色成分を、RがN
r階調、GがNg階調、BがNb階調になるよう、プレ
階調数変換を行ない、その結果を、Rk、Gk、BKと
して出力する。
First, the pre-gradation number conversion unit 140 uses a predetermined gradation number conversion method to calculate the number of gradations of the R, G, B color components of the original color image data ORG in the color space shown in FIG. The pre-gradation number conversion is performed to convert to the gradation coordinate value of the optimum lattice point inside. Then, the converted data is output to the color correction unit 142 as grid point color image data GCD. Here, R is N for each color component of the original color image data ORG.
The pre-gradation number conversion is performed so that r gradation, G becomes Ng gradation, and B becomes Nb gradation, and the results are output as Rk, Gk, and BK.

【0067】なお、プレ階調数変換部140における、
階調数の変換の手法としては、多値の誤差拡散法、平均
誤差最小法や、多値の組織的ディザ法等各種の手法が採
用できる。その詳細については、後述する。
In the pre-gradation number conversion section 140,
As a method of converting the number of gradations, various methods such as a multivalued error diffusion method, a minimum average error method, and a multivalued systematic dither method can be adopted. The details will be described later.

【0068】色補正部142は、入力される格子点カラ
ー画像データGCDに対応した格子点の階調補正データ
を、色補正テーブルメモリ134から読み出す。そし
て、格子点カラー画像データGCDの色成分Rk、G
k、Bkの階調数を補正し、色補正データCCDとして
ポスト階調数変換部146へ向け出力する。ここでは、
色補正データCCDの各色成分のデータをRc 、Gc 、
Bc と表す。
The color correction unit 142 reads the gradation correction data of the grid points corresponding to the input grid point color image data GCD from the color correction table memory 134. Then, the color components Rk, G of the grid point color image data GCD
The gradation numbers of k and Bk are corrected and output as color correction data CCD to the post gradation number conversion unit 146. here,
Color correction data The data of each color component of CCD is Rc, Gc,
Expressed as Bc.

【0069】そして、ポスト階調数変換部146は、色
補正部142から得られた色補正データCCDを、誤差
拡散法または平均誤差最小法によって、最終的に変換し
たい階調数までポスト階調数変換し、これを各色データ
がRp、Gp、Bp で表される最終カラー画像データFN
Lとして出力する。
Then, the post-gradation number conversion unit 146 uses the error correction method or the minimum average error method to convert the color correction data CCD obtained from the color correction unit 142 to the post-gradation number up to the gradation number to be finally converted. Number conversion, and the final color image data FN in which each color data is represented by Rp, Gp, Bp
Output as L.

【0070】したがって、この最終カラー画像データF
NLを、例えばカラープリンタ22へ向け出力すること
により、カラープリンタ22は、記録紙上に良好な色再
現性を有するカラー画像をプリントアウトすることがで
きる。
Therefore, this final color image data F
By outputting the NL to the color printer 22, for example, the color printer 22 can print a color image having good color reproducibility on the recording paper.

【0071】以上の構成のうち、色空間を格子状に分割
して、各格子点毎に色補正データを記録した色補正テー
ブルメモリ134を用意することに関しては、従来から
知られている(例えば特開平7−30772号)。即
ち、この画像処理装置30は、色補正テーブルメモリ1
34を参照する前に、プレ階調数変換部140を用い、
入力される原カラー画像データORGが色補正テーブル
メモリ134の格子点上の色データとなるようプレ階調
数変換を行ない、その後色補正テーブルメモリ134を
参照して色補正を行ない、更にポスト階調数変換(例え
ばハーフトーニングの処理)を行なうのである。これに
より、色補正テーブルCTを参照する際の複雑な補間演
算を省略し、色補正処理に要する演算時間を大幅に短縮
することができるのである。
Among the above-mentioned constitutions, it is known in the related art to divide the color space into a grid and prepare the color correction table memory 134 in which the color correction data is recorded for each grid point (for example, for example. JP-A-7-30772). That is, the image processing device 30 is configured such that the color correction table memory 1
Before referring to 34, using the pre-gradation number conversion unit 140,
The pre-gradation number conversion is performed so that the input original color image data ORG becomes the color data on the grid points of the color correction table memory 134, and then the color correction table memory 134 is referenced to perform the color correction, and the post floor Tone conversion (for example, halftoning processing) is performed. This makes it possible to omit a complicated interpolation calculation when referring to the color correction table CT, and to significantly reduce the calculation time required for the color correction processing.

【0072】上述した各処理について更に説明を補足す
る。まず、プレ階調数変換部140でのプレ階調数変換
処理に、誤差拡散法または平均誤差最小法を用いた場合
を例にとり説明する。いま、スキャナ12から入力され
る原カラー画像データORG中に、R=12、G=2
0、B=24という階調をもった色領域が一定面積連続
すると仮定する。そして、この色領域のカラーデータ
が、画像処理装置30へ入力される場合を想定する。
A supplementary description will be supplemented for each of the processes described above. First, the case where the error diffusion method or the minimum average error method is used for the pre-gradation number conversion processing in the pre-gradation number conversion unit 140 will be described as an example. Now, in the original color image data ORG input from the scanner 12, R = 12, G = 2
It is assumed that color areas having gradations of 0 and B = 24 are continuous in a certain area. Then, it is assumed that the color data of this color region is input to the image processing device 30.

【0073】図8には、この原カラー画像データORG
の色空間内における座標位置近傍の8個の格子点が示さ
れている。各格子点は、図8に示す立方体の各頂点に位
置し、その座標位置は次式(1)で表されるとする。
FIG. 8 shows the original color image data ORG.
Eight grid points near the coordinate position in the color space of are shown. It is assumed that each lattice point is located at each vertex of the cube shown in FIG. 8 and its coordinate position is represented by the following equation (1).

【0074】[0074]

【数1】 [Equation 1]

【0075】色補正テーブルメモリ134内には、各格
子点300の色データに対する、R,G,Bの各色成分
の色補正値が用意されている。また、図8に示した例で
は、原画像データORGは、(R,G,B)=(12,
20,24)という座標値で表わされるデータとしてい
る。
In the color correction table memory 134, color correction values for each of the R, G, and B color components for the color data of each grid point 300 are prepared. Further, in the example shown in FIG. 8, the original image data ORG is (R, G, B) = (12,
The data is represented by coordinate values of 20, 24).

【0076】補間演算を行なう従来技術を用いて色補正
処理を行なう場合には、原画像データORGの色空間内
における座標位置近傍の8個の格子点における色データ
の補正値を参照する。そして、参照した8個の色補正値
を用い、原カラー画像データORGの座標位置と各格子
点との距離に応じた重み付き平均を求める補間演算処理
を実行し、色補正処理を行なっている。図8に示す例で
は、原カラー画像データORGの座標位置から、各格子
点までは等距離に設定したので、補間演算では、8個の
格子点の色補正値を単純平均し、R,G,Bの各色成分
の補正データを求めることになる。
When the color correction processing is performed by using the conventional technique of performing the interpolation calculation, the correction values of the color data at the eight grid points near the coordinate position in the color space of the original image data ORG are referred to. Then, using the referred eight color correction values, an interpolation calculation process for obtaining a weighted average according to the distance between the coordinate position of the original color image data ORG and each grid point is executed, and the color correction process is performed. . In the example shown in FIG. 8, since each grid point is equidistant from the coordinate position of the original color image data ORG, in the interpolation calculation, the color correction values of eight grid points are simply averaged to obtain R, G. , B, the correction data of each color component is obtained.

【0077】これに対し、本発明の色補正処理は、次の
ような手順で行われる。まず、プレ階調数変換部140
は、入力された原カラー画像データORGが、8つの格
子点上のいずれかの色データになるように、誤差拡散法
や平均誤差最小法を用いて、プレ階調数変換を行う。次
に、色補正部142は、色補正テーブルメモリ134を
参照し、色補正処理を行う。
On the other hand, the color correction processing of the present invention is performed in the following procedure. First, the pre-gradation number conversion unit 140
Performs the pre-gradation number conversion using the error diffusion method or the minimum average error method so that the input original color image data ORG becomes any color data on the eight grid points. Next, the color correction unit 142 refers to the color correction table memory 134 and performs color correction processing.

【0078】実施形態のプレ階調数変換部140で用い
る誤差拡散法や平均誤差最小法は、ある領域の局所的な
色の平均値がなるべく原画像データに等しくなるよう
に、一つ一つのデータを近傍の格子点のデータ値に変換
していくように働く。したがって、原カラー画像データ
ORGの座標位置が各格子点に対し等距離となっている
図8の例では、プレ階調数変換を行なった結果は、8個
の格子点データそれぞれがほぼ8分の1ずつの等しい割
合で混在した色領域が得られる。この結果、プレ階調数
変換処理された色データに、色補正テーブルCTを参照
した色補正を行った結果、8個の格子点色の色補正値が
ほぼ等しい確率で混在した色領域が得られることにな
る。
The error diffusion method and the minimum average error method used in the pre-gradation number conversion unit 140 of the embodiment are arranged so that the average value of local colors in a certain area is equal to the original image data as much as possible. It works so as to convert the data into data values of neighboring grid points. Therefore, in the example of FIG. 8 in which the coordinate positions of the original color image data ORG are equidistant from each grid point, the result of pre-gradation number conversion shows that each of the eight grid point data is approximately 8 minutes. , The mixed color areas are obtained in equal proportions. As a result, as a result of performing color correction with reference to the color correction table CT on the color data subjected to the pre-gradation number conversion processing, a color area in which the color correction values of eight grid point colors are mixed with a probability of being substantially equal is obtained. Will be done.

【0079】このように、従来の補間演算を行なった色
補正処理と、本実施の形態の色補正処理とにより得られ
た結果は、適当な面積での色の平均値をとって比べた場
合には、ほぼ等しくなる。すなわち、この色補正部14
2では、各画素単位ではプレ階調数変換することによっ
て生じる量子化ノイズが加わることになるが、それにも
かかわらず、局所的な平均値をとってみた場合には、従
来の補間演算を行なった場合と、ほとんど同等の色補正
結果が得られることになる。
As described above, the results obtained by the color correction processing of the conventional interpolation calculation and the color correction processing of the present embodiment are obtained when the average values of the colors in an appropriate area are compared. Are almost equal. That is, this color correction unit 14
In the case of 2, the quantization noise generated by the pre-gradation number conversion is added in each pixel unit. Nevertheless, when the local average value is taken, the conventional interpolation calculation is performed. In this case, almost the same color correction result can be obtained.

【0080】なお、画像出力装置20の表現可能な階調
数が十分に多い場合には、前述したプレ階調数変換処理
によって生じた量子化ノイズによる画質低下が問題とな
る。本実施の形態の場合は、さらにこのプレ階調数変換
処理の後に、ポスト階調数変換部146を用い、色補正
された画像データを、画像出力装置20の表現可能な階
調数に対応した最終的な階調数まで変換するポスト階調
数変換処理を行なうので、ここでも、階調数変換に伴う
量子化ノイズが発生する。したがって、前処理段階での
プレ階調数変換で生じる量子化ノイズを、最終段階での
ポスト階調数変換で生じる量子化ノイズに比べ、十分に
小さくできれば、実用上は問題にならないことになる。
このため、実施形態の装置では、プレ階調数変換部14
0の変換可能な階調数が、ポスト階調数変換部146の
変換可能な階調数よりも、十分大きくなるよう形成さ
れ、これにより、プレ階調数変換処理に伴う画質の低下
を防止している。
When the number of gradations that can be expressed by the image output device 20 is sufficiently large, there is a problem of deterioration in image quality due to the quantization noise generated by the above-described pre-gradation number conversion processing. In the case of the present embodiment, after this pre-gradation number conversion processing, the post-gradation number conversion unit 146 is used to make the color-corrected image data correspond to the number of gradations that can be expressed by the image output device 20. Since the post-gradation number conversion processing for converting to the final gradation number is performed, quantization noise is also generated in the conversion of the gradation number. Therefore, if the quantization noise generated in the pre-gradation number conversion in the pre-processing stage can be made sufficiently smaller than the quantization noise generated in the post-gradation number conversion in the final stage, there will be no practical problem. .
Therefore, in the apparatus of the embodiment, the pre-gradation number conversion unit 14
The number of convertible gradations of 0 is formed to be sufficiently larger than the number of convertible gradations of the post gradation number converting unit 146, thereby preventing deterioration of image quality due to the pre gradation number converting process. are doing.

【0081】特に、本実施形態では、ポスト階調数変換
部146での階調数変換に、誤差拡散法または平均誤差
最小法を用いるため、プレ階調数変換、ポスト階調数変
換の双方を通じて 、領域の局所的な平均値を取った場
合の誤差を最小にしようとする機構が働くことになる。
このため、プレ階調数変換処理における変換可能な階調
数を、実施形態のようにポスト階調数変換処理における
変換可能な階調数より十分に大きく取ることにより、色
補正テーブルの複数の格子点を参照し、補間演算を行な
う従来の補正処理に比べ、全く遜色のない画質を得るこ
とができる。
Particularly, in the present embodiment, since the error diffusion method or the minimum average error method is used for the tone number conversion in the post tone number conversion unit 146, both the pre-tone number conversion and the post tone number conversion are performed. Through, the mechanism that tries to minimize the error when taking the local average value of the region works.
Therefore, by setting the number of convertible gradations in the pre-gradation number conversion processing to be sufficiently larger than the number of convertible gradations in the post gradation number conversion processing as in the embodiment, a plurality of color correction tables can be displayed. It is possible to obtain an image quality comparable to that of the conventional correction processing in which the interpolation calculation is performed by referring to the lattice points.

【0082】実際に、原カラー画像データORGの各色
成分が256階調の場合に、プレ階調数変換部140で
の変換可能な階調数を各色成分とも32,ポスト階調数
変換部146での変換可能な階調数を各色成分とも2と
し、色補正および階調数変換を行なった結果、従来のよ
うに、補間演算を行なって色補正を行った後に、2階調
化した結果と全く識別することができない程度の、良好
な再生画像を得られることが確認された。さらに、プレ
階調数変換処理での変換可能な階調数を8階調位まで減
らしても、実用上問題のない画質が得られることが確認
された。
Actually, when each color component of the original color image data ORG has 256 gradations, the number of gradations that can be converted by the pre-gradation number conversion unit 140 is 32 for each color component and the post gradation number conversion unit 146. As a result of color correction and gradation number conversion, the number of gradations that can be converted in 2 is set to 2 for each color component, and as a result, the gradation is converted into 2 gradations after performing interpolation calculation as in the conventional case. It was confirmed that a good reproduced image could be obtained that could not be identified at all. Further, it was confirmed that even if the number of convertible gradations in the pre-gradation number conversion processing is reduced to about 8 gradations, an image quality without practical problems can be obtained.

【0083】前述したように、プレ階調数変換処理にお
ける変換階調数を小さくするほど、色補正テーブルメモ
リ134のメモリ容量は小さくできる。例えば、色補正
部142での色補正後の出力データが、色成分数でm、
各色成分ごとにnビットのデータであったとすると、色
補正テーブルメモリ134に必要なメモリ容量は、プレ
階調数変換処理での変換可能な階調数が各色L階調(q
ビット)である場合には、次式で表される。
As described above, the memory capacity of the color correction table memory 134 can be reduced as the number of converted gradations in the pre-gradation number conversion processing is decreased. For example, the output data after the color correction by the color correction unit 142 is m in terms of the number of color components,
Assuming that each color component has n-bit data, the memory capacity required for the color correction table memory 134 is such that the number of gradations that can be converted in the pre-gradation number conversion processing is L gradations (q
Bit) is represented by the following equation.

【0084】[0084]

【数2】 [Equation 2]

【0085】色成分数mが3、各色成分毎に8ビット
(1バイト)、階調数が各色32階調(5ビット)であ
るとすると、 Q=3×8×2^(5×3) =98304×8[ビット] =96K[byte ] なお、1K[byte ]は1024[byte ]であ
る。
If the number of color components m is 3, each color component is 8 bits (1 byte), and the number of gradations is 32 gradations (5 bits) for each color, Q = 3 × 8 × 2 ^ (5 × 3) ) = 98304 × 8 [bits] = 96K [byte] It should be noted that 1K [byte] is 1024 [byte].

【0086】同様にして、プレ階調数変換可能な階調数
が各色とも16階調の場合、8階調の場合のそれぞれに
ついて、色補正テーブルのメモリ容量を計算すると、1
6階調の場合は、12Kバイト、8階調の場合は1.5
Kバイトという少ないメモリ容量で済むことになる。こ
れに対して、原画像データが各色8ビット(256階
調)の場合に、表現しうる総ての原カラー画像データO
RGに対して色補正テーブルを用意しようとすれば、1
6Mバイト程度のデータが必要になってしまう。
Similarly, the memory capacity of the color correction table is calculated for each of the cases in which the number of gradations that can be converted into the number of pre-gradations is 16 gradations for each color and 8 gradations.
12 Kbytes for 6 gradations, 1.5 for 8 gradations
A small memory capacity of K bytes will suffice. On the other hand, when the original image data is 8 bits for each color (256 gradations), all the original color image data O that can be represented
If you try to prepare a color correction table for RG, 1
Data of about 6 Mbytes is required.

【0087】以上の説明では、プレ階調数変換部140
での階調数変換の手法に、誤差拡散法や、平均誤差最小
法を用いた場合を例にとり説明したが、プレ階調数変換
部140は、これ以外に、例えば組織的ディザ法等、他
の手法を用いて階調数変換をすることもできる。
In the above description, the pre-gradation number conversion unit 140
Although the case where the error diffusion method or the minimum average error method is used as an example of the method of converting the number of gradations in the above has been described, the pre-tone number conversion unit 140 may use, for example, a systematic dither method or the like. It is also possible to convert the number of gradations by using another method.

【0088】この場合には,プレ階調数変換部140で
は、領域の局所的な平均値をとった場合の誤差を最少に
しようとする機構が働かなくなるので、誤差拡散の手法
を用いた場合より画質が劣化する可能性がある。これ
は、原画像データの階調数が256であるのを8階調ま
で減らすような大幅な階調数変換を行なうような場合に
問題となる可能性がある。しかし、原画像データの表現
に用いられる階調数と、プレ階調数変換部140での変
換可能な階調数との差があまり大きくない場合、例え
ば、原カラー画像データORGの階調数が64であるの
を、プレ階調数変換処理で32階調や16階調に減らす
ような場合や、あるいは出力装置に十分に高解像度で、
量子化ノイズの空間周波数が十分に高くなる場合には、
ここで生じる量子化ノイズの影響は、実際に様々な画像
を出力してみるとそれ程問題にならなかった。このよう
な場合には、誤差拡散法の代わりに、組織的ディザ法な
どのより簡易な階調数変換手法を採用してもよい。組織
的ディザ法等の簡易な階調数変換手法を採用した場合に
は、階調数変換に要する演算時間を短縮することができ
る。
In this case, in the pre-gradation number conversion section 140, the mechanism for minimizing the error when the local average value of the area is taken does not work, so that the error diffusion method is used. The image quality may be further deteriorated. This may cause a problem in the case of performing a large number of gradation conversions such that the number of gradations of the original image data is 256 and the number of gradations is reduced to 8. However, when the difference between the number of gradations used for expressing the original image data and the number of gradations that can be converted by the pre-gradation number conversion unit 140 is not so large, for example, the number of gradations of the original color image data ORG. Is 64 when it is reduced to 32 gradations or 16 gradations by the pre-gradation number conversion processing, or with a sufficiently high resolution for the output device,
If the spatial frequency of the quantization noise is high enough,
The effect of the quantization noise generated here was not so problematic when actually outputting various images. In such a case, a simpler gradation number conversion method such as an ordered dither method may be adopted instead of the error diffusion method. When a simple tone number conversion method such as the systematic dither method is adopted, the calculation time required for tone number conversion can be shortened.

【0089】[C]第1ないし第3実施例に共通する画
像処理の詳細 次に、上記実施の形態としての画像処理装置のより具体
的な実施例を説明する。ここでは、図2に示すスキャナ
12から、R,G,B各色が8ビット、256階調の原
カラー画像データORGが画像処理装置30としてのコ
ンピュータ90に入力され、コンピュータ90のプリン
タドライバ96が、この原カラー画像データORGを画
像処理して、最終カラー画像データFNLをカラープリ
ンタ22へ出力する場合を想定する。ここで使用される
カラープリンタ22は、シ アンC,マゼンダM,イエ
ローYの3色インクを用いて各色ドットのオン(ドット
有り)/オフ(ドットなし)の2階調で印字するものを
用いる。プリンタ22における印刷の具体的な構成は、
既に説明した。
[C] Details of Image Processing Common to First to Third Examples Next, more specific examples of the image processing apparatus as the above-mentioned embodiment will be described. Here, from the scanner 12 shown in FIG. 2, the original color image data ORG of 8 bits for each of R, G, B colors and 256 gradations is input to the computer 90 as the image processing apparatus 30, and the printer driver 96 of the computer 90 is It is assumed that the original color image data ORG is image-processed and the final color image data FNL is output to the color printer 22. The color printer 22 used here is one that prints with two gradations of ON (with dots) / OFF (without dots) of each color dot using three color inks of cyan C, magenta M, and yellow Y. . The specific configuration of printing in the printer 22 is
Already explained.

【0090】図9には、この場合に使用される画像処理
装置30の具体的なブロック図が示されている。プレ階
調数変換部140、色補正部142は、入力される原カ
ラー画像データORGを色補正し、さらにR,G,Bか
らC,M,Yへ表色系を変換し、色補正データCCDと
して出力する。そして、前記色補正データCCDを、ポ
スト階調数変換部146を用いプリンタ22の表示可能
な階調数に対応して2値化し、最終カラー画像データF
NLとして出力する。
FIG. 9 shows a concrete block diagram of the image processing apparatus 30 used in this case. The pre-gradation number conversion unit 140 and the color correction unit 142 color-correct the input original color image data ORG, and further convert the color system from R, G, B to C, M, Y to obtain color correction data. Output as CCD. Then, the color correction data CCD is binarized by using the post gradation number conversion unit 146 corresponding to the number of gradations that can be displayed by the printer 22, and the final color image data F is obtained.
Output as NL.

【0091】ここにおいて、前記色補正テーブルメモリ
134には、補正データが次のようにして設定されてい
る。補正データの決定のために、まず、図9に示した画
像処理装置からポスト階調数変換部146(図2に示す
ハーフトーンモジュール99)のみを取り出して、対象
となるカラープリンタ22を組み合わせた系を構成す
る。そして、いろいろなC,M,Y値をポスト階調数変
換部146に与えて2値化した後、対象とするカラープ
リンタ22に出力した結果を色測定する。そして、ポス
ト階調数変換部146に与えたC,M,Y値と、カラー
プリンタ22の出力結果を測定したR,G,B値の対応
関係を調べる。
Here, the correction data is set in the color correction table memory 134 as follows. In order to determine the correction data, first, only the post gradation number conversion unit 146 (halftone module 99 shown in FIG. 2) is taken out from the image processing apparatus shown in FIG. 9 and the target color printer 22 is combined. Make up the system. Then, after various C, M, and Y values are given to the post-gradation number conversion unit 146 and binarized, the result output to the target color printer 22 is subjected to color measurement. Then, the correspondence relationship between the C, M, and Y values given to the post gradation number conversion unit 146 and the R, G, and B values obtained by measuring the output result of the color printer 22 is checked.

【0092】次に、その対応関係を逆にみて、色空間内
の格子点色データに対応するR,G,B値の色を得たい
場合に必要なC,M,Y値を求め、それを色補正データ
として色補正テーブルメモリ134内に設定する。実際
の画像処理に先立って、以上の処理を行ない、色補正テ
ーブルCTを用意するのである。
Next, by reversing the correspondence relationship, the C, M, and Y values required to obtain the R, G, and B value colors corresponding to the grid point color data in the color space are obtained. Is set in the color correction table memory 134 as color correction data. The above processing is performed to prepare the color correction table CT prior to the actual image processing.

【0093】そして、プレ階調数変換部140は、入力
される原カラー画像データORGのR0,G0,B0の
各色成分を、RおよびGは16階調、Bは8階調に階調
数変換し、格子点カラー画像データGCDとしてPk ,
Gk ,Bk の各色成分を出力する。これは、図7に示す
実施形態におけるNr ,Ng がそれぞれ16、Nb が8
の場合の例となる。このために本実施形態では、誤差拡
散法または平均誤差最小法による多値化を行なうが、こ
の多値化工程自体は既存の手法を用いればよい。
Then, the pre-gradation number conversion unit 140 converts the respective color components of R0, G0, B0 of the input original color image data ORG into 16 gradations for R and G and 8 gradations for B. Pk as a grid point color image data GCD after conversion
The Gk and Bk color components are output. This is because Nr and Ng are 16 and Nb is 8 in the embodiment shown in FIG.
This is an example of the case. For this reason, in the present embodiment, multi-value quantization is performed by the error diffusion method or the minimum average error method, but an existing method may be used for the multi-value quantization process itself.

【0094】次に、多値化の具体例を、B成分を8階調
化する場合を例にとり説明する。いま、原カラー画像デ
ータORGのB成分が、2進数8ビットで表現されてお
り、その階調数が0〜255までの256階調であると
し、これをプレ階調数変換部140を用い、次に示す8
種類(i=0,1・・・7)の格子点色データpre_
Bに8値化する場合を想定する。
Next, a specific example of the multi-value conversion will be described by taking the case where the B component is converted to 8 gradations as an example. Now, it is assumed that the B component of the original color image data ORG is represented by a binary number of 8 bits and the number of gradations is 256 gradations from 0 to 255. , Shown below 8
Type (i = 0, 1, ... 7) grid point color data pre_
It is assumed that B is octal-valued.

【0095】pre_B[0],pre_B[1],
…,pre_B[7] 具体的には、原カラー画像データORGのB成分は次の
ようにプレ階調数変換されるものとする。この例では、
8個の値はほぼ等間隔されているが、後述する第1,第
2実施例では、低濃度領域ほど細かく設定されている。
Pre_B [0], pre_B [1],
, Pre_B [7] Specifically, it is assumed that the B component of the original color image data ORG is subjected to pre-gradation number conversion as follows. In this example,
The eight values are substantially evenly spaced, but in the first and second embodiments described later, the lower the density region, the finer the value is set.

【0096】pre_B[0]=0; pre_B[1]=36; pre_B[2]=73; pre_B[3]=109; pre_B[4]=146; pre_B[5]=182; pre_B[6]=219; pre_B[7]=255; なお、以下の説明では、格子点色データをpre[i]
と略記することがある。
Pre_B [0] = 0; pre_B [1] = 36; pre_B [2] = 73; pre_B [3] = 109; pre_B [4] = 146; pre_B [5] = 182; pre_B [6] = 219; pre_B [7] = 255; In the following description, the grid point color data is pre [i].
May be abbreviated.

【0097】また、プレ階調処理のために用いる7種類
のしきい値を次のように定義する。 slsh_B[0],slsh_B[1],…,sls
h_B[6]
Further, seven kinds of threshold values used for the pre-gradation processing are defined as follows. slsh_B [0], slsh_B [1], ..., sls
h_B [6]

【0098】そして、各しきい値を、次のように設定す
る。 pre_B[i]<slsh_B[i]<pre_B
[i+1] (i=0,1,2,…,6)
Then, each threshold value is set as follows. pre_B [i] <slsh_B [i] <pre_B
[I + 1] (i = 0, 1, 2, ..., 6)

【0099】前記しきい値は、次のように設定すること
が多い。 slsh_B[i]=(pre_B[i]+pre_B
[i+1])/2 この場合、前記各しきい値は次のようになる。
The threshold value is often set as follows. slsh_B [i] = (pre_B [i] + pre_B
[I + 1]) / 2 In this case, the respective threshold values are as follows.

【0100】slsh_B[0]=18; slsh_B[1]=54; slsh_B[2]=91; slsh_B[3]=127; slsh_B[4]=164; slsh_B[5]=200; slsh_B[6]=236;Slsh_B [0] = 18; slsh_B [1] = 54; slsh_B [2] = 91; slsh_B [3] = 127; slsh_B [4] = 164; slsh_B [5] = 200; slsh_B [6] = 236;

【0101】また、画像処理装置30へ画像データとし
て入力される原カラー画像データORGは、通常、画像
の左上隅の画素を起点画素として左端画素から右端画素
へ順に入力される。そして、一行分の画素が入力された
後、一画素下の行の左端に移り、同様に右端に向って後
のデータが入力される。このような画像入力動作が繰り
返し行われることによって、一画面分の画像データの入
力が行われることになる。
The original color image data ORG input as image data to the image processing device 30 is normally input in order from the left end pixel to the right end pixel with the pixel at the upper left corner of the image as the starting point pixel. Then, after the pixels for one row are input, the data moves to the left end of the row one pixel below, and the subsequent data is input to the right end in the same manner. By repeating such an image input operation, image data for one screen is input.

【0102】このため、前記プレ階調数変換部140に
よるプレ階調処理、すなわち、原カラー画像データOR
Gを8値化していく順序は、このような画像データの入
力順に合わせて行われる。すなわち、画像の左上隅の画
素を起点画素として左端画素から右端画素へ順に8値化
作業を行い、一行分の画素の8値化が終了したら、一画
素下の行の左端に移り、同様に右端に向って8値化して
いくという作業を繰り返して行い、一画面分の画像デー
タの8値化を行うことになる。
Therefore, the pre-gradation processing by the pre-gradation number conversion unit 140, that is, the original color image data OR
The order in which G is octalized is set according to the input order of such image data. That is, the pixel at the upper left corner of the image is used as a starting pixel, and the octalization work is performed in order from the left end pixel to the right end pixel. The operation of octalizing toward the right end is repeated to octalize the image data for one screen.

【0103】この場合、図10に示すよう、注目画素4
00の上方の全画素、同ラインの左側の画素は既に多値
化の終了した画素である。そして、注目画素400の下
方の全画素および同ラインの右側の画素はまだ多値化を
行っていない画素ということになる。
In this case, as shown in FIG.
All the pixels above 00 and the pixels on the left side of the same line are the pixels for which multi-value conversion has already been completed. Then, all the pixels below the target pixel 400 and the pixels on the right side of the same line are pixels that have not been multi-valued.

【0104】前述したプレ階調処理すなわち8値化の処
理を行う手法として、例えば図11(a)に示す誤差拡
散の重みマトリクスを用いる場合について考える。この
重みマトリクスは、図11(a)中の注目画素400に
生じた誤差を、右隣の画素に2、下の画素に1、右下の
画素に1の割合で分散することを示すものである。
As a method for performing the above-described pre-gradation processing, that is, octal processing, consider the case where the error diffusion weighting matrix shown in FIG. 11A is used. This weight matrix indicates that the error generated in the pixel of interest 400 in FIG. 11A is distributed at a ratio of 2 to the pixel on the right, 1 to the pixel below, and 1 to the pixel below right. is there.

【0105】このマトリクスを用いてプレ階調数変換部
140が、誤差拡散法を用いて行う8値化処理(プレ階
調変換処理)のフローチャートを、図12に示す。
FIG. 12 shows a flowchart of the octalization process (pre-gradation conversion process) performed by the pre-gradation number conversion unit 140 using this matrix using the error diffusion method.

【0106】注目画素を、p行q列目と表現するものと
し、この注目画素のB成分の原カラー画像データORG
をdataB[p][q]で表し、これを8値化する場
合について考える。なお、p行q列目の画素の8値化に
よって生じる量子化誤差は、err[p][q]と表
す。 第1の工程;8値化工程(ステップS1〜S6) まず、注目画素データをしきい値と比較することによっ
て8値化し、格子点色データpre_B[p][q]を
得る。なお、これを、以下、格子点色データpre_B
と略記する。この処理を簡単に説明する。原カラー画像
データORGがしきい値slsh[0]未満であれば
(ステップS1)、注目画素の格子点色データpre_
Bを、最も小さな格子点色データpre[0]とする
(ステップS4)。同様に、原カラー画像データdat
aB[p][q]が、どのしきい値の間(slsh
[i]〜slsh[i+1])に入っているかを判断し
(ステップS2)、注目画素の格子点色データpre_
Bを、対応する格子点色データpre[i]とする処理
を行なう(ステップS5)。また、原カラー画像データ
ORGがしきい値slsh[7]以上であれば(ステッ
プS3)、注目画素の格子点色データpre_Bを、最
も大きな格子点色データpre[7]とする(ステップ
S6)。なお、図12に示すdataB[p][q]
は、注目画素データそのものではなく、近傍の既に8値
化された画素カラーの誤差拡散を受けて既に補正された
データである。誤差拡散法については、第3の工程で説
明する。
Let us say that the pixel of interest is expressed as the p-th row and the q-th column, and the original color image data ORG of the B component of this pixel of interest is expressed.
Is represented by dataB [p] [q], and the case where this is octalized will be considered. The quantization error generated by octalization of the pixel at the p-th row and the q-th column is expressed as err [p] [q]. First step: octalization step (steps S1 to S6) First, the pixel data of interest is binarized by comparing it with a threshold value to obtain grid point color data pre_B [p] [q]. Note that this will be referred to as grid point color data pre_B below.
Abbreviated. This processing will be described briefly. If the original color image data ORG is less than the threshold value slsh [0] (step S1), the grid point color data pre_ of the target pixel
B is the smallest grid point color data pre [0] (step S4). Similarly, the original color image data dat
aB [p] [q] is between which threshold (slsh
[I] to slsh [i + 1]) is determined (step S2), and the grid point color data pre_ of the target pixel is determined.
A process of setting B as the corresponding grid point color data pre [i] is performed (step S5). If the original color image data ORG is greater than or equal to the threshold value slsh [7] (step S3), the grid point color data pre_B of the target pixel is set to the largest grid point color data pre [7] (step S6). . Note that dataB [p] [q] shown in FIG.
Is not the target pixel data itself, but is the data that has already been corrected by the error diffusion of the already octalized pixel color in the vicinity. The error diffusion method will be described in the third step.

【0107】 第2の工程;誤差計算工程(ステップ
S7) 8値化によって注目画素に生じた誤差err[p]
[q]を求める。原カラー画像データdataB[p]
[q]は、本来格子点上に存在している訳ではなく、こ
れを上記の8値化処理により格子点の値に割り当てたの
で、量子化誤差が生じる。この量子化誤差err[p]
[q]の大きさを求めるのである。
Second step; error calculation step (step S7) Error err [p] generated in the pixel of interest due to octalization
Find [q]. Original color image data dataB [p]
[Q] does not originally exist on the grid point, and since it is assigned to the value of the grid point by the above-described octalization process, a quantization error occurs. This quantization error err [p]
The size of [q] is calculated.

【0108】 第3の工程;誤差拡散工程(ステップ
S8) 誤差を、近傍のまだ8値化を行っていない画素に拡散す
る。ここでは、図11(a)の重みマトリクスに従い、
誤差の1/2を注目画素の右側の画素([p+1]
[q])に、1/4を下側の画素([p][q+1])
に、1/4を右下の隣接する画素([p+1][q+
1])に、それぞれ拡散し、その原カラー画像データd
ata_Bに加えている。前述した第1の工程で用いた
注目画素データdataB[p][q]は、このように
して誤差拡散を受けた後のデータである。
Third Step: Error Diffusion Step (Step S8) The error is diffused to neighboring pixels which have not been octal-coded yet. Here, according to the weight matrix of FIG.
Half the error is the pixel on the right side of the target pixel ([p + 1]
[Q]), and 1/4 is the lower pixel ([p] [q + 1])
, 1/4 is the lower right adjacent pixel ([p + 1] [q +
1]), and the original color image data d
It is added to ata_B. The pixel-of-interest data dataB [p] [q] used in the first step described above is the data after undergoing error diffusion in this way.

【0109】以上は、誤差拡散法による8値化の例であ
ったが、これを平均誤差最小法によって行なう具体例を
次に説明する。
Although the above is an example of octalization by the error diffusion method, a concrete example of performing this by the average error minimum method will be described below.

【0110】図13は、平均誤差最小法を用いた8値化
処理のフローチャートである。 第1の工程;誤差補正工程(ステップS10) この工程では、近傍の既に8値化された画素に生じた8
値化誤差で、注目画素デー タを補正する。誤差拡散の
マトリクスは、図11(a)に示したものと同一であ
る。即ち、注目画素から見ると、左隣の画素で生じた量
子化誤差についてはその1/2を加え、直上の画素で生
じた量子化誤差についてはその1/4を加え、左斜め上
の画素で生じた量子化誤差についてはその1/4を加え
るのである。
FIG. 13 is a flowchart of octalization processing using the minimum mean error method. First step: error correction step (step S10) In this step, the error of 8
The pixel data of interest is corrected by the digitization error. The error diffusion matrix is the same as that shown in FIG. That is, when viewed from the pixel of interest, 1/2 is added to the quantization error that occurred in the pixel to the left of the pixel, and 1/4 thereof was added to the quantization error that occurred in the pixel immediately above, and the pixel diagonally to the left 1/4 of the quantization error generated in step 1 is added.

【0111】 第2の工程;8値化工程(ステップS
11〜S16) この工程は、図12に示したステップS1〜S6と同様
であるので、その説明は省略する。
Second step; octalization step (step S
11 to S16) Since this process is the same as steps S1 to S6 shown in FIG. 12, description thereof will be omitted.

【0112】 第3の工程;誤差計算(ステップS1
7) この工程では、8値化によって注目画素に生じた誤差e
rr[p][q]を求める。詳細は、図12に示したス
テップS7と全く同様である。
Third step; error calculation (step S1
7) In this step, the error e generated in the target pixel due to the octalization
Find rr [p] [q]. The details are exactly the same as step S7 shown in FIG.

【0113】図12に示す誤差拡散法と、図13に示す
平均誤差最小法との違いは、誤差拡散作業を誤差計算が
終了した直後に行なうか、注目画素をN値化する直前に
行なうかの違いだけであり、画像端での取り扱いを除け
ば、両者は等価となる。
The difference between the error diffusion method shown in FIG. 12 and the minimum average error method shown in FIG. 13 is whether the error diffusion operation is performed immediately after the error calculation is completed or immediately before the pixel of interest is N-valued. However, both are equivalent except for the handling at the image edge.

【0114】なお、誤差拡散法の重みマトリクスについ
ては、図11(a)の外に、よりマトリクスサイズを大
きくした図11(b)の例や、逆により簡略化した図1
1(c)、(d)の例等、必要に応じて各種のものを採
用することが可能である。図11(d)は、最も簡略化
した例であり、誤差の拡散対象が右隣の一画素だけにな
っている。
Regarding the weight matrix of the error diffusion method, in addition to the example of FIG. 11 (a), the example of FIG. 11 (b) in which the matrix size is made larger, and FIG.
It is possible to adopt various types as required, such as the examples of 1 (c) and (d). FIG. 11D is the most simplified example, and the error diffusion target is only one pixel on the right side.

【0115】多値誤差拡散法の例としては、特開平3−
18177号公報、特開平3−34767号公報、特開
平3−80767号公報、特開平3−147480号公
報等があり、必要に応じて各種の手法を採用することが
できる。
As an example of the multi-valued error diffusion method, Japanese Patent Laid-Open No.
18177, JP-A-3-34767, JP-A-3-80767, JP-A-3-147480, etc., and various techniques can be adopted as necessary.

【0116】〔組織的ディザ法を用いたプレ階調数変換
部140の実施形態〕プレ階調数変換部140は、誤差
拡散法または平均誤差最小法を用いる構成の他、組織的
ディザ法等の階調数変換手法を用いることもできる。プ
レ階調数変換部140として組織的ディザ法を用いた場
合の処理の一例を、図14に示す。
[Embodiment of pre-gradation number conversion unit 140 using systematic dither method] The pre-gradation number conversion unit 140 is configured to use the error diffusion method or the average error minimum method, as well as the systematic dither method. It is also possible to use the gradation number conversion method of. FIG. 14 shows an example of processing when the systematic dither method is used as the pre-gradation number conversion unit 140.

【0117】ここでは、原カラー画像データORGのB
成分が0から63までの64階調の値をもつ場合に、こ
れを組織的ディザ法をもちいたプレ階調数変換部140
により17階調化する場合を想定する。ディザマトリク
スには2×2のサイズのものを用いる。縦横両方向とも
に2画素周期で変化する組織的ディザノイズをデータに
加えた後(ステップS20)、しきい値との比較により
(ステップS21〜S23)、0,1,2,…16の1
7階調の値に階調数変換する(S24〜S26)。
Here, B of the original color image data ORG is used.
When the component has a value of 64 gradations from 0 to 63, the pre-gradation number converting unit 140 using the systematic dither method is used.
It is assumed that 17 gradations are obtained by. A dither matrix of 2 × 2 size is used. After adding systematic dither noise that changes in a two-pixel cycle in both vertical and horizontal directions to the data (step S20), by comparing with the threshold value (steps S21 to S23), 0, 1, 2, ...
The number of gradations is converted into a value of 7 gradations (S24 to S26).

【0118】すなわち、16個のしきい値slsh_B
[i]を、 slsh_B[i]=(i+1)×4−2 (i=0,1,…,15)のように設定し、次に画素位
置p,qによって一意的に決まる組織的ディザノイズ
(dither_noize[p%2][q%2])を
注目画素データdata_B[p][q]に加える(ス
テップS20)。%は余剰演算子で、p%2は「pを2
で割った時の余り」の意味になり、qが偶数なら0、奇
数なら1となる。dither_noize [p%
2][q%2]の値は、例えば、 dither_noize[0][0]=1 dither_noize[0][1]=−1 dither_noize[1][0]=−2 dither_noize[1][1]=0 のように設定する。その後、データをしきい値slsh
_B[i]と比較し(ステップS21〜S23)、その
大小によって、格子点色データのブルー成分preBを
得て、17階調化するのである(S24〜S26)。
That is, 16 threshold values slsh_B
[I] is set as slsh_B [i] = (i + 1) × 4-2 (i = 0, 1, ..., 15), and then the systematic dither noise (which is uniquely determined by the pixel positions p and q ( dither_noise [p% 2] [q% 2]) is added to the target pixel data data_B [p] [q] (step S20). % Is a surplus operator, and p% 2 is "p is 2
It means "a remainder when divided by", and becomes 0 if q is an even number and 1 if q is an odd number. dither_noise [p%
The value of 2] [q% 2] is, for example, dither_noise [0] [0] = 1 dither_noise [0] [1] = − 1 dither_noise [1] [0] = − 2 dither_size [1] [1] = Set it as 0. After that, the data is set to the threshold value slsh.
_B [i] is compared (steps S21 to S23), and the blue component preB of the grid point color data is obtained according to the size, and 17 gradations are obtained (S24 to S26).

【0119】図13に示した平均誤差最小法による8階
調化の例と比較すると、平均誤差最小法では周辺の2値
化済み画素から拡散される誤差を注目画素データdat
a_B[p][q]に加えたが、組織的ディザ法を採用
した場合には、注目画素の位置によって一意的に決まる
周期的ノイズdither_noize[p%2][q
%2]を加えている。それに伴い、図14に示した手法
では、平均誤差最小法で行なっていた誤差計算工程(ス
テップS17)に相当する処理が不要になっている。図
14に示したような組織的ディザ法を用いた場合を、平
均誤差最小法や誤差拡散法と比較すると、誤差拡散計算
が不要となるため、より一層高速化される上に、誤差記
憶のためのメモリ等が不必要になりハードウェア資源が
節約されるという大きなメリットがある。
In comparison with the example of 8-gradation by the average error minimum method shown in FIG. 13, the error diffused from the surrounding binarized pixels is used as the target pixel data dat in the average error minimum method.
In addition to a_B [p] [q], when the systematic dither method is adopted, periodic noise dither_noise [p% 2] [q is uniquely determined by the position of the pixel of interest.
% 2] is added. Accordingly, the method shown in FIG. 14 does not require the process corresponding to the error calculation step (step S17) performed by the minimum average error method. Comparing the case of using the systematic dither method as shown in FIG. 14 with the average error minimum method or the error diffusion method, the error diffusion calculation is not required, and therefore the speed is further increased and the error memory is stored. There is a great merit that a memory etc. is unnecessary and hardware resources are saved.

【0120】その一方で、誤差拡散法における「領域の
局所的な平均値」をとった場合の誤差を最少にしようと
する機構は働かなくなる。このため、プレ階調数変換手
段であまり大幅に階調数を減らし過ぎると、画質が劣化
するおそれがあるが、図14に示したように、原画像デ
ータの階調数を約1/4に減らす程度の場合には、2×
2という小さなマトリクスサイズでも疑似輪郭等が発生
することはなく、解像度の低下も最小限に押さえられ、
メリットが大きい。
On the other hand, in the error diffusion method, the mechanism for minimizing the error in the case of taking the "regional average value" does not work. Therefore, if the pre-gradation number conversion means reduces the number of gradations too much, the image quality may deteriorate. However, as shown in FIG. 14, the number of gradations of the original image data is about 1/4. 2 × if reduced to
Even with a small matrix size of 2, pseudo contours etc. will not occur, and deterioration of resolution will be suppressed to a minimum,
Great advantage.

【0121】一般には、処理速度、必要なメモリ容量、
画質の兼ね合いで最適なプレ階調数変換手法を採用すれ
ばよい。例えば、次のような観点から、採用するプレ階
調数変換手法を決定することができる。 ・最終的な出力装置の解像度が十分に高く、プレ階調数
変換での多少の解像度低下が問題にならない場合には、
大きめのマトリクスサイズの組織的ディザ法 ・もともと原画像データの階調数が多くなく、プレ階調
数変換であまり大幅に階調数を減少させる必要のない場
合には、小さめのマトリクスサイズの組織的ディザ法 ・画質最優先の場合や、プレ階調数変換で大幅に階調数
を減らして色補正テーブルの容量を小さくしたい場合に
は誤差拡散法 もちろん、誤差拡散法や組織的ディザ法以外の階調数変
換手法を用いてもよい。
Generally, processing speed, required memory capacity,
An optimum pre-gradation number conversion method may be adopted in consideration of image quality. For example, the pre-gradation number conversion method to be adopted can be determined from the following viewpoints. -If the resolution of the final output device is sufficiently high and a slight decrease in resolution during pre-gradation number conversion does not pose a problem,
Larger matrix size systematic dither method ・ If the original image data does not have a large number of gradations and there is no need to significantly reduce the number of gradations by pre-gradation number conversion, a smaller matrix size organization Dither method ・ When the image quality is the highest priority, or when it is desired to reduce the number of gradations significantly by pre-gradation number conversion to reduce the capacity of the color correction table, the error diffusion method, of course, other than the error diffusion method and the systematic dither method The gradation number conversion method may be used.

【0122】また、B成分のみ組織的ディザ法、R、G
成分は誤差拡散法でプレ階調数変換を行なう構成等を採
用してもよい。一般に、B成分に対する人間の目の分解
能はRやGに比べると低くなるので、このような構成も
効果的である。
Further, only the B component is systematic dither method, R, G
The components may be configured to perform pre-gradation number conversion by the error diffusion method. In general, the resolution of the human eye for the B component is lower than that for R and G, and such a configuration is also effective.

【0123】なお、以上は原カラー画像データORGに
含まれるB成分をプレ階調数変換部140を用いて8階
調に変換処理する場合について述べたが、原カラー画像
データORGに含まれる他の色成分、すなわち、R成分
やG成分も同様な手法によって16階調にプレ階調数変
換される。
The case where the B component included in the original color image data ORG is converted into 8 gradations by using the pre-gradation number conversion unit 140 has been described above. The color components of, that is, the R component and the G component are also converted into 16 gradations by the same method.

【0124】その結果、プレ階調数変換部140に入力
される原カラー画像データORGのR ,G,Bの各成
分は次式に示すよう、格子点カラー画像データGCD
へ、プレ階調数変換されることになる。 R成分は、pre_R[0],pre_R[1]…pr
e_R[15]の16値 G成分は、pre_G[0],pre_G[1]…pr
e_G[15]の16値 B成分は、pre_B[0],pre_B[1]…pr
e_G[7]の8値。
As a result, each of the R, G, and B components of the original color image data ORG input to the pre-gradation number conversion unit 140 has the grid point color image data GCD as shown in the following equation.
Is converted into the number of pre-gradations. The R component is pre_R [0], pre_R [1] ... pr
The 16-value G component of e_R [15] is pre_G [0], pre_G [1] ... pr
The 16-value B component of e_G [15] is pre_B [0], pre_B [1] ... pr
Eight values of e_G [7].

【0125】〔色補正部142の具体例〕色補正部14
2は、多値化(プレ階調処理)された格子点色データに
対し、色補正処理を行なうとともに、R,G,Bから
C,M,Yへの表色系の変換作業を行なう。すなわち、
図7に示した例では、色補正部142は、説明の都合上
RGB間での色補正を行なうだけであるとしたが、実際
には、色補正部142では、色補正のほかに、R,G,
BからC,M,Yへの表色系の変換をも同時に行なって
いる。
[Specific Example of Color Corrector 142] Color Corrector 14
2 performs color correction processing on the multi-valued (pre-gradation processing) grid point color data, and also performs conversion work of the color system from R, G, B to C, M, Y. That is,
In the example shown in FIG. 7, the color correction unit 142 only performs the color correction between RGB for convenience of description, but in reality, the color correction unit 142 performs R correction in addition to color correction. , G,
The conversion of the color system from B to C, M, Y is also performed at the same time.

【0126】以下に、色補正部142および色補正テー
ブルメモリ134を、ソフトウェア的に形成した場合
と、ハードウェア的に形成した場合の2つの場合を例に
とり説明する。
Hereinafter, two cases, that is, the case where the color correction unit 142 and the color correction table memory 134 are formed by software and the case where they are formed by hardware, will be described as an example.

【0127】図15(a)は、色補正テーブルメモリ1
34をC言語の表記を用いてソフト的に実現する場合の
実施形態である。C,M,Y各色成分用の色補正テーブ
ルは、それぞれ3次元の配列C_table[Nr]
[Ng][Nb],M_table[Nr][Ng]
[Nb],Y_table[Nr][Ng][Nb]と
なる。ここで、Nr,Ng,Nbは、各色の階調数を示
す(図7参照)。この例では、各テーブルの大きさは、
16×16×8である。これらのテーブルは、8ビット
で正の整数のみを扱うunsigned charタイ
プの配列としたので、色補正結果としては8ビット、0
〜255の範囲のデータが格納可能である。予め、この
3次元の配列に、RGBからCMYへの変換データを格
納しておく。
FIG. 15A shows the color correction table memory 1
34 is an embodiment in which 34 is realized by software using the notation of C language. The color correction table for each of the C, M, and Y color components is a three-dimensional array C_table [Nr].
[Ng] [Nb], M_table [Nr] [Ng]
[Nb], Y_table [Nr] [Ng] [Nb]. Here, Nr, Ng, and Nb represent the number of gradations of each color (see FIG. 7). In this example, the size of each table is
It is 16 × 16 × 8. Since these tables are unsigned char type arrays that handle only positive integers with 8 bits, the color correction result is 8 bits, 0
Data in the range of up to 255 can be stored. The conversion data from RGB to CMY is stored in advance in this three-dimensional array.

【0128】図15(b)は、図14(a)の3次元色
補正テーブルを参照して、R,G,Bの各格子点色デー
タpre_R[i],pre_G[j],pre_B
[k]を、プリンタ22におけるインク量に対応するC
MY値に変換する色補正部142の実施形態である。C
言語を用いたこの手法では、格子点色データを基に、図
15(a)で宣言した配列を参照するだけで、色補正後
のC,M,Y値が得られる。
FIG. 15B refers to the three-dimensional color correction table of FIG. 14A, and R, G, B grid point color data pre_R [i], pre_G [j], pre_B.
Let [k] be C corresponding to the ink amount in the printer 22.
It is an embodiment of the color correction unit 142 for converting to MY value. C
In this method using a language, the C, M, Y values after color correction can be obtained simply by referring to the array declared in FIG. 15A based on the grid point color data.

【0129】次に、色補正テーブルメモリ134をハー
ドウェアにより実現した場合の例として、色補正テーブ
ルCTを半導体メモリに格納した例を、図16に示す。
C用ROM134C、M用ROM134M、Y用ROM
134Yは、それぞれC,M,Y各色成分の色補正結果
が格納されたROMであり、アドレスデータとして、R
GBの格子点色データに応じて決まる値を与えれば、そ
れに対応する補正後のシアンデータ、マゼンタデータ、
イエローデータが出力される。
Next, as an example in which the color correction table memory 134 is realized by hardware, an example in which the color correction table CT is stored in a semiconductor memory is shown in FIG.
ROM for C134C, ROM for M134M, ROM for Y
Reference numeral 134Y is a ROM in which the color correction results of the C, M, and Y color components are respectively stored, and R is used as address data.
If a value determined according to the GB grid point color data is given, the corresponding corrected cyan data, magenta data,
Yellow data is output.

【0130】図17は、図15のC用ROM134Cの
より詳細な実施形態で、アドレスバスがA0〜A10の
11ビット、データバスがD0〜D7の8ビットのRO
Mを用いた例である。格子点色データpre_R
[i]、pre_G[j]、pre_B[k]に対応し
て、i,j,k値をそれぞれ2進数化した値が、それぞ
れアドレスバスの下位4ビット(A0〜A3)、中位4
ビット(A4〜A7)、上位3ビット(A8〜A10)
に与えられている。各ビット数は、RGBの各階調数
(RおよびGが16階調、Bが8階調)に対応してい
る。
FIG. 17 is a more detailed embodiment of the ROM 134C for C of FIG. 15, in which the address bus has 11 bits of A0 to A10 and the data bus has 8 bits of RO of D0 to D7.
This is an example using M. Grid point color data pre_R
Corresponding to [i], pre_G [j], and pre_B [k], i, j, and k values are converted into binary numbers, and lower 4 bits (A0 to A3) and middle 4 of the address bus are respectively obtained.
Bits (A4 to A7), upper 3 bits (A8 to A10)
Has been given to. Each bit number corresponds to each RGB gradation number (16 gradations for R and G, and 8 gradations for B).

【0131】即ち、本実施例の場合は、0≦i≦15,
0≦j≦15,0≦k≦7なので、i用には4ビット、
j用には4ビット、k用には3ビット割り当てれば足り
るのである。データバスからはそれに対応するシアンの
色補正データが、0〜255の間の値をとる8ビット値
としてデータバスに出力される。
That is, in the case of this embodiment, 0 ≦ i ≦ 15,
Since 0 ≦ j ≦ 15 and 0 ≦ k ≦ 7, 4 bits for i,
It is sufficient to allocate 4 bits for j and 3 bits for k. From the data bus, the corresponding cyan color correction data is output to the data bus as an 8-bit value having a value between 0 and 255.

【0132】図16に示した構成では、CMY各成分毎
に3個の別々のROMを用意したが、アドレスバスのビ
ット数を増やし、そこに色選択信号を加えるようにすれ
ば、より容量の大きいROM1個ですませることも可能
である。また、ROMではなく、書き込みも可能なRA
Mを用いると、テーブルの内容を自由に書き替え可能な
構成にもできる。
In the configuration shown in FIG. 16, three separate ROMs are prepared for each CMY component, but if the number of bits of the address bus is increased and a color selection signal is added thereto, a larger capacity can be obtained. It is possible to use only one large ROM. Also, it is not a ROM but a writable RA
If M is used, the contents of the table can be freely rewritten.

【0133】以上の図15や図16に示した構成では、
色補正部142がソフト的あるいはハード的に3次元テ
ーブルメモリ134を参照することで、色補正が行なわ
れる。
In the configuration shown in FIGS. 15 and 16 above,
Color correction is performed by the color correction unit 142 referring to the three-dimensional table memory 134 in terms of software or hardware.

【0134】〔ポスト階調数変換の具体例〕色補正の
後、最後にポスト階調数変換部146(ハーフトーンモ
ジュール99)が、色補正部142で色補正されたCM
Y各データを誤差拡散法または平均誤差最小法によって
2値化する処理を行なう。この部分は既存の手法をその
まま適応すればよい。誤差拡散法による2値化工程は、
図12で示したプレ階調数変換部140での多値化工程
とほとんど同じで、8値化が2値化に変わるだけであ
る。図9のステップS1〜S6の8値化を2値化に変更
し、data_B[p][q]をdata_C[p]
[q]に置き換え、図18に示すように2値化を行なえ
ばよい。ここでは,シアンデータが値255に2値化さ
れた場合は、シアンのドット有り、値0に2値化された
場合はドットなしとする。以降の誤差計算や、誤差拡散
の工程は図12のステップS7,ステップS8と同様な
のでその説明は省略する。
[Specific Example of Post-Gradation Number Conversion] After color correction, the post-gradation number conversion unit 146 (halftone module 99) finally performs color correction in the color correction unit 142.
Y Each data is binarized by the error diffusion method or the minimum average error method. For this part, the existing method may be applied as it is. The binarization process by the error diffusion method is
This is almost the same as the multi-value conversion process in the pre-gradation number conversion unit 140 shown in FIG. 12, except that octalization is changed to binarization. The octalization in steps S1 to S6 in FIG. 9 is changed to binarization, and data_B [p] [q] is changed to data_C [p].
It may be replaced with [q] and binarized as shown in FIG. Here, if the cyan data is binarized to the value 255, cyan dots are present, and if it is binarized to the value 0, no dots are set. Subsequent error calculation and error diffusion processes are the same as those in steps S7 and S8 of FIG. 12, so description thereof will be omitted.

【0135】ただし、この2値化工程では誤差拡散重み
マトリクスのサイズを小さくし過ぎると、画質劣化につ
ながる特有のドットパターンが生じやすくなる。このた
め、プレ階調変換での多値化時に用いたものよりもやや
大きめのサイズのマトリクス(例えば図 11(b)に
示したもの)を用いたほうがよい。また、誤差拡散法の
代わりに、図13の実施形態の平均誤差最小法による多
値化を2値化に変更したものを用いてもよい。
However, if the size of the error diffusion weight matrix is made too small in this binarization process, a unique dot pattern that leads to image quality deterioration is likely to occur. For this reason, it is better to use a matrix having a slightly larger size (for example, the one shown in FIG. 11B) than that used for the multi-value conversion in the pre-gradation conversion. Further, instead of the error diffusion method, a method in which the multi-value quantization by the average error minimum method of the embodiment of FIG. 13 is changed to the binarization may be used.

【0136】以上説明した構成における大きな特徴の一
つは、プレ階調数変換部140における多値化で用いる
誤差拡散重みマトリクスのサイズが、図11(a)〜
(d)のような、非常に小さなサイズのものでも十分な
高画質が得られるところにある。通常、2値化処理を行
う場合には、図11(c)(d)のように、誤差拡散対
象が隣接する2画素以下というような小さなマトリクス
で誤差拡散を行なうと、ドットが線状に連なって現れる
誤差拡散特有のパターンが目立ちやすくなり画質低下を
引き起こす。しかし、本実施例のプレ階調数変換部14
0のように、変換する階調数が8以上あるような場合に
は、図11(c)(d)に示したサイズの小さな誤差拡
散マトリクスを用いても、画質低下はそれ程生じない。
このため、プレ階調数変換部140では、後段のポスト
階調数変換部146で用いる誤差拡散マトリクスより
も、小さなサイズのマトリクスを用いることができる。
誤差拡散処理での演算量のほとんどを占めるのは、図1
2のステップS8のような誤差拡散工程であり、その演
算量はほぼ誤差拡散重みマトリクスのサイズに比例す
る。このため、プレ階調数変換部140での多値化処理
は、極めて少ない演算量で行なうことができる。例え
ば、ポスト階調数変換部146での2値化処理に比べる
と、プレ階調数変換部140での演算量は、極めて少な
い。さらに、上記構成の色補正部142での色補正は、
単に色補正テーブルメモリ134の内容を参照するだけ
であるから、プレ階調数変換部140および色補正部1
42でのトータルのデータ処理は、極めて高速に行なう
ことができる。
One of the major features of the configuration described above is that the size of the error diffusion weight matrix used in the multi-value quantization in the pre-gradation number conversion unit 140 is as shown in FIG.
Even in the case of a very small size as shown in (d), a sufficiently high image quality can be obtained. Normally, when the binarization processing is performed, as shown in FIGS. 11C and 11D, when the error diffusion is performed using a small matrix such that the error diffusion target is 2 pixels or less adjacent to each other, the dots become linear. The pattern peculiar to error diffusion, which appears in a row, becomes conspicuous and causes deterioration in image quality. However, the pre-gradation number conversion unit 14 of this embodiment is
In the case where the number of gradations to be converted is 8 or more, as in 0, even if the error diffusion matrix having a small size shown in FIGS. 11C and 11D is used, the image quality is not so deteriorated.
Therefore, the pre-gradation number conversion unit 140 can use a matrix having a smaller size than the error diffusion matrix used in the post-gradation number conversion unit 146 in the subsequent stage.
Most of the calculation amount in the error diffusion processing is shown in FIG.
This is an error diffusion process like step S8 of 2 and the amount of calculation is almost proportional to the size of the error diffusion weight matrix. Therefore, the multi-value conversion process in the pre-gradation number conversion unit 140 can be performed with an extremely small amount of calculation. For example, the amount of calculation in the pre-gradation number conversion unit 140 is extremely small as compared with the binarization processing in the post-gradation number conversion unit 146. Further, the color correction by the color correction unit 142 having the above configuration is
Since the contents of the color correction table memory 134 are simply referred to, the pre-gradation number conversion unit 140 and the color correction unit 1
The total data processing at 42 can be done very fast.

【0137】また、上記構成では、色補正部142は、
図15,図16に示した色補正テーブルメモリ134を
利用して、色補正と同時にRGBからCMYへの変換を
行なったが、CMY3色の外に黒インクKも用いるプリ
ンタ用に、CMYKの4色成分への変換を行なうものと
してもよい。例えば図15(a)に示したソフトウェア
により実現された色補正テーブルを、CMYKの4色の
テーブルに拡張する場合は、図19に示すように、CM
YKの4色分のテーブルを用意すればよい。このよう
に、用意する色補正テーブルを増やせば、色補正によっ
て必要な色成分の数が増加する場合にも、容易に対応す
ることができる。
Further, in the above configuration, the color correction section 142 is
The color correction table memory 134 shown in FIGS. 15 and 16 was used to perform color correction and conversion from RGB to CMY at the same time. However, for a printer that also uses black ink K in addition to the three colors of CMY, CMYK 4 It is also possible to perform conversion into color components. For example, when the color correction table realized by the software shown in FIG. 15A is expanded to the CMYK four-color table, as shown in FIG.
A table for four colors of YK should be prepared. In this way, by increasing the number of color correction tables to be prepared, it is possible to easily deal with the case where the number of color components necessary for color correction increases.

【0138】また、以上の説明では、原カラー画像デー
タORGがRGBの3色成分からなる場合について述べ
たが、原カラー画像データORGは、例えばCMYやC
IEのL* a* b* 、XYZ等どのような表色系による
ものを用いても良く、また図9に示したように、カラー
画像データを色補正部142で別の表色系による表現に
変換するようにしてもよい。
Further, in the above description, the case where the original color image data ORG is composed of three color components of RGB has been described, but the original color image data ORG may be, for example, CMY or C.
Any color system such as L * a * b * or XYZ of IE may be used, and as shown in FIG. 9, color image data is represented by another color system in the color correction unit 142. You may make it convert into.

【0139】[D]第1ないし第3実施例 以上詳しく説明した画像処理装置30の構成を前提とし
て、本発明の各実施例について説明する。 (1)第1実施例 この画像処理装置30に関するここまでの説明では、説
明を簡便にするため、色空間は、図6に示したように、
等間隔に分割され、その格子点300毎にデータを有す
る色補正テーブルが用意されているものとした。第1実
施例では、色空間の分割は、最終的な出力装置であるプ
リンタ22の使用インクCMYの低濃度領域で細かくさ
れている。既に述べたように、プレ階調数変換の変換後
の階調数がポスト階調数変換の最終的な階調数よりも十
分大きければ、プレ階調数変換の量子化ノイズは十分に
小さく、かつ誤差拡散や平均誤差最小法を採用していれ
ばその局所的な平均値は0になるため、出力画像の全体
についての量子化ノイズの実用上の影響は小さい。しか
しながら、プレ階調数変換の量子化ノイズは微小ではあ
っても存在するから、これは出力画像においてオンドッ
トの出現位置の乱れとして現れている。そのため、厳密
には、この量子化ノイズの影響は、オンドットの密度が
大きい高濃度や中濃度の領域では実質的に問題にならな
いが、ドット密度の小さい低濃度の領域において画質劣
化の原因となる可能性があると言える。そこで、この問
題を解消するために、本実施例では、図20に示すよう
に、低濃度領域で間隔が狭くなった格子点500をもつ
色補正テーブルCTを用いる。これに対応して、プレ階
調数変換においては、この格子点500の階調値(格子
点色データ)に原画像データを変換する。
[D] First to Third Embodiments Each embodiment of the present invention will be described based on the configuration of the image processing apparatus 30 described in detail above. (1) First Embodiment In the above description of the image processing apparatus 30, the color space is as shown in FIG. 6 for the sake of simplicity.
It is assumed that a color correction table that is divided at equal intervals and that has data for each grid point 300 is prepared. In the first embodiment, the color space is divided finely in the low density area of the used ink CMY of the printer 22 which is the final output device. As described above, if the number of gradations after conversion of the pre-gradation number conversion is sufficiently larger than the final number of gradations of the post-gradation number conversion, the quantization noise of the pre-gradation number conversion is sufficiently small. Moreover, if the error diffusion or the minimum average error method is adopted, the local average value becomes 0, so that the practical effect of the quantization noise on the entire output image is small. However, since the quantization noise of the pre-gradation number conversion is present even if it is minute, it appears as a disorder of the appearance position of the on-dot in the output image. Therefore, strictly speaking, the effect of this quantization noise is not a substantial problem in the high density and medium density areas where the on-dot density is high, but it is considered to be the cause of the image quality deterioration in the low density area where the dot density is low. It can be said that Therefore, in order to solve this problem, in the present embodiment, as shown in FIG. 20, a color correction table CT having grid points 500 whose intervals are narrow in the low density region is used. Correspondingly, in the pre-gradation number conversion, the original image data is converted into the gradation value (grid point color data) of this grid point 500.

【0140】具体例を挙げれば、原画像データが0〜2
55までの階調値をとる場合、これをプレ階調値変換に
よって、R、G、Bの各色につき、0、16、32、4
8、80、96、112、128、144、160、1
76、192、208、224、240、248、25
5の18段階の階調値に量子化する。この例では、量子
化ステップ、つまり隣り合う格子点の間隔は基本的に1
6であるが、階調値255の附近、つまり低濃度の領域
では、量子化ステップは値8又は値7のように小さくな
っている。第1実施例では、この格子点を用いて、図1
2に示した誤差拡散法により、プレ階調数変換をおこな
った。
As a specific example, the original image data is 0-2.
When taking gradation values up to 55, the gradation values are converted into 0, 16, 32, 4 for each color of R, G, B by pre gradation value conversion.
8, 80, 96, 112, 128, 144, 160, 1
76, 192, 208, 224, 240, 248, 25
5 is quantized into 18 gradation levels. In this example, the quantization step, that is, the interval between adjacent grid points is basically 1
However, in the vicinity of the gradation value 255, that is, in the low density region, the quantization step is as small as 8 or 7. In the first embodiment, the grid points are used in FIG.
The pre-gradation number conversion was performed by the error diffusion method shown in 2.

【0141】このように、低濃度領域で量子化ステップ
を小さくする点が、本実施例の大きな特徴である。従来
の補間演算による方法では、出力装置にインクジェット
などのプリンタ22を用いる場合には、逆に低濃度領域
の格子点間隔は大きく、中高濃度領域の格子点間隔は狭
くするのが適当であった。これは、低濃度領域ではドッ
ト同士が接触したり、重なったりする確率が低いため
に、入出力データの間の線形成が高く1次の補間演算で
も十分な精度が得られたのに対し、ドット密度が高い中
高濃度領域では線形性が大きく乱れるためである。本実
施例ではこのような従来の常識とは逆に、低濃度領域の
格子点間隔を狭くした色補正テーブルCTを用いて、低
濃度領域で出力データの変化量が小さくなるように設定
している。この結果、低濃度領域でのプレ階調数変換の
量子化ノイズが小さくなるため、低濃度領域におけるこ
の量子化ノイズによる画質劣化が低減され、出力画像の
画質が一層向上する。しかも、低濃度領域のみ、格子点
間隔を小さくしているので、色補正テーブルメモリ13
4の容量もさほど多くなることがない。
As described above, the point that the quantization step is reduced in the low density region is a major feature of this embodiment. In the conventional interpolation calculation method, when the printer 22 such as an ink jet printer is used as the output device, it is appropriate that the grid point spacing in the low density region is large and the grid point spacing in the middle and high density regions is narrow. . This is because the probability of dots coming into contact with each other or overlapping with each other in the low density region is low, line formation between input and output data is high, and sufficient accuracy can be obtained even in the first-order interpolation calculation. This is because the linearity is greatly disturbed in the medium and high density regions where the dot density is high. Contrary to this conventional wisdom, the present embodiment uses a color correction table CT in which the grid point intervals in the low-density area are narrowed and is set so that the amount of change in output data is small in the low-density area. There is. As a result, since the quantization noise of the pre-gradation number conversion in the low density area is reduced, the image quality deterioration due to the quantization noise in the low density area is reduced, and the image quality of the output image is further improved. Moreover, since the grid point interval is reduced only in the low density area, the color correction table memory 13
The capacity of 4 does not increase so much.

【0142】ところで、プレ階調数変換後のデータは次
に色補正テーブルCTに従って色補正される。一般に色
補正テーブルCTの変換特性はリニヤではないから、プ
レ階調数変換の量子化ステップは色補正後には異なった
形になる。色補正テーブルCTの変換特性によっては、
プレ階調数変換の量子化ステップが低濃度領域で十分小
さくても、色補正後のデータがもつ量子化ステップは、
各インク色について、低濃度領域で量子化ステップが小
さくなっていないことがあり得る。この場合には、色補
正テーブルCTの分割を、図20に示したように、RG
Bの各軸における低濃度領域で細かく分割しておいて
も、最終的に得られる画像では、低濃度領域で量子化ノ
イズの影響が現れてしまう。
By the way, the data after the pre-gradation number conversion is next color-corrected according to the color correction table CT. In general, since the conversion characteristic of the color correction table CT is not linear, the quantization step of the pre-gradation number conversion has a different shape after color correction. Depending on the conversion characteristics of the color correction table CT,
Even if the quantization step of pre-gradation number conversion is sufficiently small in the low density area, the quantization step of the data after color correction is
For each ink color, the quantization step may not be small in the low density region. In this case, the color correction table CT is divided into RGs as shown in FIG.
Even if finely divided in the low-density area on each axis of B, the effect of quantization noise appears in the low-density area in the finally obtained image.

【0143】そこで、プレ階調数変換の量子化ステップ
が低濃度領域で十分小さいだけでなく、それを色補正し
た後のデータが持つ量子化ステップも低濃度領域で十分
に小さくなるように、プレ階調数変換の量子化ステップ
を修正することが望ましい。この修正は、例えば図21
に示すように、次の各工程により行なうことができる。 まず、プレ階調数変換の量子化ステップを上記のよ
うに低濃度領域で十分小さくなるように暫定的に定め
(ステップS31)、これに合せて色補正テーブルCT
を作成した上で、実際に色補正を試行する(ステップS
32)。 この試行の結果得られた色補正後のデータの量子化
ステップをチェックする(ステップS33)。もし、そ
の量子化ステップが低濃度領域のいずれかの箇所におい
て、低濃度領域での量子化誤差の影響を無くすための所
定上限値以上かを判断し(ステップS34)、所定上限
値より大きければ、プレ階調数変換の量子化ステップの
うち、上記大きい箇所に関連する部分を一層小さく設定
し直し(ステップS35)、これに合せて色補正テーブ
ルの格子点間隔も修正する(ステップS36)。
Therefore, not only the quantization step of the pre-gradation number conversion in the low density area is sufficiently small, but also the quantization step of the data after color correction thereof is sufficiently small in the low density area. It is desirable to modify the quantization step of pre-tone conversion. This correction is made, for example, in FIG.
As shown in, it can be performed by the following steps. First, the quantization step of the pre-gradation number conversion is tentatively set so as to be sufficiently small in the low density area as described above (step S31), and the color correction table CT is correspondingly set.
After creating, actually try color correction (step S
32). The quantization step of the color-corrected data obtained as a result of this trial is checked (step S33). If the quantization step is greater than or equal to a predetermined upper limit value for eliminating the influence of the quantization error in the low density region in any part of the low density region (step S34), if it is larger than the predetermined upper limit value. Of the quantization steps of the pre-gradation number conversion, the portion related to the above-mentioned large portion is set to be smaller (step S35), and the grid point interval of the color correction table is also corrected accordingly (step S36).

【0144】このようにして最終的に、色補正後の量子
化ステップが低濃度領域で上記上限値より小さくなるよ
うに、プレ階調数変換の量子化ステップ及びそれに対応
した色補正テーブルCTの格子点間隔を修正する。こう
して修正された量子化ステップ及び色補正テーブルCT
を用いて、プレ階調数変換及び色補正を行なうことによ
り、低濃度領域におけるプレ階調数変換の量子化ノイズ
の影響が確実に低減される。
In this way, finally, the quantization step of the pre-gradation number conversion and the corresponding color correction table CT are set so that the quantization step after color correction becomes smaller than the upper limit value in the low density area. Correct the grid point spacing. The quantization step and color correction table CT thus modified
By performing the pre-gradation number conversion and the color correction by using, the influence of the quantization noise of the pre-gradation number conversion in the low density region can be surely reduced.

【0145】(2)第2実施例 本発明の第2実施例として、上記第1実施例と同一の構
成において、プレ階調数変換部140がディザ法により
階調数変換を行なうものを説明する。この実施例では、
プレ階調数変換は、図22に示した処理により行なわれ
る。この実施例では、4×4のディザマトリクスを用い
るものとする。ディザマトリクスの一例を図23に示
す。この例では、RGBの各色についてN階調(この実
施例では256階調)の原カラー画像データDa(0〜
255)を、M階調(この実施例では6階調)にプレ階
調数変換している。プレ階調数変換により得られる格子
点カラー画像データをGCで表わす。以下の説明では、
DiThはディザマトリクス番号を示し、図23に示し
たように、1から16の値をとる。また、プレ階調数変
換のために用意された格子点は、低濃度領域で狭く分割
され、RSLT[0]=0、RSLT[1]=70、R
SLT[2]=130、RSLT[3]=190、RS
LT[4]=235、RSLT[5]=255に設定さ
れている。このほか、各格子点間距離Dist[i]を Dist[i]=RSLT[i+1]−RSLT[i] i=0,1,…4 と定義する。なお、原カラー画像データDaが値255
を採った場合に後述する隔たりoffstを求める演算
の結果を保証するために、Dist[5]=1と定義し
ておく。
(2) Second Embodiment A second embodiment of the present invention will be described in which the pre-gradation number conversion section 140 performs the gradation number conversion by the dither method in the same configuration as the first embodiment. To do. In this example,
The conversion of the number of pre-gradations is performed by the process shown in FIG. In this embodiment, a 4 × 4 dither matrix is used. FIG. 23 shows an example of the dither matrix. In this example, original color image data Da (0 to 0) of N gradations (256 gradations in this embodiment) for each color of RGB is used.
255) is converted into pre-gradation number into M gradation (6 gradations in this embodiment). The grid point color image data obtained by the pre-gradation number conversion is represented by GC. In the explanation below,
DiTh represents a dither matrix number, and takes a value of 1 to 16 as shown in FIG. Further, the grid points prepared for the pre-gradation number conversion are narrowly divided in the low density region, and RSLT [0] = 0, RSLT [1] = 70, RLT
SLT [2] = 130, RSLT [3] = 190, RS
LT [4] = 235 and RSLT [5] = 255 are set. In addition, the distance Dist [i] between each lattice point is defined as Dist [i] = RSLT [i + 1] −RSLT [i] i = 0, 1 ,. The original color image data Da has a value of 255.
In order to guarantee the result of the calculation for obtaining the offset offst described later when is taken, Dist [5] = 1 is defined.

【0146】図22に示したプレ階調数変換が開始され
ると、まず着目している画素の原カラー画像データDa
を入力する処理を行なう(ステップS40)。その後、
この画素に対応するディザマトリクス番号DiThから
これを値0〜1の範囲で正規化した値DDHを求める処
理を行なう(ステップS41)。値DDHは、次式
(3)により求めている。
When the pre-gradation number conversion shown in FIG. 22 is started, the original color image data Da of the pixel of interest is first obtained.
Is input (step S40). afterwards,
A process for obtaining a value DDH obtained by normalizing the dither matrix number DiTh corresponding to this pixel in a value range of 0 to 1 is performed (step S41). The value DDH is calculated by the following equation (3).

【0147】[0147]

【数3】 (Equation 3)

【0148】ディザマトリクス番号DiThを求める処
理は、注目画素の走査方向位置をp、副走査方向位置を
qとして、[p%4,q%4]の位置の値を図23に示
したマトリクスから求めることにより行なわれる。ここ
で、%は剰余演算子である。図23のマトリクスからデ
ィザマトリクス番号DiThを求めるには、[0,0]
〜[3,3]を要素とする関数(例えばGetMatr
ix[x,y])を予め定義しておけばよい。
In the process of obtaining the dither matrix number DiTh, the value of the position [p% 4, q% 4] is set from the matrix shown in FIG. 23, where p is the position in the scanning direction of the pixel of interest and q is the position in the sub-scanning direction. It is done by asking. Here,% is a remainder operator. To obtain the dither matrix number DiTh from the matrix of FIG. 23, [0,0]
A function whose elements are [3, 3] (for example, GetMatr)
ix [x, y]) may be defined in advance.

【0149】こうしてディザマトリクス番号DiThを
正規化した値DDHを得た後、変換階調数番号を示す変
数Xに値0を設定し(ステップS42)、次に、この階
調数番号Xにより定まる格子点の値RSLT[X]と原
カラー画像データDaとを比較する処理を行なう(ステ
ップS43)。なお、この説明では、比較される原カラ
ー画像データDaは、特に色成分を特定していないが、
実際には、各色成分毎に比較を行なうことになる。原カ
ラー画像データDaが格子点の値RSLT[X]以下で
なければ、変数Xを値1だけインクリメントし(ステッ
プS44)、再度両者を比較する。即ち、原カラー画像
データDaが格子点の値RSLT[X]以下となるま
で、順次格子点に対応した値を大きくしてゆくのであ
る。
After the value DDH obtained by normalizing the dither matrix number DiTh is obtained in this manner, the value 0 is set to the variable X indicating the converted gradation number (step S42), and then the gradation number X is determined. A process of comparing the grid point value RSLT [X] with the original color image data Da is performed (step S43). In this description, although the original color image data Da to be compared does not specify a color component,
Actually, the comparison is performed for each color component. If the original color image data Da is not less than or equal to the value RSLT [X] of the grid point, the variable X is incremented by 1 (step S44), and both are compared again. That is, the values corresponding to the grid points are successively increased until the original color image data Da becomes equal to or smaller than the grid point value RSLT [X].

【0150】この結果、いずれ原カラー画像データDa
が格子点の値RSLT[X]以下となるから(ステップ
S43)、次に原カラー画像データDaとステップS4
3で比較した格子点との隔たりoffstを計算する処
理を行なう(ステップS45)。隔たりoffstは、
原カラー画像データDaがこれを挟む格子点間の距離D
ist[X−1]に対して正規化した値として、次式
(4)により計算される。
As a result, the original color image data Da
Becomes equal to or smaller than the value RSLT [X] of the grid point (step S43), the next step is the original color image data Da and step S4.
A process for calculating the offset off from the grid point compared in 3 is performed (step S45). The gap offst is
The original color image data Da is the distance D between the grid points that sandwich it.
It is calculated by the following equation (4) as a value normalized to ist [X-1].

【0151】[0151]

【数4】 (Equation 4)

【0152】そこで、続けて、この隔たりoffstと
ディザマトリクス番号DiThを正規化した値DDHと
を比較する処理を行なう(ステップS46)。両者を比
較して隔たりoffstの方が大きければ、原カラー画
像データDaを、これを挟む両格子点のうち値の大きな
側の格子点に割り当てるべく、変数Xに対応する格子点
の値RSLT[X]を結果値RSLに設定し(ステップ
S47)、隔たりoffstの方が小さければ、原カラ
ー画像データDaを、これを挟む両格子点のうち値の小
さな側の格子点に割り当てるべく、変数X−1に対応す
る格子点の値RSLT[X−1]を結果値RSLに設定
する処理を行なう(ステップS48)。その後、注目画
素を次の画素に移動する処理を行ない(ステップS4
9)、上述した処理を、原カラー画像データの最後まで
繰り返す。
Then, subsequently, a process of comparing the gap offst with a value DDH obtained by normalizing the dither matrix number DiTh is performed (step S46). If the two are compared and the offset is larger, the original color image data Da is assigned to a grid point value RSLT [corresponding to the variable X in order to assign the original color image data Da to a grid point having a larger value among the grid points sandwiching the original color image data Da. X] is set to the result value RSL (step S47), and if the offset offst is smaller, the variable X is assigned to assign the original color image data Da to the grid point on the smaller value side of both grid points sandwiching it. A process of setting the value RSLT [X-1] of the grid point corresponding to -1 to the result value RSL is performed (step S48). After that, a process of moving the pixel of interest to the next pixel is performed (step S4).
9), the above process is repeated until the end of the original color image data.

【0153】以上の処理によれば、原カラー画像データ
Daの階調数を256階調から6階調に変換することが
でき、しかも分散型のディザマトリクス(図23)を用
いて、適度にばらついた格子点カラー画像データに変換
することができる。図14を用いた例では、原カラー画
像データにノイズとしてディザマトリクスによるデータ
を加えてこうしたばらつきを作ったが、本実施例では、
原カラー画像データDaをこれを挟む両格子点のいずれ
に割り当てるかを判断する際に、ディザマトリクスを利
用したばらつきを発生させている。即ち、本実施例で
は、ディザマトリクスとして用意されたディザマトリク
ス番号DiThを用いて正規化された値DDHを用い
て、隣接する格子点からの隔たりの判断を行なっている
ので、例えば隣接する画素の原カラー画像データDaが
同一の値であっても、異なる格子点に割り当てられるこ
とが生じるのである。組織的ディザ法を用いた場合を、
平均誤差最小法や誤差拡散法と比較すると、誤差拡散計
算が不要となるため、画像処理に要する時間を一層短く
することができる上に、誤差記憶のためのメモリ等が不
必要になりハードウェア資源が節約されるという大きな
メリットがある。
According to the above processing, the number of gradations of the original color image data Da can be converted from 256 gradations to 6 gradations, and moreover, by using the dispersed type dither matrix (FIG. 23), the gradation can be appropriately adjusted. It can be converted into scattered grid point color image data. In the example using FIG. 14, such variation is created by adding data by the dither matrix to the original color image data as noise, but in the present embodiment,
When deciding which one of both grid points that sandwich the original color image data Da is assigned, a variation using a dither matrix is generated. That is, in this embodiment, since the value DDH normalized using the dither matrix number DiTh prepared as the dither matrix is used to determine the distance from the adjacent grid point, for example, the adjacent pixels are separated. Even if the original color image data Da has the same value, they may be assigned to different grid points. When using the systematic dither method,
Compared with the average error minimum method and the error diffusion method, the error diffusion calculation is not required, so the time required for image processing can be further shortened, and a memory etc. for storing the error becomes unnecessary, and the hardware The great advantage is that resources are saved.

【0154】(3)第3実施例 第3実施例としての画像処理装置30は、図24に示す
ように、第1実施例で説明したプレ階調数変換部140
(図9参照)内に、メインデータ出力部140aとサブ
データ出力部140bを有し、更に補間演算部148を
有する。即ち、第2実施例の画像処理装置30は、プレ
階調数変換の量子化ノイズを低減するため、第1実施例
の構成に加えて、プレ階調数変換から色補正テーブルC
Tによる色補正の過程で補間演算を行なう構成を備える
のである。
(3) Third Embodiment As shown in FIG. 24, the image processing apparatus 30 according to the third embodiment has the pre-gradation number conversion unit 140 described in the first embodiment.
In FIG. 9, a main data output section 140a and a sub data output section 140b are provided, and an interpolation calculation section 148 is further provided. That is, in order to reduce the quantization noise of the pre-gradation number conversion, the image processing device 30 of the second embodiment adds the pre-gradation number conversion to the color correction table C in addition to the configuration of the first embodiment.
The configuration is such that interpolation calculation is performed in the process of color correction by T.

【0155】R、G、Bの3次元空間で行なう補間演算
の従来の手法には、直方体の8頂点の座標値を用いる8
点補間法、演算を簡易にするために考慮に入れる頂点数
を間引いた6点補間法及び4点補間法(例えば特公昭5
8−16180)が知られており、これらはいずれも3
次元の補間法である。これに対し、この実施例では1次
元の補間法を用いる。即ち、本実施形態ではR、G、B
の3色のデータの内、求めたい出力色に対して最も大き
な影響を持つ入力色成分(これを、以下、主要色と呼
ぶ)のみに関して、前後の量子化値を用いて補間を行な
う。例えば、RGB入力データをCMY出力データに変
換する場合には、Cの主要色はR,Mの主要色はG,Y
の主要色はBのように、それぞれの補色成分を主要色と
して、その色成分に関してのみ前後の量子化値を用いて
補間を行なう。これは、それぞれの出力色成分の出力結
果に対して大きな影響を与えるのはその主要色成分であ
り、主要色以外の色成分の値が多少変化しても出力結果
にはあまり変化しないという性質を利用し、主要色成分
に関してのみの補間演算で十分な精度を得ようとするも
のである。
In the conventional method of interpolation calculation performed in the three-dimensional space of R, G, B, the coordinate values of eight vertices of a rectangular parallelepiped are used.
The point interpolation method, the 6-point interpolation method and the 4-point interpolation method in which the number of vertices to be taken into consideration for simplifying the calculation are thinned out (for example, Japanese Patent Publication No.
8-16180), and these are all 3
Dimensional interpolation method. On the other hand, in this embodiment, a one-dimensional interpolation method is used. That is, in this embodiment, R, G, B
Among the three color data of (3), only the input color component (hereinafter, referred to as the main color) that has the greatest influence on the desired output color is interpolated using the quantized values before and after. For example, when converting RGB input data to CMY output data, the main color of C is R and the main color of M is G and Y.
As for the main color of B, each complementary color component is used as a main color, and interpolation is performed using the preceding and following quantized values only for that color component. This is because the main color component has a large effect on the output result of each output color component, and the output result does not change much even if the values of the color components other than the main color change slightly. Is used to obtain sufficient accuracy by interpolation calculation only for the main color components.

【0156】具体的に説明する。ここで、原画像データ
を(R、G、B)で表し、プレ階調数変換後のデータを
(R’、G’、B’)で表す。また、データ(R’、
G’、B’)に色補正テーブルCTを適用して得られた
データのC、M、Y各色成分をLUT_C(R’、
G’、B’)、LUT_M(R’、G’、B’)、LU
T_Y(R’、G’、B’)で表す。また、最終的な色
補正変換後のデータを(C”、M”、Y”)で表す。
A specific description will be given. Here, the original image data is represented by (R, G, B), and the data after the pre-gradation number conversion is represented by (R ', G', B '). In addition, the data (R ',
G ', B'), the C, M, Y color components of the data obtained by applying the color correction table CT to LUT_C (R ',
G ', B'), LUT_M (R ', G', B '), LU
It is represented by T_Y (R ', G', B '). The data after the final color correction conversion is represented by (C ″, M ″, Y ″).

【0157】今、或る画素の原画像データ(R、G、
B)がプレ階調数変換の格子点に対して図25に示すよ
うに、 R'1<R<R'2、G'1<G<G'2、B'1<B<B'2 の関係にあり、この原データ(R、G、B)をプレ階調
数変換した結果、データ(R'1、G'2、B'1)が得られ
たとする(以下、このデータをメインデータという)。
Now, the original image data (R, G,
As shown in FIG. 25, B) is for the grid points of the pre-gradation number conversion, R'1 <R <R'2, G'1 <G <G'2, B'1 <B <B'2. It is assumed that the data (R'1, G'2, B'1) is obtained as a result of pre-gradation number conversion of this original data (R, G, B) (hereinafter, this data will be the main Data).

【0158】この場合、プレ階調数変換では更に、上記
メインデータ(R'1、G'2、B'1)の他に、メインデー
タと主要色成分のみが原データを挟んで反対側の格子点
上にあるデータをサブデータとして出力する。メインデ
ータは各色成分で共通だが、サブデータは各色成分ごと
に異なるものとなる。次に各色成分ごとにメインデータ
とサブデータ両方に関して、色補正テーブルを適用し
て、次のようにして一次元補間に必要な2つの値を取得
する。 RをCの主要色として、LUT_C(R'1,G'
2,B'1)及びLUT_C(R'2,G'2,B'1) GをMの主要色として、LUT_M(R'1,G'
2,B'1)及びLUT_M(R'1,G'1,B'1) BをYの主要色として、LUT_Y(R'1,G'
2,B'1)及びLUT_Y(R'1,G'2,B'2) このように、メインデータ(R'1,G'2,B'1)に
色補正テーブルを適用する他に、各色ごとに、その主要
色成分のみをサブデータのそれに変更したデータに対し
ても色補正テーブルCTを適用して、一次元補間に必要
な2つの値を取得する。
In this case, in the pre-gradation number conversion, in addition to the main data (R'1, G'2, B'1), only the main data and the main color components are on the opposite side of the original data. The data on the grid points is output as sub data. The main data is common to each color component, but the sub data is different for each color component. Next, the color correction table is applied to both the main data and the sub data for each color component, and two values necessary for one-dimensional interpolation are acquired as follows. LUT_C (R'1, G ', where R is the main color of C
2, B'1) and LUT_C (R'2, G'2, B'1) G is the main color of M, and LUT_M (R'1, G '
2, B'1) and LUT_M (R'1, G'1, B'1) LUT_Y (R'1, G'with B as the main color of Y
2, B'1) and LUT_Y (R'1, G'2, B'2) In this way, in addition to applying the color correction table to the main data (R'1, G'2, B'1), For each color, the color correction table CT is applied to the data in which only the main color component is changed to that of the sub data, and two values required for one-dimensional interpolation are acquired.

【0159】次に、色補正の最終段階として、次のよう
に一次元補間演算を行なって最終的なデータ(C”、
M”、Y”)を得る。
Next, as the final stage of color correction, one-dimensional interpolation calculation is performed as follows to obtain the final data (C ″,
M ", Y").

【0160】C”は、LUT_C(R'1、G'2、B'1)
とLUT_C(R'2、G'2、B'1)の補間演算結果、
M”は、LUT_M(R'1、G'2、B'1)とLUT_M
(R'1、G'1、B'1)の補間演算結果、Y”は、LUT
_Y(R'1、G'2、B'1)とLUT_Y(R'1、G'2、
B'2)の補間演算結果である。ここで、各色成分の補間
演算は、各色成分についての原データとメインデータ及
びサブデータとの距離に応じた重み係数を用いて行な
う。例えば、R(C)成分に関して、原データとメイン
データ及びサブデータとが、図26に示すように、距離
d1、d2だけ隔たっているならば、C”は、次式(5)
により求められる。
C "is LUT_C (R'1, G'2, B'1)
And LUT_C (R'2, G'2, B'1) interpolation calculation result,
M ″ is LUT_M (R′1, G′2, B′1) and LUT_M
Interpolation result of (R'1, G'1, B'1), Y "is LUT
_Y (R'1, G'2, B'1) and LUT_Y (R'1, G'2,
B'2) is an interpolation calculation result. Here, the interpolation calculation of each color component is performed using a weighting coefficient according to the distance between the original data and the main data and the sub data for each color component. For example, regarding the R (C) component, if the original data is separated from the main data and the sub data by the distances d1 and d2 as shown in FIG. 26, C ″ is given by the following equation (5).
Required by.

【0161】[0161]

【数5】 (Equation 5)

【0162】以上のような主要色に関してのみの一次元
補間は、計算が簡単であり、しかもプレ階調数変換の量
子化ノイズを効果的に低減することができる。尚、この
補間演算は、低濃度領域のみに限定して行なってもよ
い。
The one-dimensional interpolation only for the main colors as described above is simple in calculation, and the quantization noise of the pre-gradation number conversion can be effectively reduced. The interpolation calculation may be performed only in the low density area.

【0163】[E]第4ないし第8実施例に共通の画像
処理の詳細 上述した第1ないし第3実施例では、色補正テーブルC
T作成する際、色空間を低濃度領域において細かく分割
して得られる格子点を用いている。これに対して、第3
実施例以降では、色補正テーブルCTは、図6に示した
ように、色空間を等間隔に分割して作成されている。以
下の実施例では、色空間を低濃度領域で細かく分割する
構成に代えて、図27に示すように、スムージング処理
部150を備えた構成を採っている。以下、スムージン
グ処理部150の構成を中心に、各実施例に共通の画像
処理について説明する。
[E] Details of Image Processing Common to Fourth to Eighth Embodiments In the first to third embodiments described above, the color correction table C is used.
When T is created, grid points obtained by finely dividing the color space in the low density area are used. In contrast, the third
In the following examples, the color correction table CT is created by dividing the color space at equal intervals, as shown in FIG. In the following embodiment, instead of the configuration in which the color space is finely divided in the low density area, a configuration including a smoothing processing unit 150 is adopted as shown in FIG. Hereinafter, the image processing common to each embodiment will be described focusing on the configuration of the smoothing processing unit 150.

【0164】以下に説明する画像処理装置30Aでは、
プレ階調数変換の量子化ノイズを減らすために、プレ階
調数変換及び色補正の後にスムージング処理を行なう。
この処理では、色補正後の画像内の各画素にラスタスキ
ャン順序で逐次注目し、その注目画素のデータとその近
傍の幾つかの画素のデータに対し重み係数をもつスムー
ジングフィルタを適用してそれらデータの加重平均を求
め、その加重平均値をその注目画素の新たなデータとす
る。これを全ての画素について繰り返す。
In the image processing apparatus 30A described below,
In order to reduce the quantization noise in the pre-gradation number conversion, smoothing processing is performed after the pre-gradation number conversion and color correction.
In this process, each pixel in the image after color correction is sequentially focused on in the raster scan order, and a smoothing filter having a weighting coefficient is applied to the data of the pixel of interest and the data of some neighboring pixels A weighted average of the data is obtained, and the weighted average value is set as new data of the pixel of interest. This is repeated for all pixels.

【0165】図28は、スムージングフィルタの幾つか
の例を示す。同図(A)は1次元3画素スムージングフ
ィルタの例を示し、各画素内にその画素の重み係数が示
されている。図示するように、注目画素Piとこれに同
一ライン上で隣接する2つの画素Pi-1、Pi+1とに対
し、均等な1/3の重み係数をもつスムージングフィル
タが適用される。つまり、これら3画素Pi-1、Pi、
Pi+1のデータをそれぞれ(Ci-1、Mi-1、Yi-1)、
(Ci、Mi、Yi)、(Ci+1、Mi+1、Yi+1)とする
と、注目画素Piの最終的なデータ(C、M、Y)は、 C=(Ci-1 + Ci + Ci+1)/3 M=(Mi-1 + Mi + Ci+1)/3 Y=(Yi-1 + Yi + Yi+1)/3 となる。尚、重み係数は、注目画素に重く隣接画素に軽
くというように不均等にしてもよい。図28(B)ない
し(D)は、隣接するラインの画素データまで参照する
2次元のスムージングフィルタの例を示す。同図(B)
は、注目画素Piが属するラインの一つ手前のラインを
含めた6画素を参照するもので、均等な重み係数を持つ
例を示す。同図(C)は上下のラインを含めた9画素を
参照するもので、やはり均等な重み係数を持つフィルタ
の一例を示す。更に、同図(D)は同図(C)から重み
係数だけを不均等にしたフィルタの一例を示している。
FIG. 28 shows some examples of smoothing filters. FIG. 3A shows an example of a one-dimensional three-pixel smoothing filter, and the weighting coefficient of that pixel is shown in each pixel. As shown in the figure, a smoothing filter having a uniform weighting factor of 1/3 is applied to the pixel of interest Pi and two adjacent pixels Pi-1 and Pi + 1 on the same line. That is, these three pixels Pi-1, Pi,
The data of Pi + 1 is (Ci-1, Mi-1, Yi-1),
Assuming that (Ci, Mi, Yi) and (Ci + 1, Mi + 1, Yi + 1), the final data (C, M, Y) of the pixel of interest Pi is C = (Ci-1 + Ci + Ci + 1) / 3 M = (Mi-1 + Mi + Ci + 1) / 3 Y = (Yi-1 + Yi + Yi + 1) / 3 The weighting factors may be unequal, such that the weighted pixel is heavy and the adjacent pixels are lightly weighted. 28B to 28D show an example of a two-dimensional smoothing filter that refers to pixel data of adjacent lines. Fig. (B)
Refers to 6 pixels including the line immediately preceding the line to which the pixel of interest Pi belongs, and shows an example having uniform weighting factors. FIG. 6C refers to 9 pixels including the upper and lower lines, and also shows an example of a filter having a uniform weight coefficient. Further, FIG. 6D shows an example of a filter in which only the weighting factors are made unequal from FIG.

【0166】こうしたスムージングの処理を行なうこと
により、プレ階調数変換により生じた量子化誤差の影響
による最終的な出力画像の画質の低下という問題を解消
することができる。また、ポスト階調数変換において、
従来分散型のディザ法を用いると、プレ階調数変換にお
ける量子化誤差の影響が現われ、画質が劣化する場合が
見られたが、ポスト階調数変換前に、スムージングを行
なうことにより、ポスト階調数変換に分散型ディザを採
用しても、画質の低下は見られなくなる。したがって、
ポスト階調数変換として、誤差拡散法、平均誤差最小
法、集中型ディザの他、分散型ディザも採用可能となっ
た。
By performing such smoothing processing, it is possible to solve the problem that the image quality of the final output image is deteriorated due to the influence of the quantization error caused by the pre-gradation number conversion. Also, in post-gradation number conversion,
When the conventional distributed dither method is used, the effect of the quantization error in the pre-gradation number conversion appears and the image quality may deteriorate, but by performing smoothing before the post-gradation number conversion, Even if the distributed dither is used for the gradation number conversion, the image quality is not deteriorated. Therefore,
In addition to the error diffusion method, the minimum average error method, and the centralized dither, the distributed dither can be adopted as the post-gradation number conversion.

【0167】ところで、スムージング処理は階調が均等
または連続的にグラデートする領域でプレ階調数変換の
量子化ノイズを低減するが、反面、文字や図形などのエ
ッジの明快さを失わせる問題がある。そこで、エッジ検
出を併用し、検出されたエッジの画素のスムージング処
理はエッジの明快さを損なわないように修正することが
望ましい。例えば、注目画素の値と隣接する画素の値と
の差分を求め、この差分が所定値より大きければエッジ
と判断し、注目画素の値に対するスムージング処理で
は、注目画素に隣接する画素を参照しないようにするの
である。
By the way, the smoothing process reduces the quantization noise of the pre-gradation number conversion in the region where the gradation is uniform or continuous, but on the other hand, there is a problem that the clarity of the edges of characters and figures is lost. is there. Therefore, it is desirable to use edge detection together and modify the smoothing processing of the pixels of the detected edge so as not to impair the clarity of the edge. For example, the difference between the value of the target pixel and the value of the adjacent pixel is calculated, and if this difference is larger than a predetermined value, it is determined as an edge, and in the smoothing process for the value of the target pixel, the pixel adjacent to the target pixel is not referred to. To do.

【0168】こうした処理については、後述する実施例
で詳しく説明するが、その概要を示すと次の通りであ
る。図28(A)示した1次元3画素スムージングの場
合であれば、エッジか否かの判断基準となる所定値をA
とすると、C色成分の値に関して、次式(6)の処理を
行なえば良い。ここで、Ciは、注目画素iのC色成分
の値、Ci-1,Ci+1は、注目画素の前後に隣接する画素
のC色成分の値である。
Such processing will be described in detail in the embodiment described later, but the outline thereof is as follows. In the case of the one-dimensional three-pixel smoothing shown in FIG. 28A, a predetermined value which is a criterion for determining whether an edge is A is set.
Then, the processing of the following expression (6) may be performed on the value of the C color component. Here, Ci is the value of the C color component of the target pixel i, and Ci-1 and Ci + 1 are the values of the C color component of the pixels adjacent before and after the target pixel.

【0169】[0169]

【数6】 (Equation 6)

【0170】M、Yの色成分値についても同様の処理を
行なう。これにより、隣接画素との階調差の絶対値が所
定値A以上であるエッジ部分の画素については、スムー
ジングの処理では、その隣接画素を参照していないの
で、エッジ以外の領域の画像の画質をスムージングによ
り高め、かつエッジの明快さを失うことがない。
Similar processing is performed for M and Y color component values. As a result, regarding the pixel of the edge portion where the absolute value of the gradation difference from the adjacent pixel is the predetermined value A or more, since the adjacent pixel is not referred to in the smoothing process, the image quality of the image of the area other than the edge Is improved by smoothing, and the clarity of the edge is not lost.

【0171】[F]第4ないし第7実施例 (1)第4実施例 第4実施例の画像処理装置30Aでは、プレ階調数変換
部140,色補正部142,スムージング処理部150
は、図27に示した処理により実現される。スムージン
グ処理部150は、図2に示した構成では、色補正モジ
ュール98に含まれている。この実施例では、注目画素
の主走査方向の位置をhとして、副走査方向の位置をv
として示す。また、以下の説明では、プレ階調数変換部
140により階調数変換される前の原カラー画像データ
ORGの各色成分を、Rs[h,v]、Gs[h,
v]、Bs[h,v]として記載し、プレ階調数変換後
の格子点カラー画像データGCDの各色成分を、Rn
[h,v]、Gn[h,v]、Bn[h,v]と表わす
ものとする。プレ階調数変換により、階調数は、本実施
例では各色16階調あるいは8階調に低減されており、
このデータRn[h,v]等は、何番目の格子点に割り
当てられたものであるかを示していると見ることもでき
る。第4実施例では、色補正テーブルCTは、RGBか
らCMYKの4色への変換を含むテーブルであり、この
色補正データGCDの各色成分を、Cc[h,v]、M
c[h,v]、Yc[h,v]、Kc[h,v]と記載
する。なお、図29では、図示の都合上、[h,v]を
省略して記載することがある。
[F] Fourth to Seventh Embodiments (1) Fourth Embodiment In the image processing apparatus 30A of the fourth embodiment, the pre-gradation number conversion unit 140, the color correction unit 142, and the smoothing processing unit 150 are used.
Is realized by the processing shown in FIG. The smoothing processing unit 150 is included in the color correction module 98 in the configuration shown in FIG. In this embodiment, the position of the pixel of interest in the main scanning direction is h, and the position in the sub scanning direction is v.
As shown. Further, in the following description, each color component of the original color image data ORG before the gradation number conversion by the pre-gradation number conversion unit 140 is represented by Rs [h, v], Gs [h,
v], Bs [h, v], and each color component of the grid point color image data GCD after the pre-gradation number conversion is Rn.
These are represented as [h, v], Gn [h, v], and Bn [h, v]. By the pre-gradation number conversion, the number of gradations is reduced to 16 or 8 in each color in this embodiment.
It can be seen that the data Rn [h, v] and the like indicate which grid point is assigned. In the fourth embodiment, the color correction table CT is a table including conversion from RGB to four colors of CMYK, and each color component of this color correction data GCD is represented by Cc [h, v], M.
It is described as c [h, v], Yc [h, v], Kc [h, v]. Note that in FIG. 29, [h, v] may be omitted for convenience of illustration.

【0172】図29に示した処理が開始されると、まず
プレ階調数変換部140によりプレ階調数変換を行なう
(ステップS50)。プレ階調数変換は、原カラー画像
データORGに相当する各色成分Rs[h,v],Gs
[h,v],Bs[h,v]を、予め用意した格子点に
割り当て、その階調数を低減する処理である。その手法
については、第1ないし第3実施例で詳しく説明した。
図29では、プレ階調数変換を関数PreConv()
として示した。このプレ階調数変換により得られる格子
点カラー画像データGCDの各色成分がRn[h,
v],Gn[h,v],Bn[h,v]である。
When the processing shown in FIG. 29 is started, the pre-gradation number conversion unit 140 first performs the pre-gradation number conversion (step S50). The pre-gradation number conversion is performed for each color component Rs [h, v], Gs corresponding to the original color image data ORG.
[H, v] and Bs [h, v] are assigned to grid points prepared in advance and the number of gradations is reduced. The method has been described in detail in the first to third embodiments.
In FIG. 29, the pre-gradation number conversion is performed by the function PreConv ().
As shown. Each color component of the grid point color image data GCD obtained by this pre-gradation number conversion is Rn [h,
v], Gn [h, v], and Bn [h, v].

【0173】次に、プレ階調数変換により得られた格子
点カラー画像データの各色成分に基づいて、色補正テー
ブルメモリ134に予め記憶された色補正テーブルCT
を参照し、色補正を行なう(ステップS51)。この処
理は、色補正部142による処理に相当する。色補正に
合わせて、RGBから、最終的なカラープリンタ22の
出力するインク色であるCMYKの4色への変換も行な
われる。色補正処理により得られる色補正データCCD
の各色成分がCc[h,v],Mc[h,v],Yc
[h,v],Kc[h,v]である。なお、図29で
は、色補正の処理を、色補正テーブルCTを参照する
(ルックアップする)ことから、関数RefLUT()
として示した。
Next, based on each color component of the grid point color image data obtained by the pre-gradation number conversion, the color correction table CT stored in advance in the color correction table memory 134.
And color correction is performed (step S51). This processing corresponds to the processing by the color correction unit 142. In accordance with the color correction, conversion from RGB to four colors of CMYK, which is the ink color that is finally output from the color printer 22, is also performed. Color correction data CCD obtained by color correction processing
Each color component of Cc [h, v], Mc [h, v], Yc
[H, v] and Kc [h, v]. In FIG. 29, since the color correction processing is referred to (looked up) in the color correction table CT, the function RefLUT ()
As shown.

【0174】こうして色補正データCCDの各色成分を
得た後、本実施例のスムージング処理部150によるス
ムージング処理を行なう。このスムージング処理では、
まず、注目している画素[h,v]とこれに近接する画
素との間でスムージングの処理を行なうか否かの判断を
行なう(ステップS52)。どういう場合にスムージン
グの処理を行なうかについては、様々な手法が考えられ
ることは、上述した通りであるが、この実施例では、図
30に示したように、注目画素のプレ階調数変換後のデ
ータRn[h,v],Gn[h,v],Bn[h,v]
とこれに隣接する一つ前の画素[h−1,v]の各デー
タとの差が、各色成分について値1以下である場合に、
スムージングの処理を行なうと判断している。即ち、着
目している画素の各色成分とその主走査方向に一つ前の
画素の各色成分とが、プレ階調数変換部140による変
換によって、同一または隣接する格子点を上にある場合
に、スムージング処理を行なうと判断するのである。か
かる判断により、画像に本来備わっているエッジなどで
はスムージングの処理を行なわないと判断する。
After each color component of the color correction data CCD is obtained in this way, smoothing processing is performed by the smoothing processing unit 150 of this embodiment. In this smoothing process,
First, it is determined whether or not the smoothing process is performed between the pixel [h, v] of interest and the pixels adjacent thereto (step S52). As described above, various methods are conceivable as to when to perform the smoothing process. However, in this embodiment, as shown in FIG. Data Rn [h, v], Gn [h, v], Bn [h, v]
And the difference between each pixel and the data of the immediately preceding pixel [h−1, v] adjacent thereto is less than or equal to 1 for each color component,
It is determined that smoothing processing will be performed. That is, in the case where each color component of the pixel of interest and each color component of the pixel immediately preceding in the main scanning direction are on the same or adjacent grid points by the conversion by the pre-gradation number conversion unit 140. , It is determined that the smoothing process is to be performed. Based on this determination, it is determined that the smoothing process is not performed on the edge or the like that is inherent in the image.

【0175】スムージングの処理を行なわないと判断し
た場合には、注目画素の色補正された各色成分Cc
[h,v],Mc[h,v],Yc[h,v],Kc
[h,v]をそのまま出力データCs,Ms,Ys,K
sとし(ステップS53)、ポスト階調数変換部146
に出力する。他方、スムージングの処理を行なうと判断
した場合には、一つ前の画素の色補正後の各色成分Cc
[h−1,v],Mc[h−1,v],Yc[h−1,
v],Kc[h−1,v]と注目画素の各色成分との加
算平均を演算し(ステップS54)、これを出力データ
として、次のポスト階調数変換部146によるポスト階
調数変換に移行する。本実施例では、ポスト階調数変換
処理としては、カラープリンタ22の出力がインクドッ
トを形成する・しないの2値的なものであることから、
誤差拡散などのハーフトーニングの処理を行なってい
る。この処理についての説明は省略する。
When it is determined that the smoothing process is not performed, the color-corrected color components Cc of the target pixel are
[H, v], Mc [h, v], Yc [h, v], Kc
The output data Cs, Ms, Ys, and K are directly used as [h, v].
s (step S53), the post gradation number conversion unit 146
Output to On the other hand, when it is determined that the smoothing process is performed, each color component Cc after the color correction of the immediately preceding pixel is performed.
[H-1, v], Mc [h-1, v], Yc [h-1,
v], Kc [h−1, v] and the respective color components of the pixel of interest are calculated (step S54), and this is used as output data, and the post-gradation-number conversion unit 146 performs post-gradation-number conversion. Move to. In the present embodiment, the post-gradation number conversion process is a binary process in which the output of the color printer 22 forms or does not form ink dots.
Performs half-toning processing such as error diffusion. A description of this process is omitted.

【0176】以上のように構成された第4実施例の画像
処理装置30Aでは、スムージング処理部150により
スムージングを行なうので、プレ階調数変換により生じ
る量子化誤差の影響を軽減でき、量子化誤差に起因する
画質の劣化を防止することができる。しかも、プレ階調
数変換後のデータに基づいて、注目画素の一つ前の画素
と比較し、その各色成分の一つでも隣接する格子点以上
離れた格子点に割り当てられている場合には、スムージ
ングの処理を行なわない。この結果、画像に本来存在す
るエッジなどのシャープさを、スムージングの処理によ
り失うということがない。また、スムージングを行なう
か否かの判断を、直前に処理された画素のデータとの比
較により行なっているので、比較のために記憶しておく
データに無駄がなく、記憶容量も小さなもので済ませる
ことができる。更に、隣接する一つの画素との比較だけ
で済むので、演算量も小さくでき、全体の処理を高速化
することができる。
In the image processing apparatus 30A of the fourth embodiment configured as described above, smoothing is performed by the smoothing processing section 150, so that the influence of the quantization error caused by the pre-gradation number conversion can be reduced and the quantization error can be reduced. It is possible to prevent the deterioration of the image quality due to. Moreover, based on the data after the conversion of the pre-gradation number, it is compared with the pixel immediately before the pixel of interest, and even if one of the respective color components is assigned to a grid point which is more than adjacent grid points apart. , Smoothing processing is not performed. As a result, the sharpness such as the edge originally present in the image is not lost by the smoothing process. Further, since the determination as to whether or not to perform the smoothing is made by comparing with the data of the pixel processed immediately before, there is no waste in the data stored for comparison, and the storage capacity can be small. be able to. Further, since it is only necessary to compare with one adjacent pixel, the amount of calculation can be reduced and the overall processing speed can be increased.

【0177】以上説明した第4実施例では、スムージン
グを行なうか否かの判断を、プレ階調数変換後のデータ
の各色成分の隔たりにより行なったが、この判断には、
様々なバリエーションを考えることができる。例えば、
図31に示したように、プレ階調数変換後のデータRn
[h,v],Gn[h,v],Bn[h,v]による判
断に変えて、これを求める元になった原カラー画像デー
タが属している範囲を示すデータRn0[h,v],G
n0[h,v],Bn0[h,v]を用いて判断しても
良い。この時、データRn0[h,v],Gn0[h,
v],Bn0[h,v]は、着目している画素が隣り合
う8個の格子点に囲まれた直方体のいずれに属している
かを示すから、図31に示した条件は、着目している画
素とこれに隣接する画素(主走査方向に一つ手前の画
素)とが、8個の格子点に囲まれた同じ直方体もしくは
これに隣接する直方体に属しているか否かの判断に等し
い。図30に示した条件では、各色成分についてプレ階
調数変換により割り当てられた格子点が同一または隣接
していれば、原カラー画像データとしてどのような関係
に合ったかは問わずにスムージングの処理を行なうと判
断したが、図31の例では、原カラー画像データが、隣
接する格子点に囲まれた同じ空間もしくはこれに隣接す
る空間に入っていることが条件となる。
In the fourth embodiment described above, whether or not smoothing is performed is determined by the separation of each color component of the data after the conversion of the pre-gradation number.
You can think of various variations. For example,
As shown in FIG. 31, the data Rn after the pre-gradation number conversion is performed.
Data Rn0 [h, v] indicating the range to which the original color image data from which the determination is made belongs instead of the determination based on [h, v], Gn [h, v], Bn [h, v]. , G
The determination may be performed using n0 [h, v] and Bn0 [h, v]. At this time, the data Rn0 [h, v], Gn0 [h,
v] and Bn0 [h, v] indicate which one of the rectangular parallelepiped surrounded by the eight adjacent grid points the pixel of interest belongs to, the condition shown in FIG. This is equivalent to determining whether the existing pixel and the pixel adjacent thereto (the pixel immediately before in the main scanning direction) belong to the same rectangular parallelepiped surrounded by eight grid points or a rectangular parallelepiped adjacent thereto. Under the conditions shown in FIG. 30, if the grid points assigned by the pre-gradation number conversion for each color component are the same or adjacent to each other, the smoothing processing is performed regardless of the relationship as the original color image data. However, in the example of FIG. 31, it is a condition that the original color image data is in the same space surrounded by adjacent grid points or the space adjacent to this.

【0178】更に、図32に示すように隣接する範囲ま
で考えず、注目画素とこれに隣接する画素の原カラー画
像データが、隣接する格子点に囲まれた同じ直方体の空
間に属している場合にのみスムージングを行なうと判断
することも可能である。
Further, as shown in FIG. 32, when the original color image data of the pixel of interest and the pixel adjacent thereto belong to the same rectangular parallelepiped space surrounded by adjacent grid points without considering the adjacent range. It is also possible to determine that smoothing should be performed only on.

【0179】また、これらの例では、隣接する画素同士
の隔たりは値1以下としたが、スムージングを行なう条
件を緩くして、隔たりが値2以上でもスムージングを行
なうものとしても良い。各色成分毎にプレ階調数変換後
の階調数が異なることから、特定の色についての判断だ
け値2以上とすることもできる。あるいは、次式(7)
にしめすように、各色成分の隔たりの総和により判断す
るものとしても良い。
Further, in these examples, the distance between adjacent pixels is set to a value of 1 or less, but the condition for performing smoothing may be relaxed to perform smoothing even if the distance is 2 or more. Since the number of gradations after the conversion of the number of pre-gradations differs for each color component, the value of 2 or more can be set only for the judgment of a specific color. Alternatively, the following equation (7)
As shown in the above, the judgment may be made based on the sum of the distances between the color components.

【0180】[0180]

【数7】 (Equation 7)

【0181】この場合には、特定の色について隣接する
格子点を越えて隔たった位置に割り当てられても、他の
色が同一の格子点に割り当てられていれば、スムージン
グが行なわれることになる。あるいは、次式(8)のよ
うに、各色成分の隔たりの二乗の総和が所定値以下とい
う条件を考えることも可能である。
In this case, even if a specific color is assigned to positions separated from adjacent grid points, smoothing will be performed if other colors are assigned to the same grid point. . Alternatively, it is also possible to consider the condition that the sum of squares of separation of each color component is equal to or less than a predetermined value, as in the following Expression (8).

【0182】[0182]

【数8】 (Equation 8)

【0183】なお、プレ階調数変換後のデータで判断す
るのではなく、例えば図33に示すように、原カラー画
像データRs[h,v],Gs[h,v],Bs[h,
v]を用いて判断することも可能である。実施例では、
原カラー画像データは、0〜に255の256階調のデ
ータなので、図33では、各色成分の隔たりが、隣接す
る画素との間で16階調以下の場合に、スムージングを
行なうと判断するものとした。なお、各色成分について
の隔たりは、16階調から自由に増減することができ
る。判断の基準とするこの隔たりは、実際に所定の画像
について処理を行ない、検証して定めることが望まし
い。また、上述したプレ階調数変換後のデータについて
の判断と併用することも望ましい。
Note that the original color image data Rs [h, v], Gs [h, v], Bs [h, not shown in FIG.
It is also possible to make a judgment by using v]. In the example,
Since the original color image data is data of 256 gradations of 0 to 255, in FIG. 33, it is determined that smoothing is performed when the distance between each color component is 16 gradations or less between adjacent pixels. And The separation for each color component can be freely increased or decreased from 16 gradations. It is desirable that this distance, which is a criterion for judgment, be determined by actually performing processing on a predetermined image and verifying it. It is also desirable to use it in combination with the above-described judgment on the data after the conversion of the number of pre-gradations.

【0184】プレ階調数変換による量子化誤差の影響が
最も強く感じられるのは、特にカラープリンタ22の場
合は、最終的に得られる画像の低濃度領域、いわゆるハ
イライト領域である。そこで、ハイライト付近でのみス
ムージングを行なうことも実用的である。図34に、ハ
イライト領域でのみスムージングを行なうと判断する例
を示した。この場合には、原カラー画像データにおいて
低濃度領域と判断することになるから、注目画素[h,
v]とその隣接画素[h−1,v]との原カラー画像デ
ータRs,Gs,Bsが、共に0〜255階調のうちの
224階調以上の場合にスムージングの処理を行なうも
のとした。なお、この例で、判定の閾値として採用した
224階調という値については、種々変更可能である。
適正な値は、各種の画像を処理して定めることができ
る。
The effect of the quantization error caused by the conversion of the number of pre-gradations is most strongly felt especially in the color printer 22 in the low density area of the image finally obtained, that is, the highlight area. Therefore, it is also practical to perform smoothing only near the highlight. FIG. 34 shows an example in which it is determined that smoothing is performed only in the highlight area. In this case, since it is determined that the original color image data is in the low density area, the pixel of interest [h,
v] and its adjacent pixel [h−1, v] of the original color image data Rs, Gs, Bs are both 224 gradations or more of 0 to 255 gradations, smoothing processing is performed. . It should be noted that in this example, the value of 224 gradations used as the determination threshold value can be variously changed.
The appropriate value can be determined by processing various images.

【0185】(2)第5実施例 次に第5実施例について説明する。第5実施例の画像処
理装置30Aでは、プレ階調数変換部140,色補正部
142,スムージング処理部150は、図35に示した
処理により実現される。この実施例では、スムージング
の処理を、主走査方向に隣接する画素との間だけでな
く、副走査方向に隣接する画素との間でも行なってい
る。図35に示した処理を開始すると、まず図29で説
明したプレ階調数変換部140によるプレ階調数変換
(ステップS60)と色補正部142による色補正(ス
テップSヘッド61)とを行ない、次に主走査方向につ
いてスムージングを行なうか否かの判断を行なう(ステ
ップS62)。この判断の内容は、第4実施例とその変
形例で説明した通りであり、様々な基準を採用すること
ができる。
(2) Fifth Embodiment Next, a fifth embodiment will be described. In the image processing apparatus 30A of the fifth embodiment, the pre-gradation number conversion unit 140, the color correction unit 142, and the smoothing processing unit 150 are realized by the processing shown in FIG. In this embodiment, the smoothing process is performed not only between pixels adjacent in the main scanning direction but also between pixels adjacent in the sub scanning direction. When the processing shown in FIG. 35 is started, first, the pre-gradation number conversion section 140 (step S60) and the color correction section 142 color correction (step S head 61) described in FIG. 29 are performed. Then, it is determined whether or not smoothing is performed in the main scanning direction (step S62). The content of this determination is as described in the fourth embodiment and its modification, and various criteria can be adopted.

【0186】スムージングするか否かの判断を行ない
(ステップS62)、主走査方向に隣接する画素との間
でスムージングを行なわないと判断した場合には、注目
画素の色補正データCc[h,v],Mc[h,v],
Yc[h,v],Kc[h,v]をそのまま2倍してこ
れを一旦データCs,Ms,Ys,Ksとして記憶する
処理を行なう(ステップS63)。他方、主走査方向に
隣接する画素との間でスムージングを行なうと判断した
場合には、第4実施例で説明したように、隣接する画素
との間で色補正データを平均化するために、注目画素と
これに隣接する画素との色補正データを加算して、一旦
データCs,Ms,Ys,Ksとして記憶する処理を行
なう(ステップS64)。
It is determined whether or not smoothing is performed (step S62), and when it is determined that smoothing is not performed between pixels adjacent in the main scanning direction, color correction data Cc [h, v ], Mc [h, v],
A process of doubling Yc [h, v] and Kc [h, v] as they are and temporarily storing them as data Cs, Ms, Ys, and Ks is performed (step S63). On the other hand, when it is determined that the smoothing is performed between the adjacent pixels in the main scanning direction, the color correction data is averaged between the adjacent pixels as described in the fourth embodiment. The color correction data of the pixel of interest and the pixel adjacent thereto are added and temporarily stored as data Cs, Ms, Ys, Ks (step S64).

【0187】次に、副走査方向に隣接する画素との間で
スムージングを行なうか否かの判断を行なう(ステップ
S65)。スムージングを行なうか否かは、図36に示
すように、副走査方向に一つ手前の画素[h,v−1]
との間で、格子点カラー画像データの隔たりが各色成分
についての総て値1以下であるか否かという判断により
行なうことができる。この判断についても、上述した第
4実施例とその変形例で示した各種の判断が適用可能で
ある。なお、両判断(ステップS62,S65)は必ず
しも同一の内容とする必要はない。最終的な画像の出力
装置であるカラープリンタ22の垂直方向と水平方向の
解像度が異なる場合などでは、スムージングを行なうか
否かの判断が、主走査方向と副走査方向で異なることも
実用的である。
Then, it is determined whether or not smoothing is performed between pixels adjacent in the sub-scanning direction (step S65). As shown in FIG. 36, whether or not to perform smoothing determines whether the pixel [h, v-1] is one pixel before in the sub-scanning direction.
And the difference between the grid point color image data is less than or equal to 1 for each color component. Also for this judgment, the various judgments shown in the above-described fourth embodiment and its modification can be applied. Note that both determinations (steps S62 and S65) do not necessarily have to have the same content. When the resolution of the color printer 22 which is the final image output device is different in the vertical direction and the horizontal direction, it is also practical that the determination as to whether or not to perform smoothing is different in the main scanning direction and the sub scanning direction. is there.

【0188】副走査方向に隣接する画素との間でスムー
ジングを行なわないと判断した場合には、注目画素の色
補正データCc[h,v],Mc[h,v],Yc
[h,v],Kc[h,v]を、そのまま先に求めたデ
ータCs,Ms,Ys,Ksに加える処理を行なう(ス
テップS66)。他方、副走査方向に隣接する画素との
間でスムージングを行なうと判断した場合には、隣接す
る画素との間で色補正データを平均化するために、先に
求めたデータCs,Ms,Ys,Ksに注目画素の一つ
前のラインの画素(副走査方向に隣接する画素)の色補
正データCc[h,v−1],Mc[h,v−1],Y
c[h,v−1],Kc[h,v−1]を加算しする処
理を行なう(ステップS67)。
When it is determined that the smoothing is not performed between the pixels adjacent in the sub-scanning direction, the color correction data Cc [h, v], Mc [h, v], Yc of the pixel of interest.
A process of adding [h, v], Kc [h, v] to the previously obtained data Cs, Ms, Ys, Ks is performed (step S66). On the other hand, when it is determined that the smoothing is performed between the pixels adjacent to each other in the sub-scanning direction, the previously obtained data Cs, Ms, and Ys are used to average the color correction data between the adjacent pixels. , Ks, the color correction data Cc [h, v-1], Mc [h, v-1], Y of the pixel on the line immediately preceding the pixel of interest (adjacent pixels in the sub-scanning direction).
A process of adding c [h, v-1] and Kc [h, v-1] is performed (step S67).

【0189】その後、ステップS66またはS67で求
めたデータCs,Ms,Ys,Ksを値3で除し、平均
値を求め、これをスムージング後のデータCs,Ms,
Ys,Ksとして(ステップS68)、次のポスト階調
数変換部146によるポスト階調数変換処理に移行す
る。
After that, the data Cs, Ms, Ys, and Ks obtained in step S66 or S67 are divided by a value of 3 to obtain an average value, and the smoothed data Cs, Ms, and
As Ys and Ks (step S68), the process shifts to the post gradation number conversion processing by the next post gradation number conversion unit 146.

【0190】かかる構成によれば、スムージングの処理
を主走査方向に隣接する画素のみならず副走査方向に隣
接する画素についても行なうことができるので、プレ階
調数変換による量子化誤差に起因する画質の劣化を、主
走査方向・副走査方向のいずれについても防止し、画質
の一層の向上を図ることができる。
According to this structure, the smoothing process can be performed not only for the pixels adjacent in the main scanning direction but also for the pixels adjacent in the sub-scanning direction, which is caused by the quantization error due to the pre-gradation number conversion. It is possible to prevent deterioration of the image quality in both the main scanning direction and the sub-scanning direction, and further improve the image quality.

【0191】(3)第6実施例 次に、本発明の第6の実施例として、画像出力装置20
であるカラープリンタが、シアンインクC,マゼンタイ
ンクM,イエロインクY,ブラックインクK以外に、シ
アンインクCより低濃度のライトシアンインクC2,マ
ゼンタインクMより低濃度のライトマゼンタインクM2
を吐出可能なものである場合のスムージングについて説
明する。このカラープリンタは、図2に示したハードウ
ェア構成において、キャリッジ31に上記6色のインク
に対応して6列の各色ヘッド61ないし66を備え、カ
ラーインク用カートリッジ72には、ブラックインクK
を除く濃淡5色のインクを搭載されている。この濃淡5
色のインクの組成を、図37に示す。ここで、シアン,
マゼンタについて低濃度のライトシアンインクC2,ラ
イトマゼンタインクM2を備えるのは、これらのインク
が、原カラー画像データの濃度が低い領域を表現するた
めに低密度に吐出されると、その領域では、インクドッ
トが視認されてしまい、いわゆる粒状感による画質の低
下が感じられるからである。こうした原カラー画像デー
タの濃度が低い領域では、低濃度のインクを用いて印刷
を行なうことで、画像の品質は大きく改善される。な
お、イエロインクYについて低濃度のインクを有しない
のは、イエロインクYは、明度が高く、もともと粒状感
をほとんど生じないからである。
(3) Sixth Embodiment Next, as a sixth embodiment of the present invention, the image output device 20 will be described.
In addition to the cyan ink C, the magenta ink M, the yellow ink Y, and the black ink K, the color printer is a light cyan ink C2 having a lower density than the cyan ink C2, a light magenta ink M2 having a lower density than the magenta ink M.
The smoothing in the case where the ink can be discharged will be described. This color printer has, in the hardware configuration shown in FIG. 2, six heads of respective colors 61 to 66 corresponding to the above six colors of ink in a carriage 31, and a black ink K in a color ink cartridge 72.
It is equipped with 5 shades of light and dark ink. This shade 5
The composition of the color inks is shown in FIG. Where cyan,
The light cyan ink C2 and the light magenta ink M2 having a low density for magenta are provided so that when these inks are ejected at a low density to express a low density area of the original color image data, the ink is discharged in that area. This is because the dots are visually recognized and the so-called granular feeling is felt to deteriorate the image quality. In such an area where the density of the original color image data is low, the image quality is greatly improved by printing using the ink of low density. The yellow ink Y does not have a low density ink because the yellow ink Y has a high lightness, and originally, a graininess hardly occurs.

【0192】シアンとマゼンタについて低濃度のインク
(以下、淡インクと呼ぶ)と通常濃度のインク(以下、
濃インクと呼ぶ)とのドット記録率を、図38に示す。
この実施例では、原カラー画像データの濃度が低い領域
では淡インクを中心に印刷を行ない、原カラー画像デー
タの濃度が高くなるに従って、徐々に濃インクの使用量
を増やし、これに伴って淡インクの使用量を低減する。
所定の濃度以上では、濃インクのみで印字を行なってい
る。
For cyan and magenta, low density ink (hereinafter referred to as light ink) and normal density ink (hereinafter, referred to as light ink)
FIG. 38 shows the dot recording rate with the dark ink).
In this embodiment, in a region where the density of the original color image data is low, printing is performed mainly with the light ink, and as the density of the original color image data is increased, the usage amount of the dark ink is gradually increased. Reduce the amount of ink used.
When the density is equal to or higher than a predetermined density, printing is performed using only dark ink.

【0193】かかる構成を有する第6実施例の画像処理
装置30Aでは、プレ階調数変換部140,色補正部1
42,スムージング処理部150は、図39に示した処
理により実現される。この処理が開始されると、まず原
カラー画像データの各色成分Rs,Gs,Bsをプレ階
調数変換部140におけるプレ階調数変換に相当する処
理を行ない(ステップS70)、次に変換後の格子点カ
ラー画像データの各色成分Rn,Gn,Bnに基づいて
色補正テーブルCTを参照し、色補正部142における
色補正に相当する処理を行なう(ステップS71)。こ
の時、色補正テーブルCTは、R,G,BからC,M,
Y,K,C2,M2の6色への変換テーブルとして用意
しておく。
In the image processing apparatus 30A of the sixth embodiment having such a configuration, the pre-gradation number conversion section 140, the color correction section 1
42, the smoothing processing unit 150 is realized by the processing shown in FIG. When this process is started, first, each color component Rs, Gs, Bs of the original color image data is subjected to a process corresponding to the pre-gradation number conversion in the pre-gradation number conversion unit 140 (step S70), and after the conversion. The color correction table CT is referred to based on each color component Rn, Gn, Bn of the grid point color image data, and the process corresponding to the color correction in the color correction unit 142 is performed (step S71). At this time, the color correction table CT is changed from R, G, B to C, M,
It is prepared as a conversion table for 6 colors of Y, K, C2 and M2.

【0194】次に、注目画素についてスムージングの処
理を行なうか否かの判断を行なう(ステップS72)。
この処理は、基本的には、第4実施例とその変形例で説
明した判断を用いることができる。スムージングを行な
わないと判断した場合には、注目画素の色補正された各
色成分Cc[h,v],Mc[h,v],Yc[h,
v],Kc[h,v],C2c[h,v],M2c
[h,v]をそのまま出力データCs,Ms,Ys,K
sとし(ステップS73)、ポスト階調数変換部146
に出力する。他方、スムージングの処理を行なうと判断
した場合には、一つ前の画素の色補正後の各色成分Cc
[h−1,v],Mc[h−1,v],Yc[h−1,
v],Kc[h−1,v],C2c[h−1,v],M
2c[h−1,v]と注目画素の各色成分Cc[h,
v],Mc[h,v],Yc[h,v],Kc[h,
v],C2c[h,v],M2c[h,v]との加算平
均を演算し(ステップS74)、これを出力データとし
て、次のポスト階調数変換部146によるポスト階調数
変換に移行する。
Next, it is determined whether or not the smoothing process is performed on the target pixel (step S72).
This processing can basically use the judgment described in the fourth embodiment and its modification. When it is determined that smoothing is not performed, the color-corrected color components Cc [h, v], Mc [h, v], Yc [h, of the target pixel are corrected.
v], Kc [h, v], C2c [h, v], M2c
The output data Cs, Ms, Ys, and K are directly used as [h, v].
s (step S73), and the post gradation number conversion unit 146
Output to On the other hand, when it is determined that the smoothing process is performed, each color component Cc after the color correction of the immediately preceding pixel is performed.
[H-1, v], Mc [h-1, v], Yc [h-1,
v], Kc [h-1, v], C2c [h-1, v], M
2c [h-1, v] and each color component Cc [h, of the pixel of interest
v], Mc [h, v], Yc [h, v], Kc [h,
v], C2c [h, v], and M2c [h, v] are calculated (step S74), and this is used as output data for the next post tone number conversion by the post tone number conversion unit 146. Transition.

【0195】この実施例によれば、第4実施例の効果は
もとより、ライトシアンインクC2やライトマゼンタイ
ンクM2を備え、淡インクと濃インクとを適切に吐出し
て印刷を行なうカラープリンタ22において、6色のイ
ンクでもスムージングを行なって、プレ階調数変換の量
子化誤差に起因する画像品質の低下を防止することがで
きる。
According to this embodiment, in addition to the effects of the fourth embodiment, in the color printer 22 which is provided with the light cyan ink C2 and the light magenta ink M2 and which appropriately ejects the light ink and the dark ink to perform printing, Smoothing can be performed even with six color inks to prevent deterioration in image quality due to quantization errors in pre-gradation number conversion.

【0196】(4)第7実施例 次に本発明の第7実施例について説明する。上記の実施
例では、スムージングを行なうか否かはプレ階調数変換
の前のデータを用いるにせよプレ階調数変換の後のデー
タを用いるにせよ、注目画素とこれに近接する画素(例
えば主走査方向または副走査方向に隣接する画素)との
間の隔たりにより判断した。これに対して、第7実施例
では、スムージングの処理は色成分毎に行なうものと
し、スムージングを行なうか否かの判断も色毎に行なう
ものとしている。
(4) Seventh Embodiment Next, a seventh embodiment of the present invention will be described. In the above-described embodiment, whether or not smoothing is performed, whether the data before the pre-gradation number conversion is used or the data after the pre-gradation number conversion is used, the pixel of interest and a pixel adjacent thereto (for example, It was judged by the distance between adjacent pixels in the main scanning direction or the sub scanning direction. On the other hand, in the seventh embodiment, the smoothing process is performed for each color component, and the determination as to whether or not the smoothing is performed is also performed for each color.

【0197】第7実施例の画像処理装置30Aでは、プ
レ階調数変換部140,色補正部142,スムージング
処理部150は、図40に示した処理により実現され
る。この処理が開始されると、まず原カラー画像データ
の各色成分Rs,Gs,Bsをプレ階調数変換部140
におけるプレ階調数変換に相当する処理を行ない(ステ
ップS80)、次に変換後の格子点カラー画像データの
各色成分Rn,Gn,Bnに基づいて色補正テーブルC
Tを参照し、色補正部142における色補正に相当する
処理を行なう(ステップS81)。
In the image processing apparatus 30A of the seventh embodiment, the pre-gradation number conversion section 140, the color correction section 142 and the smoothing processing section 150 are realized by the processing shown in FIG. When this process is started, first, the color components Rs, Gs, and Bs of the original color image data are converted into the pre-gradation number conversion unit 140.
Processing corresponding to the pre-gradation number conversion is performed (step S80), and the color correction table C is then calculated based on the respective color components Rn, Gn, Bn of the converted grid point color image data.
The process corresponding to the color correction in the color correction unit 142 is performed with reference to T (step S81).

【0198】次に、注目画素のプレ階調数変換後の格子
点カラー画像データのうちR成分について隣接する画素
との隔たりを判断する処理を行ない(ステップS8
2)、格子点上の隔たりが値1より大きければスムージ
ングを行なわないとして色補正されたデータCc[h,
v]をそのまま出力するデータCsとして設定する処理
を行なう(ステップS83)。他方、両画素のR成分の
格子点上の隔たりが値1以下であれば、スムージングを
行なうとして、色補正後のデータのシアン成分Cc
[h,v]と、主走査方向に一つ手前の画素の色補正後
のデータのシアン成分Cc[h−1,v]との加算平均
を取る処理を行なう(ステップS84)。
Next, processing is performed to determine the distance between the pixel of interest and the adjacent pixel of the R component of the grid point color image data after the pre-gradation number conversion (step S8).
2) If the distance on the grid point is larger than the value 1, the color-corrected data Cc [h,
v] is set as the data Cs to be output as it is (step S83). On the other hand, if the distance between the R components of both pixels on the grid point is less than or equal to 1, smoothing is performed, and the cyan component Cc of the data after color correction is determined.
A process of taking an addition average of [h, v] and the cyan component Cc [h-1, v] of the color-corrected data of the pixel immediately before in the main scanning direction is performed (step S84).

【0199】以上の処理で、シアンCについてのスムー
ジングの判断を原カラー画像データのR成分についての
判断により行なうのは、RGBからCMYへの変換にお
いては、RとC、GとM、BとYとから強い相関関係を
持っているからである。
In the above processing, the smoothing judgment for cyan C is made based on the judgment for the R component of the original color image data. That is, in the conversion from RGB to CMY, R and C, G and M and B are determined. This is because it has a strong correlation with Y.

【0200】したがって、シアンについての上記処理の
後、マゼンタインクMについてのスムージングをG成分
についての格子点上の隔たりにより判断して行ない(ス
テップS85〜87)、イエロインクYについてのスム
ージングをB成分についての格子点上の隔たりにより判
断して行なう(ステップS88〜90)。以上の処理の
後、ポスト階調数変換に移行する。
Therefore, after the above processing for cyan, smoothing for magenta ink M is judged by the distance on the grid point for G component (steps S85-87), and smoothing for yellow ink Y is performed for B component. Is determined based on the distance on the grid point (steps S88 to 90). After the above processing, the process shifts to post tone number conversion.

【0201】以上の構成を有する第7実施例の画像処理
装置30Aでは、第4実施例と同様の効果を奏する上、
各色についてスムージングを行なうか行なわないかを決
定することができるので、特定の色調だけが変換するよ
うな場合でも、スムージングの効果とこれを行なわない
ことによる境界のシャープさとを両立させることができ
る。
The image processing apparatus 30A of the seventh embodiment having the above-described structure has the same effects as those of the fourth embodiment, and
Since it is possible to determine whether or not to perform smoothing for each color, it is possible to achieve both the effect of smoothing and the sharpness of the boundary by not performing this even when only a specific color tone is converted.

【0202】以上、本発明の好適な実施形態を説明した
が、本発明はこの実施形態にのみ限定されるものではな
く、その要旨を逸脱しない範囲で種々の変形、改良又は
修正を加えて実施することができる。
The preferred embodiment of the present invention has been described above. However, the present invention is not limited to this embodiment, and various modifications, improvements or modifications can be made without departing from the scope of the invention. can do.

【0203】例えば、上記第4ないし第7実施例では、
スムージングの判断は注目画素とその画素の主走査方向
手前側または副走査方向手前側の画素との間の隔たりに
着目して行なったが、主走査方向または副走査方向に後
ろ側の画素[h+1,v]または[h,v+1]との間
で判断するものとしても良い。また、スムージングを行
なう範囲としては、図28に示した範囲以外の範囲でも
差し支えない。上記実施例では、スムージングは、総て
の色成分について判断しあるいは行なったが、特定の色
についてのみスムージングの処理を行なうものとするこ
ともできる。例えば、イエロインクYは明度が高く視認
されにくいので、イエロインクについては、最初からス
ムージングの対象外とすることができる。この場合に
は、処理速度を一層高速化することができる。また、濃
淡両インクを備えたプリンタにおいて、粒状感の生じに
くい淡インクについてはスムージングの対象外とするこ
とも同様に好適である。
For example, in the above fourth to seventh embodiments,
The determination of smoothing was made by paying attention to the distance between the pixel of interest and the pixel on the front side in the main scanning direction or the pixel on the front side in the sub-scanning direction of that pixel. , V] or [h, v + 1]. Further, the smoothing range may be a range other than the range shown in FIG. 28. In the above embodiment, the smoothing is judged or performed for all the color components, but the smoothing process may be performed only for a specific color. For example, since the yellow ink Y has high brightness and is hard to be visually recognized, the yellow ink Y can be excluded from the smoothing target from the beginning. In this case, the processing speed can be further increased. Further, in a printer equipped with both dark and light inks, it is also suitable to exclude light inks that are less likely to cause graininess from smoothing.

【0204】また、第4ないし第7実施例では、スムー
ジングの前提となるプレ階調数変換の内容については特
に説明しなかったが、誤差拡散法や平均誤差最小法等に
よるプレ階調数変換のみならず、第2実施例で説明した
ディザ法によるプレ階調数変換と組み合わせることがで
きることは自明である。スムージングを行なうことによ
り、ディザ法による画質の劣化を十分に補償でき、良好
な画像出力を得ることができる。
In the fourth to seventh embodiments, the details of the pre-gradation number conversion, which is a prerequisite for smoothing, have not been particularly described, but the pre-gradation number conversion by the error diffusion method or the average error minimum method is performed. It is obvious that it can be combined with the pre-gradation number conversion by the dither method described in the second embodiment. By performing the smoothing, the deterioration of the image quality due to the dither method can be sufficiently compensated, and a good image output can be obtained.

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

【図1】本発明の画像処理システムの概略構成を示すブ
ロック図である。
FIG. 1 is a block diagram showing a schematic configuration of an image processing system of the present invention.

【図2】図1に示す画像処理システムを実現する態様の
一例を示すブロック図である。
FIG. 2 is a block diagram showing an example of a mode for realizing the image processing system shown in FIG.

【図3】画像出力装置20の一例としてのカラープリン
タ22の構成を示す概略構成図である。
FIG. 3 is a schematic configuration diagram showing a configuration of a color printer 22 as an example of the image output device 20.

【図4】印字ヘッド28の構造を例示する説明図であ
る。
FIG. 4 is an explanatory diagram illustrating the structure of the print head 28.

【図5】インクの吐出の原理を説明する説明図である。FIG. 5 is an explanatory diagram illustrating the principle of ink ejection.

【図6】格子状に分割された色空間の一例を示す説明図
である。
FIG. 6 is an explanatory diagram showing an example of a color space divided in a grid pattern.

【図7】図1に示す画像処理装置30の機能をブロック
により示すブロック図である。
7 is a block diagram showing the functions of the image processing apparatus 30 shown in FIG. 1 by blocks.

【図8】カラー画像データと、近傍の格子点色データ
の、色空間内における位置を示す説明図である。
FIG. 8 is an explanatory diagram showing positions in the color space of color image data and neighboring grid point color data.

【図9】画像出力装置としてカラープリンタを想定した
場合における画像処理装置の機能をブロックにより示す
ブロック図である。
FIG. 9 is a block diagram showing the functions of the image processing apparatus in blocks when a color printer is assumed as the image output apparatus.

【図10】画像データのプレ階調数変換処理の概略説明
図である。
FIG. 10 is a schematic explanatory diagram of a pre-gradation number conversion process of image data.

【図11】プレ階調数変換処理を誤差拡散法を用いて行
なう場合の重みマトリクスの説明図である。
FIG. 11 is an explanatory diagram of a weight matrix when the pre-gradation number conversion process is performed using the error diffusion method.

【図12】プレ階調数変換手段で誤差拡散法を用いた場
合の処理の概要を示すフローチャートである。
FIG. 12 is a flowchart showing an outline of processing when an error diffusion method is used in the pre-gradation number conversion means.

【図13】プレ階調数変換手段で平均誤差最小法を用い
た場合の処理の概要フローチャートである。
FIG. 13 is a schematic flowchart of a process when the pre-gradation number conversion means uses the minimum average error method.

【図14】プレ階調数変換手段で組織的ディザ法を用い
た場合の処理の概要を示すフローチャートである。
FIG. 14 is a flowchart showing an outline of processing when the systematic dither method is used in the pre-gradation number converting means.

【図15】色補正部142をソフト的に構成する場合の
処理の概要を示す説明図である。
FIG. 15 is an explanatory diagram illustrating an outline of processing when the color correction unit 142 is configured by software.

【図16】色補正部142をハード的に構成する場合の
概略構成図である。
FIG. 16 is a schematic configuration diagram when the color correction unit 142 is configured in hardware.

【図17】図16に示すC用ROMのより詳細な実施形
態を示す説明図である。
FIG. 17 is an explanatory diagram showing a more detailed embodiment of the C ROM shown in FIG. 16;

【図18】ポスト階調数変換手段を実現する処理の概要
を示す説明図である。
FIG. 18 is an explanatory diagram showing an outline of processing for realizing a post gradation number conversion means.

【図19】RGBの3色のデータからCMYKの4色成
分を求めて色補正を行なう場合の処理の概要を示す説明
図である。
FIG. 19 is an explanatory diagram showing an outline of processing when color correction is performed by obtaining four CMYK color components from RGB three color data.

【図20】第1実施例の画像処理装置30において用い
る格子点であって、色空間の低濃度領域で細かく分割さ
れた格子点の一例を示す説明図である。
FIG. 20 is an explanatory diagram showing an example of grid points used in the image processing apparatus 30 of the first embodiment, the grid points being finely divided in the low-density area of the color space.

【図21】色補正テーブルを修正する場合の処理の概要
を示すフローチャートである。
FIG. 21 is a flowchart illustrating an outline of processing when correcting a color correction table.

【図22】第2実施例の画像処理装置30におけるプレ
階調数変換処理を示すフローチャートである。
FIG. 22 is a flowchart showing a pre-gradation number conversion process in the image processing apparatus 30 of the second embodiment.

【図23】第2実施例のプレ階調数変換処理で採用した
ディザ法で参照するディザマトリクスの一例を示す説明
図である。
FIG. 23 is an explanatory diagram showing an example of a dither matrix referred to by the dither method adopted in the pre-gradation number conversion processing of the second embodiment.

【図24】第3実施例の画像処理装置30の機能をブロ
ックにより示すブロック図である。
FIG. 24 is a block diagram showing the functions of the image processing apparatus 30 of the third embodiment in blocks.

【図25】主要色について行なわれる一次元補間処理を
説明するための説明図である。
FIG. 25 is an explanatory diagram for describing one-dimensional interpolation processing performed for main colors.

【図26】同じく一次補間処理の原理を説明する説明図
である。
FIG. 26 is an explanatory diagram illustrating the principle of primary interpolation processing.

【図27】第4ないし第7実施例に共通する画像処理装
置30Aの機能をブロックで示したブロック図である。
FIG. 27 is a block diagram showing the functions of an image processing apparatus 30A common to the fourth to seventh embodiments in blocks.

【図28】スムージングフィルタの具体例を示す説明図
である。
FIG. 28 is an explanatory diagram showing a specific example of a smoothing filter.

【図29】第4実施例における画像処理ルーチンを示す
フローチャートである。
FIG. 29 is a flowchart showing an image processing routine in the fourth embodiment.

【図30】スムージングを行なうか否かの判断の詳細を
示す説明図である。
FIG. 30 is an explanatory diagram showing details of the determination as to whether or not to perform smoothing.

【図31】スムージングを行なうか否かの判断の他の例
を示す説明図である。
FIG. 31 is an explanatory diagram showing another example of determination of whether or not to perform smoothing.

【図32】スムージングを行なうか否かの判断の他の例
を示す説明図である。
FIG. 32 is an explanatory diagram showing another example of determination of whether or not to perform smoothing.

【図33】スムージングを行なうか否かの判断の他の例
を示す説明図である。
FIG. 33 is an explanatory diagram showing another example of determination of whether or not to perform smoothing.

【図34】スムージングを行なうか否かの判断の他の例
を示す説明図である。
FIG. 34 is an explanatory diagram showing another example of determination of whether or not to perform smoothing.

【図35】第5実施例における画像処理ルーチンを示す
フローチャートである。
FIG. 35 is a flowchart showing an image processing routine in the fifth embodiment.

【図36】第5実施例においてスムージングを行なうか
否かの判断の詳細を示す説明図である。
FIG. 36 is an explanatory diagram showing details of the determination as to whether or not to perform smoothing in the fifth embodiment.

【図37】第6実施例の6色インクを用いたプリンタに
おけるインクの成分を示す説明図である。
FIG. 37 is an explanatory diagram showing ink components in a printer that uses the six-color ink of the sixth embodiment.

【図38】第6実施例における淡インクと濃インクの記
録率を示すグラフである。
FIG. 38 is a graph showing recording rates of light ink and dark ink in the sixth embodiment.

【図39】第6実施例における画像処理ルーチンを示す
フローチャートである。
FIG. 39 is a flowchart showing an image processing routine in the sixth embodiment.

【図40】第7実施例における画像処理ルーチンを示す
フローチャートである。
FIG. 40 is a flow chart showing an image processing routine in the seventh embodiment.

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

10…画像入力装置 12…スキャナ 20…画像出力装置 21…カラーディスプレイ 22…カラープリンタ 23…紙送りモータ 24…キャリッジモータ 26…プラテン 28…印字ヘッド 30…画像処理装置 30A…画像処理装置 31…キャリッジ 32…操作パネル 34…摺動軸 36…駆動ベルト 38…プーリ 39…位置検出センサ 40…制御回路 61…インク吐出用ヘッド 65…導入管 71…ブラックインク用カートリッジ 72…カラーインク用カートリッジ 80…インク通路 90…コンピュータ 91…ビデオドライバ 93…CRTディスプレイ 95…アプリケーションプログラム 96…プリンタドライバ 97…ラスタライザ 98…色補正モジュール 99…ハーフトーンモジュール 134…色補正テーブルメモリ 134C…C用ROM 134M…M用ROM 134Y…Y用ROM 140…プレ階調数変換部 140a…メインデータ出力部 140b…サブデータ出力部 142…色補正部 146…ポスト階調数変換部 148…補間演算部 150…スムージング処理部 300…格子点 400…注目画素 500…格子点 10 ... Image input device 12 ... Scanner 20 ... Image output device 21 ... Color display 22 ... Color printer 23 ... Paper feed motor 24 ... Carriage motor 26 ... Platen 28 ... Print head 30 ... Image processing device 30A ... Image processing device 31 ... Carriage 32 ... Operation panel 34 ... Sliding shaft 36 ... Drive belt 38 ... Pulley 39 ... Position detection sensor 40 ... Control circuit 61 ... Ink ejection head 65 ... Introducing pipe 71 ... Black ink cartridge 72 ... Color ink cartridge 80 ... Ink Passage 90 ... Computer 91 ... Video driver 93 ... CRT display 95 ... Application program 96 ... Printer driver 97 ... Rasterizer 98 ... Color correction module 99 ... Halftone module 134 ... Color correction table memory 134 ... C ROM 134M ... M ROM 134Y ... Y ROM 140 ... pre-gradation number conversion unit 140a ... main data output unit 140b ... sub-data output unit 142 ... color correction unit 146 ... post-gradation number conversion unit 148 ... interpolation Calculation unit 150 ... Smoothing processing unit 300 ... Lattice point 400 ... Pixel of interest 500 ... Lattice point

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 1/405 H04N 1/40 C 1/407 101E ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical indication H04N 1/405 H04N 1/40 C 1/407 101E

Claims (38)

【特許請求の範囲】[Claims] 【請求項1】 2次元以上の色空間における座標値によ
り表現された多色の画像を色補正して出力する画像処理
装置であって、 前記画像の各画素について、前記座標値を所定の階調数
を用いて表現したカラー画像データを入力する入力手段
と、 前記座標値を表現する前記階調数よりも少ない階調数に
より前記色空間を分割し、かつ該色空間の所定の低濃度
領域では他の領域よりも該色空間を細かく分割し、該分
割を前記各次元について行なうことにより得られた格子
点の座標値を前記色空間について記憶した格子点情報記
憶手段と、 該各格子点に対応して、前記カラー画像データの色に関
する補正データを記憶した色補正テーブルと、 前記入力されたカラー画像データの前記色空間内での座
標値を、前記格子点からの隔たりが平均的には所定値以
下となる手法に従って、前記格子点情報記憶手段に記憶
された格子点の座標値に変換する格子点変換手段と、 該変換された座標値に対応した格子点の補正データを、
前記色補正テーブルから読み出し、補正済みのカラー画
像データとして出力する色補正手段と、 を備えた画像処理装置。
1. An image processing apparatus for color-correcting and outputting a multicolor image represented by coordinate values in a two-dimensional or more-dimensional color space, wherein each pixel of the image has the coordinate value of a predetermined level. Input means for inputting color image data expressed using a key number, dividing the color space by a number of gradations smaller than the number of gradations expressing the coordinate values, and a predetermined low density of the color space. In the area, the color space is divided into smaller areas than in other areas, and the grid point information storage means stores the coordinate values of the grid points obtained by performing the division in each of the dimensions, and the grids. Corresponding to the point, a color correction table storing correction data relating to the color of the color image data, and a coordinate value of the input color image data in the color space, an average distance from the grid point. Where Following the procedure becomes the value or less, and the lattice point conversion means for converting the coordinate values of the stored grid points to the grid point information memory means, the correction data of the lattice point corresponding to the converted coordinate values,
An image processing apparatus comprising: a color correction unit that reads out from the color correction table and outputs as corrected color image data.
【請求項2】 前記格子点変換手段は、誤差拡散の手法
を用いて格子点の座標を変換する手段である請求項1記
載の画像処理装置。
2. The image processing apparatus according to claim 1, wherein the grid point conversion means is means for converting the coordinates of grid points by using an error diffusion method.
【請求項3】 前記格子点変換手段は、分散型ディザの
閾値マトリックスを用いて格子点の座標を変換する手段
である請求項1記載の画像処理装置。
3. The image processing apparatus according to claim 1, wherein the grid point conversion means is means for converting the coordinates of grid points using a threshold matrix of distributed dither.
【請求項4】 請求項1記載の画像処理装置であって、 前記カラー画像データは、前記座標値を表現する前記階
調数が、該カラー画像データの各色成分の濃度に対応す
る形式で表現されたものであり、 前記色補正テーブルが、前記カラー画像データの各色成
分の階調に関する情報を記憶しており、 前記格子点情報記憶手段は、該色補正手段に記憶された
カラー画像データの各色成分の階調の間隔が、前記所定
の低濃度領域において他の濃度領域よりも狭くなるよう
に、前記色空間の前記所定の低濃度領域を分割したもの
であることを特徴とする画像処理装置。
4. The image processing apparatus according to claim 1, wherein the color image data is expressed in a format in which the number of gradations expressing the coordinate values corresponds to the density of each color component of the color image data. The color correction table stores information about the gradation of each color component of the color image data, and the grid point information storage unit stores the color image data stored in the color correction unit. Image processing, characterized in that the predetermined low-density region of the color space is divided so that the gradation interval of each color component is narrower in the predetermined low-density region than in other density regions. apparatus.
【請求項5】 請求項4記載の画像処理装置であって、 更に、前記色補正手段により出力された補正済みのカラ
ー画像データの各色成分の階調数を変換し、画像出力装
置に適した最終的な階調数に変換する階調数変換手段を
備え、 前記格子点変換手段が行なう座標値の変換により得られ
る階調数が、前記階調数変換手段により変換され後の階
調数より大きいことを特徴とする画像処理装置。
5. The image processing apparatus according to claim 4, further comprising converting the gradation number of each color component of the corrected color image data output by the color correction unit, and suitable for an image output apparatus. A gradation number conversion unit for converting the final gradation number is provided, and the gradation number obtained by the coordinate value conversion performed by the grid point conversion unit is converted by the gradation number conversion unit. An image processing device characterized by being larger.
【請求項6】 請求項1記載の画像処理装置であって、 前記色補正テーブルは、前記補正データとして、前記色
変換手段が出力するカラー画像データを最終的に処理す
る画像出力装置の色再現特性に適合したものを記憶した
画像処理装置。
6. The image processing apparatus according to claim 1, wherein the color correction table is a color reproduction of an image output apparatus that finally processes color image data output by the color conversion unit as the correction data. An image processing device that stores information that matches the characteristics.
【請求項7】 2次元以上の色空間における座標値によ
り表現された多色の画像を色補正して出力する画像処理
装置であって、 前記画像の各画素について、前記座標値を所定の階調数
を用いて表現したカラー画像データを入力する入力手段
と、 前記座標値を表現する前記階調数よりも少ない階調数に
より前記色空間を分割し、かつ該色空間の所定の低濃度
領域では他の領域よりも該色空間を細かく分割し、該分
割を前記各次元について行なうことにより得られた格子
点の座標値を前記色空間について記憶した格子点情報記
憶手段と、 該各格子点に対応して、前記カラー画像データの色に関
する補正データを記憶した色補正テーブルと、 前記入力されたカラー画像データの前記色空間内での座
標値を、前記格子点からの隔たりが平均的には所定値以
下となる手法に従って、前記格子点情報記憶手段に記憶
された格子点の座標値に変換する格子点変換手段と、 該変換された座標値に対応した格子点の補正データを、
前記色補正テーブルから読み出す色補正データ読出手段
と、 該読み出された格子点の補正データのうち主要色に対応
した値を選択し、主要色毎に、前記格子点から前記主要
色に対応した座標値だけがシフトした隣接格子点の補正
データのうち当該主要色に対応した値を読み出し、該両
値を用いて補間を行ない、前記主要色についての補正デ
ータを該補間結果に置き換えた前記補正データを最終的
な補正済みのカラー画像データとして出力する色補正手
段とを備えた画像処理装置。
7. An image processing apparatus for color-correcting and outputting a multicolor image represented by coordinate values in a two-dimensional or more-dimensional color space, wherein each pixel of the image has the coordinate value of a predetermined level. Input means for inputting color image data expressed using a key number, dividing the color space by a number of gradations smaller than the number of gradations expressing the coordinate values, and a predetermined low density of the color space. In the area, the color space is divided into smaller areas than in other areas, and the grid point information storage means stores the coordinate values of the grid points obtained by performing the division in each of the dimensions, and the grids. Corresponding to the point, a color correction table storing correction data relating to the color of the color image data, and a coordinate value of the input color image data in the color space, an average distance from the grid point. Where Following the procedure becomes the value or less, and the lattice point conversion means for converting the coordinate values of the stored grid points to the grid point information memory means, the correction data of the lattice point corresponding to the converted coordinate values,
A color correction data reading means for reading from the color correction table and a value corresponding to a main color of the read correction data of the grid points are selected, and for each main color, the grid point corresponds to the main color. Of the correction data of the adjacent grid points where only the coordinate values are shifted, the value corresponding to the main color is read, interpolation is performed using both values, and the correction data for the main color is replaced with the interpolation result. An image processing apparatus comprising: a color correction unit that outputs data as final corrected color image data.
【請求項8】 前記色補正手段における前記補間は、線
形補間である請求項7記載の画像処理装置。
8. The image processing apparatus according to claim 7, wherein the interpolation in the color correction means is linear interpolation.
【請求項9】 請求項7記載の画像処理装置であって、 前記カラー画像データの座標値が、該カラー画像データ
の各色成分の濃度に対応した値として定義されており、
前記格子点変換手段が、格子点座標の変換を階調数変換
として行なう第1の階調数変換手段であり、 更に、前記色補正手段より出力された補正済みのカラー
画像データの各色成分毎の階調数を、画像出力装置に適
した階調数に階調数変換する第2の階調数変換手段を備
え、 前記第1の階調数変換手段による座標値の変換によって
得られる階調数が、前記第2の階調数変換手段により変
換された後の階調数より大きいことを特徴とする画像処
理装置。
9. The image processing apparatus according to claim 7, wherein the coordinate value of the color image data is defined as a value corresponding to the density of each color component of the color image data,
The grid point conversion means is first gradation number conversion means for converting the grid point coordinates as gradation number conversion, and further, for each color component of the corrected color image data output from the color correction means. Second gradation number converting means for converting the number of gradations of the first gradation number into a gradation number suitable for the image output device, and a floor obtained by converting the coordinate value by the first gradation number converting means. An image processing apparatus, wherein the number of tones is larger than the number of tones after being converted by the second tone number conversion means.
【請求項10】 2次元以上の色空間における座標値に
より表現された多色の画像を色補正して出力する画像処
理装置であって、 前記画像の各画素について、前記座標値を所定の階調数
で表現したカラー画像データを入力する入力手段と、 前記座標値を表現する前記階調数よりも小さな階調数に
より前記色空間を分割し、該分割を前記各次元について
行なうことより得られた格子点の座標値を前記色空間に
ついて記憶した格子点情報記憶手段と、 該各格子点に対応して、前記カラー画像データの色に関
する補正データを記憶した色補正テーブルと、 前記入力されたカラー画像データの前記色空間内での座
標値を、前記格子点からの隔たりが平均的には所定値以
下となる手法に従って、前記格子点情報記憶手段に記憶
された格子点の座標値に変換する格子点変換手段と、 該変換された座標値に対応した格子点の補正データを、
前記色補正テーブルから読み出す色補正データ読出手段
と、 該色補正データ読出手段が読み出した各画素の補正デー
タを、該各画素の近傍の画素の補正データに基づいて平
均化する処理を行なう平均化処理手段とを備えた画像処
理装置。
10. An image processing apparatus for color-correcting and outputting a multicolor image represented by coordinate values in a two-dimensional or more-dimensional color space, wherein each pixel of the image has the coordinate value of a predetermined floor. Input means for inputting color image data represented by a key number, and the color space is divided by the number of gradations smaller than the number of gradations expressing the coordinate value, and the division is performed for each dimension. Grid point information storage means for storing the coordinate values of the selected grid points for the color space; a color correction table for storing correction data relating to the color of the color image data corresponding to each grid point; The coordinate value of the color image data in the color space is set to the coordinate value of the grid point stored in the grid point information storage unit according to a method in which the distance from the grid point is less than or equal to a predetermined value on average. A grid point conversion means for conversion, the correction data of the lattice point corresponding to the converted coordinate values,
A color correction data reading means for reading from the color correction table, and an averaging process for averaging the correction data of each pixel read by the color correction data reading means on the basis of the correction data of pixels in the vicinity of each pixel. An image processing apparatus including a processing unit.
【請求項11】 前記格子点変換手段は、分散型ディザ
の閾値マトリックスを用いて格子点の座標を変換する手
段である請求項10記載の画像処理装置。
11. The image processing apparatus according to claim 10, wherein the grid point conversion means is means for converting coordinates of grid points by using a threshold matrix of distributed dither.
【請求項12】 前記格子点変換手段は、誤差拡散の手
法を用いて格子点の座標を変換する手段である請求項1
0記載の画像処理装置。
12. The grid point conversion means is means for converting the coordinates of grid points by using an error diffusion method.
0. The image processing apparatus according to item 0.
【請求項13】 請求項10記載の画像処理装置であっ
て、 前記格子点変換手段は、誤差拡散の手法を用いて格子点
の座標を変換する第1座標変換手段と、分散型ディザの
閾値マトリックスを用いて格子点の座標変換を行なう第
2座標変換手段と、前記第1座標変換手段と第2座標変
換手段のいずれの手段を用いるかを決定する変換手段決
定手段とを有し、 更に、前記平均化手段は、前記変換手段決定手段によ
り、前記第1変換手段の使用が決定されたときには、前
記入力されたカラー画像データの濃度が低い領域におい
て、該平均化の処理を行なう手段である画像処理装置。
13. The image processing apparatus according to claim 10, wherein the grid point conversion means converts the coordinates of grid points using an error diffusion method, and a threshold value of distributed dither. A second coordinate conversion means for performing coordinate conversion of the grid points using a matrix; and a conversion means determination means for determining which of the first coordinate conversion means and the second coordinate conversion means is to be used, The averaging means is means for performing the averaging process in a region where the density of the input color image data is low, when the conversion means deciding means decides to use the first converting means. An image processing device.
【請求項14】 前記平均化処理手段が前記平均化の処
理を行なう近傍の画素が、前記入力手段が前記カラー画
像データを入力する方向に沿った隣接画素である請求項
10記載の画像処理装置。
14. The image processing apparatus according to claim 10, wherein the neighboring pixels on which the averaging processing means performs the averaging processing are adjacent pixels along a direction in which the input means inputs the color image data. .
【請求項15】 前記隣接画素が前記入力する方向にお
いて手前側の画素である請求項14記載の画像処理装
置。
15. The image processing apparatus according to claim 14, wherein the adjacent pixel is a pixel on the front side in the input direction.
【請求項16】 前記隣接画素が前記入力する方向にお
いて後ろ側の画素である請求項14記載の画像処理装
置。
16. The image processing apparatus according to claim 14, wherein the adjacent pixel is a pixel on the rear side in the input direction.
【請求項17】 前記平均化処理手段が前記平均化の処
理を行なう近傍の画素が、前記入力手段が前記カラー画
像データを入力する方向の前後に隣接する両画素である
請求項10記載の画像処理装置。
17. The image according to claim 10, wherein the pixels in the vicinity where the averaging processing unit performs the averaging process are both pixels adjacent to each other before and after the inputting unit inputs the color image data. Processing equipment.
【請求項18】 前記平均化処理手段が前記平均化の処
理を行なう近傍の画素が、前記入力手段が前記カラー画
像データを入力する方向に沿った隣接画素および該方向
に交差する方向の画素である請求項10記載の画像処理
装置。
18. Pixels in the vicinity where the averaging processing means performs the averaging processing are adjacent pixels along a direction in which the input means inputs the color image data and pixels in a direction intersecting the direction. The image processing apparatus according to claim 10.
【請求項19】 請求項10記載の画像処理装置であっ
て、 更に、前記入力手段により入力された前記各画素の前記
カラー画像データに基づいて、該画素の濃度を検出する
濃度検出手段を備えると共に、 前記平均化処理手段は、前記検出された前記画素の濃度
が所定値以下の場合に、前記平均化処理手段による平均
化の処理を行なう手段である画像処理装置。
19. The image processing apparatus according to claim 10, further comprising density detection means for detecting the density of the pixel based on the color image data of each pixel input by the input means. In addition, the averaging processing means is an image processing device that is a means for performing averaging processing by the averaging processing means when the detected density of the pixel is less than or equal to a predetermined value.
【請求項20】 前記平均化処理手段は、前記入力され
た画像データの所定色成分の濃度が所定値以下の領域で
のみ前記平均化の処理を該所定色成分ついて行なう手段
である請求項10記載の画像処理装置。
20. The averaging means is means for performing the averaging process for the predetermined color component only in an area where the density of the predetermined color component of the input image data is a predetermined value or less. The image processing device described.
【請求項21】 請求項10記載の画像処理装置であっ
て、 前記カラー画像データの座標値が、該カラー画像データ
の各色成分の濃度に対応した値として定義されており、
前記格子点変換手段が、格子点座標の変換が階調数変換
として行なう第1の階調数変換手段であり、 更に、前記色補正手段より出力された補正済みのカラー
画像データの各色成分毎の階調数を、画像出力装置に適
した階調数に階調数変換する第2の階調数変換手段を備
え、 前記第1の階調数変換手段による座標値の変換によって
得られる階調数が、前記第2の階調数変換手段により変
換された後の階調数より大きいことを特徴とする画像処
理装置。
21. The image processing apparatus according to claim 10, wherein the coordinate value of the color image data is defined as a value corresponding to the density of each color component of the color image data,
The grid point conversion means is first gradation number conversion means for converting the grid point coordinates as gradation number conversion, and further, for each color component of the corrected color image data output from the color correction means. Second gradation number converting means for converting the number of gradations of the first gradation number into a gradation number suitable for the image output device, and a floor obtained by converting the coordinate value by the first gradation number converting means. An image processing apparatus, wherein the number of tones is larger than the number of tones after being converted by the second tone number conversion means.
【請求項22】 請求項21記載の画像処理装置であっ
て、 前記第2の階調数変換手段は、2値化を行ない、該2値
化されたドットの分布密度により階調を表現する手段で
あり、 前記平均化処理手段は、該2値化されたドットの密度が
所定値以下の場合に、前記平均化の処理を行なう手段で
ある画像処理装置。
22. The image processing apparatus according to claim 21, wherein the second gradation number conversion means performs binarization and expresses gradation by the distribution density of the binarized dots. The image processing apparatus, which is a means for performing the averaging process when the density of the binarized dots is not more than a predetermined value.
【請求項23】 請求項10記載の画像処理装置であっ
て、 前記平均化処理手段は、 前記色補正データ読出手段により読み出した色補正デー
タを、隣接する画素の色補正データとを比較する手段
と、 該比較された両色補正データの相違が所定値以下の場合
に、前記平均化の処理を行なう手段とを備えた画像処理
装置。
23. The image processing apparatus according to claim 10, wherein the averaging processing unit compares the color correction data read by the color correction data reading unit with the color correction data of an adjacent pixel. And a means for performing the averaging process when the difference between the compared two-color correction data is less than or equal to a predetermined value.
【請求項24】 請求項10ないし請求項23のいずれ
か記載の画像処理装置であって、 前記平均化処理手段は、前記平均化処理を行なうか否か
を、前記カラー画像データを構成する各色の少なくとも
一つの色について判断し、該判断に基づいて各色毎に前
記平均化の処理を行なう手段である画像処理装置。
24. The image processing apparatus according to claim 10, wherein the averaging processing unit determines whether or not to perform the averaging processing for each color forming the color image data. An image processing apparatus which is means for determining at least one color and performing the averaging process for each color based on the determination.
【請求項25】 前記平均化処理手段は、近接する画素
について前記入力されたカラー画像データの前記色空間
内での隔たりが所定距離以下であると推定される場合
に、前記平均化の処理を行なう手段である請求項10記
載の画像処理装置。
25. The averaging processing unit performs the averaging processing when it is estimated that the distances of the input color image data in the color space of adjacent pixels are equal to or less than a predetermined distance. The image processing apparatus according to claim 10, which is a means for performing.
【請求項26】 前記平均化処理手段は、近接する画素
について前記格子点変換手段により変換された後の格子
点が少なくとも隣接する場合に、前記近接する画素間の
隔たりが前記所定距離以下であるとの推定する手段であ
る請求項25記載の画像処理装置。
26. The averaging means is arranged such that, when adjacent pixels have at least adjacent grid points after being converted by the grid point conversion means, the distance between the adjacent pixels is equal to or less than the predetermined distance. 26. The image processing apparatus according to claim 25, which is means for estimating that
【請求項27】 前記平均化処理手段は、近接する画素
についての前記カラー画像データが、共に、前記格子点
情報記憶手段が記憶している格子点が形成する単位空間
に含まれる場合に、前記近接する画素間の隔たりが前記
所定距離以下であるとの推定する手段である請求項25
記載の画像処理装置。
27. The averaging processing means, when the color image data of adjacent pixels are both included in a unit space formed by grid points stored by the grid point information storage means. 26. Means for estimating that the distance between adjacent pixels is less than or equal to the predetermined distance.
The image processing apparatus according to any one of the preceding claims.
【請求項28】 請求項10記載の画像処理装置であっ
て、 前記平均化処理手段は、 近接する画素について前記入力されたカラー画像データ
の前記色空間内での隔たりが所定距離以下であるか否か
を推定する手段と、 平均化の処理についての他の実行条件の成立を判断する
手段と、 該近接する二つの画素の隔たりが所定距離以下であると
判断され、かつ前記他の実行条件が成立していると判断
した場合のみ、前記平均化の処理を行なう手段とからな
る画像処理装置。
28. The image processing apparatus according to claim 10, wherein the averaging processing unit has a distance in the color space of the input color image data of adjacent pixels, which is equal to or less than a predetermined distance. Means for estimating whether or not another execution condition for the averaging process is satisfied, a distance between the two adjacent pixels is determined to be a predetermined distance or less, and the other execution condition An image processing apparatus comprising means for performing the averaging process only when it is determined that
【請求項29】 請求項10記載の画像処理装置であっ
て、 前記格子点情報記憶手段は、前記格子点の座標を、前記
色空間の所定の低濃度領域では他の領域よりも該色空間
を細かく分割して記憶する画像処理装置。
29. The image processing device according to claim 10, wherein the grid point information storage means sets the coordinates of the grid points in the predetermined low-density area of the color space to be more than those in other areas. An image processing device that divides the image into smaller pieces and stores them.
【請求項30】 2次元以上の色空間における座標値に
より表現された多色の画像を色補正して出力する画像処
理装置であって、 前記画像の各画素について、前記座標値を所定の階調数
で表現したカラー画像データを入力する入力手段と、 前記座標値を表現する前記階調数よりも小さな階調数に
より前記色空間を分割し、該分割を前記各次元について
行なうことより得られた格子点の座標値を前記色空間に
ついて記憶した格子点情報記憶手段と、 該各格子点に対応して、前記カラー画像データの色に関
する補正データを記憶した色補正テーブルと、 前記入力されたカラー画像データの前記色空間内での座
標値を、前記格子点からの隔たりが平均的には所定値以
下となる手法に従って、前記格子点情報記憶手段に記憶
された格子点の座標値に変換する格子点変換手段と、 該変換された座標値に対応した格子点の補正データを、
前記色補正テーブルから読み出す色補正データ読出手段
と、 該読み出された格子点の補正データのうち主要色に対応
した値を選択し、主要色毎に、前記格子点から前記主要
色に対応した座標値だけがシフトした隣接格子点の補正
データのうち当該主要色に対応した値を読み出し、該両
値を用いて補間を行ない、前記主要色についての補正デ
ータを該補間結果に置き換えた前記補正データを出力す
る色補正手段とを備えた画像処理装置。
30. An image processing apparatus for color-correcting and outputting a multi-color image represented by coordinate values in a two-dimensional or more-dimensional color space, wherein the coordinate value of each pixel of the image has a predetermined floor. Input means for inputting color image data represented by a key number, and the color space is divided by the number of gradations smaller than the number of gradations expressing the coordinate value, and the division is performed for each dimension. Grid point information storage means for storing the coordinate values of the selected grid points for the color space; a color correction table for storing correction data relating to the color of the color image data corresponding to each grid point; The coordinate value of the color image data in the color space is set to the coordinate value of the grid point stored in the grid point information storage unit according to a method in which the distance from the grid point is less than or equal to a predetermined value on average. A grid point conversion means for conversion, the correction data of the lattice point corresponding to the converted coordinate values,
A color correction data reading means for reading from the color correction table and a value corresponding to a main color of the read correction data of the grid points are selected, and for each main color, the grid point corresponds to the main color. Of the correction data of the adjacent grid points, in which only the coordinate values are shifted, the value corresponding to the main color is read, interpolation is performed using both values, and the correction data for the main color is replaced with the interpolation result. An image processing apparatus comprising: a color correction unit that outputs data.
【請求項31】 請求項30記載の画像処理装置であっ
て、 前記カラー画像データの座標値が、該カラー画像データ
の各色成分の濃度に対応した値として定義されており、
前記格子点変換手段が、格子点座標の変換を階調数変換
として行なう第1の階調数変換手段であり、 更に、前記色補正手段より出力された補正済みのカラー
画像データの各色成分毎の階調数を、画像出力装置に適
した階調数に階調数変換する第2の階調数変換手段を備
え、 前記第1の階調数変換手段による座標値の変換によって
得られる階調数が、前記第2の階調数変換手段により変
換された後の階調数より大きいことを特徴とする画像処
理装置。
31. The image processing apparatus according to claim 30, wherein the coordinate value of the color image data is defined as a value corresponding to the density of each color component of the color image data,
The grid point conversion means is first gradation number conversion means for converting the grid point coordinates as gradation number conversion, and further, for each color component of the corrected color image data output from the color correction means. Second gradation number converting means for converting the number of gradations of the first gradation number into a gradation number suitable for the image output device, and a floor obtained by converting the coordinate value by the first gradation number converting means. An image processing apparatus, wherein the number of tones is larger than the number of tones after being converted by the second tone number conversion means.
【請求項32】 前記色補正手段が出力した補正データ
を、該各画素の近傍の画素の補正データに基づいて平均
化する処理を行ない、最終的なカラー画像データとして
出力する平均化処理手段を備えた請求項30または請求
項31記載の画像処理装置。
32. An averaging processing unit that performs a process of averaging the correction data output by the color correction unit based on the correction data of pixels in the vicinity of each pixel and outputs the final color image data. The image processing device according to claim 30 or claim 31, which is provided.
【請求項33】 請求項10記載の画像処理装置であっ
て、 更に、前記入力手段が入力した各画素のカラー画像デー
タにより、該画素に隣接する画素との間に新たな画素を
想定し、該新たな画素に前記入力したカラー画像データ
を設定する画像拡大手段を備え、 前記平均化処理手段は、前記画像拡大手段により想定さ
れた画素との間で、前記平均化処理を行なう手段である
画像処理装置。
33. The image processing apparatus according to claim 10, further comprising a new pixel between a pixel adjacent to the pixel based on the color image data of each pixel input by the input means, Image averaging means for setting the input color image data to the new pixel is provided, and the averaging processing means is means for performing the averaging processing with the pixel assumed by the image enlarging means. Image processing device.
【請求項34】 2次元以上の色空間における座標値に
より表現された多色の画像を色補正して出力する画像処
理方法であって、 前記画像の各画素について、前記座標値を所定の階調数
を用いて表現したカラー画像データを入力し、 前記座標値を表現する前記階調数よりも少ない階調数に
より前記色空間を分割し、かつ該色空間の所定の低濃度
領域では他の領域よりも該色空間を細かく分割し、該分
割を前記各次元について行なうことにより得られた格子
点の座標値を前記色空間について記憶し、 該各格子点に対応して、前記カラー画像データの色に関
する補正データを記憶した色補正テーブルを用意し、 前記入力されたカラー画像データの前記色空間内での座
標値を、前記格子点からの隔たりが平均的には所定値以
下となる手法に従って、前記記憶された格子点の座標値
に変換し、 該変換された座標値に対応した格子点の補正データを、
前記色補正テーブルから読み出し、補正済みのカラー画
像データとして出力する画像処理方法。
34. An image processing method for color-correcting and outputting a multicolor image represented by coordinate values in a two-dimensional or more-dimensional color space, wherein for each pixel of the image, the coordinate value is set to a predetermined floor. Color image data expressed using tones is input, the color space is divided by a number of gradations smaller than the number of gradations expressing the coordinate values, and the color space is divided into predetermined low-density areas. The color space is divided more finely than the area of, and the coordinate values of the grid points obtained by performing the division for each of the dimensions are stored for the color space, and the color image corresponding to each grid point is stored. A color correction table that stores correction data relating to the color of the data is prepared, and the coordinate value of the input color image data in the color space is on average less than a predetermined value from the grid point. According to the technique It was converted into the coordinate values of the stored grid points, the correction data of the lattice point corresponding to the converted coordinate values,
An image processing method for reading out from the color correction table and outputting as corrected color image data.
【請求項35】 2次元以上の色空間における座標値に
より表現された多色の画像を色補正して出力する画像処
理方法であって、 前記画像の各画素について、前記座標値を所定の階調数
を用いて表現したカラー画像データを入力し、 前記座標値を表現する前記階調数よりも少ない階調数に
より前記色空間を分割し、かつ該色空間の所定の低濃度
領域では他の領域よりも該色空間を細かく分割し、該分
割を前記各次元について行なうことにより得られた格子
点の座標値を前記色空間について記憶し、 該各格子点に対応して、前記カラー画像データの色に関
する補正データを記憶した色補正テーブルを用意し、 前記入力されたカラー画像データの前記色空間内での座
標値を、前記格子点からの隔たりが平均的には所定値以
下となる手法に従って、前記記憶された格子点の座標値
に変換し、 該変換された座標値に対応した格子点の補正データを、
前記色補正テーブルから読み出し、 該読み出された格子点の補正データのうち主要色に対応
した値を選択し、主要色毎に、前記格子点から前記主要
色に対応した座標値だけがシフトした隣接格子点の補正
データのうち当該主要色に対応した値を読み出し、該両
値を用いて補間を行ない、前記主要色についての補正デ
ータを該補間結果に置き換えた前記補正データを最終的
な補正済みのカラー画像データとして出力する画像処理
方法。
35. An image processing method for color-correcting and outputting a multi-color image represented by coordinate values in a two-dimensional or more-dimensional color space, wherein for each pixel of the image, the coordinate value is set to a predetermined level. Color image data expressed using tones is input, the color space is divided by a number of gradations smaller than the number of gradations expressing the coordinate values, and the color space is divided into predetermined low-density areas. The color space is divided more finely than the area of, and the coordinate values of the grid points obtained by performing the division for each of the dimensions are stored for the color space, and the color image corresponding to each grid point is stored. A color correction table that stores correction data relating to the color of the data is prepared, and the coordinate value of the input color image data in the color space is on average less than a predetermined value from the grid point. According to the technique It was converted into the coordinate values of the stored grid points, the correction data of the lattice point corresponding to the converted coordinate values,
A value corresponding to the main color is selected from the correction data of the grid points read out from the color correction table, and only the coordinate value corresponding to the main color is shifted from the grid points for each main color. Of the correction data of the adjacent grid points, the value corresponding to the main color is read, interpolation is performed using both values, and the correction data for the main color is replaced with the interpolation result to finally correct the correction data. Image processing method to output as completed color image data.
【請求項36】 2次元以上の色空間における座標値に
より表現された多色の画像を色補正して出力する画像処
理方法であって、 前記画像の各画素について、前記座標値を所定の階調数
で表現したカラー画像データを入力し、 前記座標値を表現する前記階調数よりも小さな階調数に
より前記色空間を分割し、該分割を前記各次元について
行なうことより得られた格子点の座標値を前記色空間に
ついて記憶し、 該各格子点に対応して、前記カラー画像データの色に関
する補正データを記憶した色補正テーブルを用意し、 前記入力されたカラー画像データの前記色空間内での座
標値を、前記格子点からの隔たりが平均的には所定値以
下となる手法に従って、前記記憶された格子点の座標値
に変換し、 該変換された座標値に対応した格子点の補正データを、
前記色補正テーブルから読み出し、 該読み出した各画素の補正データを、該各画素の近傍の
画素の補正データに基づいて平均化する処理を行なう画
像処理方法。
36. An image processing method for color-correcting and outputting a multicolor image represented by coordinate values in a two-dimensional or more-dimensional color space, wherein for each pixel of the image, the coordinate value is set to a predetermined level. A grid obtained by inputting color image data represented by a key number, dividing the color space by a number of gradations smaller than the number of gradations expressing the coordinate value, and performing the division for each dimension. Coordinate values of points are stored in the color space, and a color correction table storing correction data relating to the color of the color image data is prepared corresponding to each grid point, and the color of the input color image data is stored. The coordinate value in space is converted into the coordinate value of the stored grid point according to a method in which the distance from the grid point is, on average, a predetermined value or less, and the grid corresponding to the converted coordinate value. Point correction The over data,
An image processing method for performing a process of reading from the color correction table and averaging the read correction data of each pixel based on the correction data of a pixel in the vicinity of each pixel.
【請求項37】 近接する画素について前記入力された
カラー画像データの前記色空間内での隔たりが所定距離
以下であると推定される場合に、前記平均化の処理を行
なう請求項36記載の画像処理方法。
37. The image according to claim 36, wherein the averaging process is performed when the distance in the color space of the input color image data is estimated to be a predetermined distance or less for adjacent pixels. Processing method.
【請求項38】 2次元以上の色空間における座標値に
より表現された多色の画像を色補正して出力する画像処
理方法であって、 前記画像の各画素について、前記座標値を所定の階調数
で表現したカラー画像データを入力し、 前記座標値を表現する前記階調数よりも小さな階調数に
より前記色空間を分割し、該分割を前記各次元について
行なうことより得られた格子点の座標値を前記色空間に
ついて記憶し、 該各格子点に対応して、前記カラー画像データの色に関
する補正データを記憶した色補正テーブルを用意し、 前記入力されたカラー画像データの前記色空間内での座
標値を、前記格子点からの隔たりが平均的には所定値以
下となる手法に従って、前記記憶された格子点の座標値
に変換し、 該変換された座標値に対応した格子点の補正データを、
前記色補正テーブルから読み出し、 該読み出された格子点の補正データのうち主要色に対応
した値を選択し、主要色毎に、前記格子点から前記主要
色に対応した座標値だけがシフトした隣接格子点の補正
データのうち当該主要色に対応した値を読み出し、該両
値を用いて補間を行ない、前記主要色についての補正デ
ータを該補間結果に置き換えた前記補正データを出力す
る画像処理方法。
38. An image processing method for color-correcting and outputting a multicolor image represented by coordinate values in a two-dimensional or more-dimensional color space, wherein the coordinate value of each pixel of the image is a predetermined floor. A grid obtained by inputting color image data represented by a key number, dividing the color space by a number of gradations smaller than the number of gradations expressing the coordinate value, and performing the division for each dimension. Coordinate values of points are stored in the color space, and a color correction table storing correction data relating to the color of the color image data is prepared corresponding to each grid point, and the color of the input color image data is stored. The coordinate value in space is converted into the coordinate value of the stored grid point according to a method in which the distance from the grid point is, on average, a predetermined value or less, and the grid corresponding to the converted coordinate value. Point correction The over data,
A value corresponding to the main color is selected from the correction data of the grid points read out from the color correction table, and only the coordinate value corresponding to the main color is shifted from the grid points for each main color. Image processing of reading out the value corresponding to the main color from the correction data of the adjacent grid points, performing interpolation using the both values, and outputting the correction data in which the correction data for the main color is replaced with the interpolation result Method.
JP06247697A 1996-02-29 1997-02-28 Image processing apparatus and image processing method Expired - Fee Related JP3823424B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP06247697A JP3823424B2 (en) 1996-02-29 1997-02-28 Image processing apparatus and image processing method
US08/987,375 US6215561B1 (en) 1997-02-28 1997-12-09 Image processing apparatus and image processing method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP4360596 1996-02-29
JP8-43605 1996-02-29
JP06247697A JP3823424B2 (en) 1996-02-29 1997-02-28 Image processing apparatus and image processing method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2005277640A Division JP4127281B2 (en) 1996-02-29 2005-09-26 Image processing apparatus and image processing method

Publications (2)

Publication Number Publication Date
JPH09294212A true JPH09294212A (en) 1997-11-11
JP3823424B2 JP3823424B2 (en) 2006-09-20

Family

ID=26383406

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06247697A Expired - Fee Related JP3823424B2 (en) 1996-02-29 1997-02-28 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP3823424B2 (en)

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1169141A (en) * 1997-08-25 1999-03-09 Fuji Photo Film Co Ltd Image generating method and device therefor
JPH11275377A (en) * 1998-03-25 1999-10-08 Fujitsu Ltd Method and device for converting color data
JP2000050058A (en) * 1998-07-30 2000-02-18 Ricoh Co Ltd Resolution conversion method/device and storage medium
JP2000059645A (en) * 1998-08-14 2000-02-25 Toshiba Corp Image processor
JP2000201279A (en) * 1998-12-11 2000-07-18 Xerox Corp Color converting method and conversion processor
JP2001010119A (en) * 1999-06-28 2001-01-16 Canon Inc Data base and image processor employing it
JP2002207335A (en) * 2001-01-09 2002-07-26 Kyocera Mita Corp Color image forming device
JP2003051003A (en) * 2001-08-08 2003-02-21 Canon Inc Image processor, image recorder and control method therefor
JP2003116018A (en) * 2001-10-05 2003-04-18 Hitachi Ltd Apparatus and method for processing image
JP2003283854A (en) * 2002-03-20 2003-10-03 Seiko Epson Corp Method for correcting color image data using correction table
JP2003289551A (en) * 2002-03-28 2003-10-10 Nippon Telegr & Teleph Corp <Ntt> Image signal digitizing method, image signal restoring method, image signal coding method, image signal decoding method, image signal digitizing program, recording medium having recorded the program, image signal restoring program, recording medium having recorded the program, image signal coding program, recording medium having recorded the program, image signal decoding program and recording medium having recorded the program
JP2004015086A (en) * 2002-06-03 2004-01-15 Canon Inc Image processing apparatus and its control method
JP2004088407A (en) * 2002-08-27 2004-03-18 Seiko Epson Corp Image processor for performing filtering processing corresponding to output resolution
JP2005217812A (en) * 2004-01-30 2005-08-11 Mitsubishi Electric Corp Data processing apparatus, data processing method, and program
JP2006058699A (en) * 2004-08-20 2006-03-02 Fuji Xerox Co Ltd Data management device and image forming apparatus using same
JP2007008171A (en) * 2006-10-16 2007-01-18 Seiko Epson Corp Printer, printing method and recording medium
JP2007142506A (en) * 2005-11-15 2007-06-07 Seiko Epson Corp Image processing apparatus, image processing method, and program
JP2007142911A (en) * 2005-11-21 2007-06-07 Seiko Epson Corp Image processing apparatus, image processing method, and program
US7268897B1 (en) 1999-06-28 2007-09-11 Canon Kabushiki Kaisha Print control apparatus and method
JP2008160475A (en) * 2006-12-22 2008-07-10 Canon Inc Image output method and image output apparatus
JP2009033429A (en) * 2007-07-26 2009-02-12 Fuji Xerox Co Ltd Image processing device
JP2011007981A (en) * 2009-06-25 2011-01-13 Canon Inc Image forming apparatus
US8553278B2 (en) 2006-12-21 2013-10-08 Canon Kabushiki Kaisha Method of generating combined look-up table, and image processing apparatus and image forming apparatus
JP2018133788A (en) * 2017-02-17 2018-08-23 ブラザー工業株式会社 Image processing apparatus, and computer program
JP2020120318A (en) * 2019-01-25 2020-08-06 コニカミノルタ株式会社 Method for creating color separation table, program, and printing device

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1169141A (en) * 1997-08-25 1999-03-09 Fuji Photo Film Co Ltd Image generating method and device therefor
JPH11275377A (en) * 1998-03-25 1999-10-08 Fujitsu Ltd Method and device for converting color data
JP2000050058A (en) * 1998-07-30 2000-02-18 Ricoh Co Ltd Resolution conversion method/device and storage medium
JP2000059645A (en) * 1998-08-14 2000-02-25 Toshiba Corp Image processor
JP2000201279A (en) * 1998-12-11 2000-07-18 Xerox Corp Color converting method and conversion processor
US7268897B1 (en) 1999-06-28 2007-09-11 Canon Kabushiki Kaisha Print control apparatus and method
JP2001010119A (en) * 1999-06-28 2001-01-16 Canon Inc Data base and image processor employing it
JP2002207335A (en) * 2001-01-09 2002-07-26 Kyocera Mita Corp Color image forming device
JP2003051003A (en) * 2001-08-08 2003-02-21 Canon Inc Image processor, image recorder and control method therefor
JP2003116018A (en) * 2001-10-05 2003-04-18 Hitachi Ltd Apparatus and method for processing image
JP2003283854A (en) * 2002-03-20 2003-10-03 Seiko Epson Corp Method for correcting color image data using correction table
US7336392B2 (en) 2002-03-20 2008-02-26 Seiko Epson Corporation Method of correcting color image data according to correction table
JP2003289551A (en) * 2002-03-28 2003-10-10 Nippon Telegr & Teleph Corp <Ntt> Image signal digitizing method, image signal restoring method, image signal coding method, image signal decoding method, image signal digitizing program, recording medium having recorded the program, image signal restoring program, recording medium having recorded the program, image signal coding program, recording medium having recorded the program, image signal decoding program and recording medium having recorded the program
JP2004015086A (en) * 2002-06-03 2004-01-15 Canon Inc Image processing apparatus and its control method
JP2004088407A (en) * 2002-08-27 2004-03-18 Seiko Epson Corp Image processor for performing filtering processing corresponding to output resolution
JP2005217812A (en) * 2004-01-30 2005-08-11 Mitsubishi Electric Corp Data processing apparatus, data processing method, and program
JP2006058699A (en) * 2004-08-20 2006-03-02 Fuji Xerox Co Ltd Data management device and image forming apparatus using same
JP4608997B2 (en) * 2004-08-20 2011-01-12 富士ゼロックス株式会社 Image forming apparatus
JP2007142506A (en) * 2005-11-15 2007-06-07 Seiko Epson Corp Image processing apparatus, image processing method, and program
JP2007142911A (en) * 2005-11-21 2007-06-07 Seiko Epson Corp Image processing apparatus, image processing method, and program
JP2007008171A (en) * 2006-10-16 2007-01-18 Seiko Epson Corp Printer, printing method and recording medium
US8553278B2 (en) 2006-12-21 2013-10-08 Canon Kabushiki Kaisha Method of generating combined look-up table, and image processing apparatus and image forming apparatus
JP2008160475A (en) * 2006-12-22 2008-07-10 Canon Inc Image output method and image output apparatus
JP2009033429A (en) * 2007-07-26 2009-02-12 Fuji Xerox Co Ltd Image processing device
JP2011007981A (en) * 2009-06-25 2011-01-13 Canon Inc Image forming apparatus
JP2018133788A (en) * 2017-02-17 2018-08-23 ブラザー工業株式会社 Image processing apparatus, and computer program
JP2020120318A (en) * 2019-01-25 2020-08-06 コニカミノルタ株式会社 Method for creating color separation table, program, and printing device

Also Published As

Publication number Publication date
JP3823424B2 (en) 2006-09-20

Similar Documents

Publication Publication Date Title
JP3823424B2 (en) Image processing apparatus and image processing method
US6215561B1 (en) Image processing apparatus and image processing method
US5325211A (en) Error diffusion with output and input based feedback
JP4534963B2 (en) Image forming method, image forming apparatus, image forming system, printing method, printed matter generating method, and computer program for controlling image forming apparatus
US7961350B2 (en) Halftone for reducing dot contact between different colors
US7889389B2 (en) Printing method and apparatus
KR100405226B1 (en) Halftone dither cell with integrated preferred color matching
JPH0730772A (en) Image processor
US20090161165A1 (en) Image processing apparatus, image forming apparatus, and image processing method
US6404914B1 (en) Image processing method and apparatus
JPH03193472A (en) Highly definite image generating system of image processor
JPH05336373A (en) Image recorder
JP4506652B2 (en) High quality halftone processing
US5638188A (en) Image processing method and apparatus with storing and selecting of dot patterns
US20070081205A1 (en) Image recording apparatus and method providing personalized color enhancement
JP2019031024A (en) Image processing device and image processing method
JP4534964B2 (en) Image forming method, image forming apparatus, image forming system, printed matter generation method, and computer program for controlling image forming apparatus
US7796303B2 (en) Image processing system, image processing device, dot data processing device, and method and program product therefor
US20180234591A1 (en) Apparatus, method, and program for processing image
WO2004084540A1 (en) Image processing device and image processing method for performing conversion of color image data
JP4127281B2 (en) Image processing apparatus and image processing method
JP2023052886A (en) Image processing device, image processing method, and program
US5748772A (en) Image processing method and apparatus including an error calculation for calculating a difference between the values of error correction data and stored representative values
JP2005269527A (en) Image generating system for generating image based on the-number-of-dot information formed in given region
JP6659174B2 (en) Image processing apparatus, image processing method, and program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050712

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050726

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050926

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060228

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060313

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060619

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

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110707

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110707

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120707

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees