JPH10276337A - Color image processor - Google Patents

Color image processor

Info

Publication number
JPH10276337A
JPH10276337A JP9077082A JP7708297A JPH10276337A JP H10276337 A JPH10276337 A JP H10276337A JP 9077082 A JP9077082 A JP 9077082A JP 7708297 A JP7708297 A JP 7708297A JP H10276337 A JPH10276337 A JP H10276337A
Authority
JP
Japan
Prior art keywords
color
grid
image
image processing
processing apparatus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP9077082A
Other languages
Japanese (ja)
Inventor
Makio Goto
牧生 後藤
Akito Yoshida
章人 吉田
Yoshinori Murakami
義則 村上
Tatsuya Tanaka
達哉 田中
Takahiro Omichi
隆広 大道
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP9077082A priority Critical patent/JPH10276337A/en
Publication of JPH10276337A publication Critical patent/JPH10276337A/en
Pending legal-status Critical Current

Links

Landscapes

  • Color Image Communication Systems (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Color, Gradation (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To keep high image conversion accuracy without considerably increasing required memories by newly setting lattice points only to a range, where much higher accuracy is required or characteristics are changed by degradation with the passage of time, so as to improve accuracy within the range. SOLUTION: A color corrector 12 stores the relation between the image data of source image and the image data of copy image at the respective lattice points of three-dimensional lattice composed of plural solids dividing a color converting signal space as a look-up table and determines a color correct signal CMY by performing three-dimensional interpolation. A selector 14 judges whether or not the number of lattices is to be increased corresponding to the change of γ characteristics at an input device 11 and when that number is changed because of any change with the passage of time, the number of lattices is increased by setting the new lattice point at the center of changed range and outputted to the color corrector 12. Thus, color conversion accuracy can be improved in the range where the γ characteristics are rapidly changed.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、色修正機能を有
するカラー複写機やカラープリンタ等のから画像形成装
置に用いられるカラー画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color image processing apparatus used for a color image forming apparatus such as a color copying machine or a color printer having a color correcting function.

【0002】[0002]

【従来の技術】従来より、カラー原画を内部または外部
のカラースキャナ等の読取手段により読み取り、カラー
原画の複製画を出力手段によって出力するカラー複写機
やカラープリンタ等のカラー画像形成装置がある。
2. Description of the Related Art Conventionally, there is a color image forming apparatus such as a color copying machine or a color printer which reads a color original image by an internal or external reading means such as a color scanner and outputs a duplicate image of the color original image by an output means.

【0003】ところが、カラー画像形成装置では、入力
画像データをそのまま出力手段に与えても、殆どの場
合、原画と異なる色調の複製画が出力される。これは、
カラー画像形成における画像入力部が加法混色による色
分解処理により画像データを作成しているのに対して、
画像出力部では減法混色による発色処理を行っているた
めであると考えられる。したがって、複製画における色
調の再現性を向上するためには、画像入力部から入力さ
れた原画像の画像データを修正して画像出力部に出力す
る必要がある。
However, in the color image forming apparatus, even if the input image data is directly supplied to the output means, a duplicate image having a tone different from that of the original image is output in most cases. this is,
While the image input unit in color image formation creates image data by color separation processing by additive color mixture,
It is considered that this is because the image output unit performs the color forming process by subtractive color mixture. Therefore, in order to improve the reproducibility of the color tone in the duplicated image, it is necessary to correct the image data of the original image input from the image input unit and output it to the image output unit.

【0004】そこで、原画の色調を忠実に再現した複製
画を得るための色修正技術として、1990年画像電子
学会第29巻第3号「忠実な色再現のための色修正技
術」には、多項回帰分析を用いた数式化による色修正処
理、及び、ルックアップテーブルを用いた3次元補間や
ニューラルネットワークを用いた非数式化による色修正
処理が開示されている。また、経時劣化を補正するもの
として、特開平6−55779号公報には、プリンタの
特性の経年変化を補正する構成が開示されている。さら
に、特開平4−21191号公報には、色変換値記憶用
のテーブルにおいて各入力信号に異なるビット数配分を
し、特開にグリーン信号を最も多く設定してて補間する
方法が開示されている。
Therefore, as a color correction technique for obtaining a duplicate picture faithfully reproducing the color tone of the original picture, the Image Electronics Society of Japan, Vol. 29, No. 3, “Color Correction Technique for Faithful Color Reproduction”, A color correction process based on mathematical expression using a polynomial regression analysis and a color correction process based on non-formulaization using a three-dimensional interpolation or a neural network using a lookup table are disclosed. Japanese Patent Application Laid-Open No. 6-55779 discloses a configuration for correcting aging of printer characteristics. Further, Japanese Patent Application Laid-Open No. H4-221191 discloses a method in which a different bit number is allocated to each input signal in a table for storing a color conversion value, and a method of interpolating by setting a maximum number of green signals is disclosed in Japanese Patent Application Laid-Open No. H11-216191. I have.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、同じ座
標軸内においてもばらつきがあるため、補間計算に使用
する格子によって変換精度の誤差が大きくなる。また、
従来の色修正技術では、使用するにつれて座標軸の特定
の区間のみが劣化した場合等には対応することができな
かった。
However, since there are variations even within the same coordinate axis, errors in the conversion accuracy increase depending on the grid used for the interpolation calculation. Also,
The conventional color correction technique cannot cope with a case where only a specific section of the coordinate axis has deteriorated as it is used.

【0006】この発明の目的は、より高い精度を必要と
する範囲、または、経時劣化等により特性が変化した範
囲に対してのみ、新たに格子点を設定することにより、
その範囲の精度を向上させ、必要とするメモリの著しい
増加を生じることなく、画像変換精度を高く維持するこ
とができるカラー画像処理装置を提供することにある。
An object of the present invention is to set a new grid point only in a range where higher accuracy is required or in a range in which characteristics have changed due to aging or the like.
It is an object of the present invention to provide a color image processing apparatus capable of improving the accuracy of the range and maintaining a high image conversion accuracy without significantly increasing the required memory.

【0007】[0007]

【課題を解決するための手段】請求項1に記載した発明
は、色空間を分割する3次元格子の各格子点における色
分解信号と色修正信号との対応関係を記憶するルックア
ップテーブルを備え、このルックアップテーブルを参照
して画像入力部から入力された原画像の画像データの色
修正処理を実行して画像出力部に出力するカラー画像処
理装置において、前記ルックアップテーブルの格子点の
色空間座標を変更する格子点変更処理を行うことを特徴
とする。
According to the present invention, there is provided a look-up table for storing a correspondence between a color separation signal and a color correction signal at each grid point of a three-dimensional grid for dividing a color space. A color image processing apparatus that performs a color correction process on the image data of the original image input from the image input unit with reference to the look-up table and outputs the processed data to an image output unit; It is characterized in that a lattice point changing process for changing the space coordinates is performed.

【0008】請求項1に記載した発明においては、色変
換処理の精度に影響を与えるルックアップテーブルにお
ける格子点の座標が変更され、画像入力部のγ特性の経
時変化による変換精度の低下を補正したり、特定の色に
ついて高精度の変換処理を必要とする場合に対応でき
る。
According to the first aspect of the present invention, the coordinates of the grid points in the look-up table that affect the accuracy of the color conversion process are changed, and the deterioration of the conversion accuracy due to the temporal change in the γ characteristic of the image input unit is corrected. Or a case where high-precision conversion processing is required for a specific color.

【0009】請求項2に記載した発明は、前記格子点変
更処理が、前記ルックアップテーブルの格子点を増減す
る処理であることを特徴とする。
The invention described in claim 2 is characterized in that the grid point changing process is a process of increasing or decreasing the number of grid points in the look-up table.

【0010】請求項2に記載した発明においては、色変
換処理の精度に影響を与えるルックアップテーブルにお
ける格子点が増減され、変換精度の向上が必要な範囲に
格子点を増加し、変換精度の向上が不要な範囲の格子点
を減少することにより、ルックアップテーブルの記憶容
量を増加することなく変換精度の補正や特定の色につい
ての精度の向上を図ることができる。
According to the second aspect of the present invention, the number of grid points in the look-up table which affects the accuracy of the color conversion processing is increased or decreased, and the number of grid points is increased in a range where the conversion accuracy needs to be improved. By reducing the number of grid points in a range that does not need to be improved, it is possible to correct the conversion accuracy and improve the accuracy for a specific color without increasing the storage capacity of the lookup table.

【0011】請求項3に記載した発明は、前記格子点変
更処理が、前記ルックアップテーブルの格子点の間隔を
変更する処理であることを特徴とする。
The invention described in claim 3 is characterized in that the grid point changing process is a process of changing an interval between grid points of the lookup table.

【0012】請求項3に記載した発明においては、色変
換処理の精度に影響を与えにルックアップテーブルにお
ける格子点の間隔が変更され、画像入力部のγ特性に応
じて連続的に色変換処理の精度を変化させることができ
る。
According to the third aspect of the present invention, the interval between the grid points in the look-up table is changed to affect the accuracy of the color conversion processing, and the color conversion processing is continuously performed according to the γ characteristic of the image input unit. Accuracy can be changed.

【0013】請求項4に記載した発明は、前記格子点変
更処理が、画像入力部のγ特性の検出結果に基づいて格
子点の色空間座標を変更すべきか否かを判断する処理を
含むことを特徴とする。
According to a fourth aspect of the present invention, the grid point changing process includes a process of determining whether or not to change the color space coordinates of the grid point based on the detection result of the γ characteristic of the image input unit. It is characterized by.

【0014】請求項4に記載した発明においては、画像
入力部におけるγ特性の経時変化による色再現性の低下
が、ルックアップテーブルの格子点の変更により補正さ
れる。
According to the fourth aspect of the present invention, a decrease in color reproducibility due to a temporal change in the γ characteristic in the image input unit is corrected by changing the lattice points of the look-up table.

【0015】請求項5に記載した発明は、前記格子点変
更処理が、画像入力部から入力された原画像の履歴に基
づいて格子点の色空間座標を変更すべきか否かを判断す
る処理を含むことを特徴とする。
According to a fifth aspect of the present invention, the grid point changing process determines whether or not to change the color space coordinates of the grid points based on the history of the original image input from the image input unit. It is characterized by including.

【0016】請求項5に記載した発明においては、原画
像における色の出現頻度に合わせてルックアップテーブ
ルの格子点が変更され、出現頻度の高い色の再現性を向
上できる。
According to the fifth aspect of the present invention, the grid points of the look-up table are changed in accordance with the frequency of appearance of the color in the original image, and the reproducibility of the color having a high appearance frequency can be improved.

【0017】請求項6に記載した発明は、前記ルックア
ップテーブルにおいて予め設定された単一または複数の
特定格子に含まれる原画像の画像データを学習データと
するニューラルネットワークを備え、特定格子外の画像
データについては前記ルックアップテーブルによる色修
正処理を行い、特定格子内の原画像の画像データについ
てはニューラルネットワークによる色修正を行うことを
特徴とする。
According to a sixth aspect of the present invention, there is provided a neural network which uses, as learning data, image data of an original image included in one or a plurality of specific grids preset in the look-up table. The image data is subjected to a color correction process using the look-up table, and the image data of the original image in the specific grid is subjected to a color correction using a neural network.

【0018】請求項6に記載した発明においては、予め
設定された特定格子内の色についてルックアップテーブ
ルに基づく色修正に代えてニューラルネットワークによ
る色修正が行われ、特定の範囲の色についてさらに高精
度の色変換処理を行うことができる。
In the invention described in claim 6, color correction by a neural network is performed instead of color correction based on a look-up table for colors in a specific grid set in advance, and colors in a specific range are further increased. Accurate color conversion processing can be performed.

【0019】請求項7に記載した発明は、前記ニューラ
ルネットワークが、前記特定格子の格子点、境界辺上の
点、及び、境界面上の点の画像データを学習データに含
むことを特徴とする。
The invention described in claim 7 is characterized in that the neural network includes image data of grid points of the specific grid, points on a boundary side, and points on a boundary surface in learning data. .

【0020】請求項7に記載した発明においては、予め
設定された特定の格子の境界部分の画像データがニュー
ラルネットワークの学習データに含まれるため、ルック
アップテーブルに基づいて色修正された画像データとニ
ューラルネットワークによって色修正された画像データ
との色調の連続性を維持することができる。
In the invention described in claim 7, since the image data of the boundary portion of the specific grid set in advance is included in the learning data of the neural network, the image data color-corrected based on the look-up table and The continuity of the color tone with the image data color-corrected by the neural network can be maintained.

【0021】[0021]

【発明の実施の形態】図1は、この発明の実施形態に係
るカラー画像処理装置の構成を示すブロック図である。
カラー画像処理装置1は、原画の画像情報が入力される
画像入力装置11、入力された画像情報の色データを修
正する色修正装置12、色修正された色データを含む画
像情報を出力して複製画を得る画像出力装置13、及
び、色修正装置12に記憶されているルックアップテー
ブルの内容を書き換えるか否かの選択をおこなう選択装
置14から構成される。
FIG. 1 is a block diagram showing a configuration of a color image processing apparatus according to an embodiment of the present invention.
The color image processing apparatus 1 outputs an image input device 11 to which image information of an original image is input, a color correction device 12 for correcting color data of the input image information, and image information including the color corrected color data. It comprises an image output device 13 for obtaining a duplicate image, and a selection device 14 for selecting whether or not to rewrite the contents of a look-up table stored in the color correction device 12.

【0022】画像入力装置11は、画像読取手段として
カラースキャナを備えており、カラー原画像を走査して
R(赤)、G(緑)、B(青)の色分解信号(以下、R
GB信号という。)を得る。このカラースキャナは、走
査した原画像をRGBの各色について少なくとも256
階調に色分解することができる。
The image input device 11 includes a color scanner as image reading means, scans a color original image, and separates R (red), G (green), and B (blue) color separation signals (hereinafter, referred to as R).
It is called a GB signal. Get) The color scanner converts the scanned original image into at least 256 colors for each of RGB.
Color separation into gradations is possible.

【0023】画像出力装置13は、出力手段としてカラ
ープリンタを備えており、C(シアン)、M(マゼン
タ)、Y(イエロー)、〔K(ブラック)〕の濃度信号
(以下、CMY(K)信号という。)に基づいて画像を
得る。このカラープリンタは、CMY(K)の3(4)
色のインクを使用して各256階調以上の濃度で画像を
出力する。
The image output device 13 includes a color printer as an output means, and outputs density signals of C (cyan), M (magenta), Y (yellow), and [K (black)] (hereinafter, CMY (K)). An image is obtained based on the signal. This color printer is CMY (K) 3 (4)
An image is output at a density of 256 gradations or more using color inks.

【0024】色修正装置12は、図3(C)に示すよう
に、色変換信号空間を分割する複数の立方体によって構
成された3次元格子の各格子点における原画像の画像デ
ータと複製画の画像データとの関係をルックアップテー
ブルとして記憶しており、3次元補間を行うことによっ
て色修正信号CMY(CMYK)を決定する。この3次
元補間演算について、図2に示すテーブル内のある単位
直方体を用いて説明する。図2において、各頂点をP1
〜P7とし、原点をP0とした場合の補間計算を行う点
の相対座標を(r,g,b)、各辺の長さをL1,L
2,L3、各点の出力値をC(Pi),M(Pi),Y
(Pi)とする。このとき、出力されるCMY信号は下
記式で表される。
As shown in FIG. 3 (C), the color correction device 12 converts the image data of the original image and the duplicated image at each grid point of a three-dimensional grid formed by a plurality of cubes dividing the color conversion signal space. The relationship with the image data is stored as a look-up table, and the color correction signal CMY (CMYK) is determined by performing three-dimensional interpolation. This three-dimensional interpolation calculation will be described using a certain unit rectangular parallelepiped in the table shown in FIG. In FIG. 2, each vertex is represented by P1.
To P7, the relative coordinates of the point to be subjected to the interpolation calculation when the origin is P0 are (r, g, b), and the length of each side is L1, L
2, L3, the output value of each point is C (Pi), M (Pi), Y
(Pi). At this time, the output CMY signal is represented by the following equation.

【0025】[0025]

【数1】 (Equation 1)

【0026】上記(1)〜(3)式により、すべての格
子において補間計算を行うことができる。
According to the above equations (1) to (3), the interpolation calculation can be performed for all the grids.

【0027】選択装置14は、格子数を増加または減少
させる必要があるか否かを判定し、必要があると判定さ
れた場合には、増加または減少させる格子の値を色修正
装置12に出力する。
The selection device 14 determines whether or not it is necessary to increase or decrease the number of grids, and if determined to be necessary, outputs the value of the grid to be increased or decreased to the color correction device 12. I do.

【0028】図4は、上記カラー画像処理装置の基本的
な処理手順を示すフローチャートである。先ず、画像入
力装置11により原画像を走査し、RGB各色について
256階調の原画像データを入力する(s1)。次い
で、選択装置14において、格子数を変更する必要性の
有無をチェックするタイミングであるか否かの判断を行
う(s2)。ここでは、例えば、所定回数分の複製画の
形成後であるか否か、または、電源投入直後であるか否
か等により、格子数を変更する必要性の有無がチェック
される。
FIG. 4 is a flowchart showing a basic processing procedure of the color image processing apparatus. First, an original image is scanned by the image input device 11, and original image data of 256 gradations for each of RGB colors is input (s1). Next, the selection device 14 determines whether or not it is time to check whether the number of grids needs to be changed (s2). Here, for example, it is checked whether or not the number of grids needs to be changed based on whether or not a predetermined number of duplicate images have been formed or whether or not the power has just been turned on.

【0029】s2において格子数を変更する必要性の有
無をチェックすべきタイミングであると判断されると、
格子数の増加または変更が必要であるかのチェックを行
い(s3)、格子数の増加または変更が必要であると判
断した場合には、変更すべき格子とその格子点のテーブ
ル値(色変換信号空間における座標値)を算出する(s
4)。この後、または、s2でチェックすべきタイミン
グでないと判断した場合、及び、s3で格子数の変更が
不要であると判断した場合には、色修正装置12により
色修正を行ったのち(s5)、画像出力装置13により
複製画が出力される(s6)。
If it is determined in s2 that it is time to check whether the number of grids needs to be changed,
It is checked whether the number of grids needs to be increased or changed (s3). If it is determined that the number of grids needs to be increased or changed, the grid to be changed and the table value of the grid point (color conversion) are determined. Calculate (coordinate values in the signal space) (s
4). Thereafter, or if it is determined in s2 that the timing is not to be checked, and if it is determined in s3 that the change in the number of grids is not necessary, the color correction device 12 performs color correction (s5). Then, a duplicate image is output by the image output device 13 (s6).

【0030】上記s3及びs4の処理における格子数を
変更する必要性の有無の判断、及び、格子数の変更方法
について以下に説明する。
The following describes how to determine the necessity of changing the number of grids in the processes of s3 and s4, and how to change the number of grids.

【0031】この発明の実施形態に係るカラー画像処理
装置では、入力装置11におけるγ特性の変化によって
格子数を増加すべきか否かを判断する。例えば、入力装
置11の原稿読取手段におけるR成分の初期状態のγ特
性が図3(A)に示す状態であった場合、R信号の入力
特性は線形であるため、図3(C)に示す複数の立方体
の格子をもつルックアップテーブルが補間計算に適して
いる。
In the color image processing apparatus according to the embodiment of the present invention, it is determined whether or not the number of grids should be increased based on a change in the γ characteristic in the input device 11. For example, if the initial component γ characteristic of the R component in the document reading unit of the input device 11 is in the state shown in FIG. 3A, the input characteristic of the R signal is linear. Look-up tables with multiple cubic grids are suitable for interpolation calculations.

【0032】s3では、先ず、RGBの各成分が線形で
連続的に変化するサンプル画像を原画像として読み取
る。このとき、γ特性は理想的には図3(A)に示すよ
うに線形を示すべきであるが、経時変化により特性が変
化した場合には、入力信号の線形性が失われ、例えば、
図3(B)に示すように破線で囲まれた範囲において特
性の傾きが急峻になったとすると、この範囲において図
3(C)に示すテーブルによっては十分な精度をえるこ
とができない。そこで、このような場合には、図3
(D)に示すように、より高い精度が要求される範囲の
中央に新たな格子点を設定して格子数を増加する。
In s3, first, a sample image in which each component of RGB changes linearly and continuously is read as an original image. At this time, the γ characteristic should ideally show a linear shape as shown in FIG. 3 (A), but if the characteristic changes due to aging, the linearity of the input signal is lost.
Assuming that the characteristic has a steep slope in a range surrounded by a broken line as shown in FIG. 3B, sufficient accuracy cannot be obtained in this range depending on the table shown in FIG. Therefore, in such a case, FIG.
As shown in (D), a new grid point is set at the center of the range where higher accuracy is required, and the number of grids is increased.

【0033】s4では、先ず、格子点の出力値を求める
際のデータとして用いるカラーサンプルを出力装置13
により出力する。この時、新しく増加させる格子点のテ
ーブル値を求めるときは、増加させる値付近のみのカラ
ーサンプルを出力させることとすることができる。例え
ば、R=239付近に新たに1個の格子点を設定する場
合には、R=223、239,255の3点で、G及び
Bについて0〜255の範囲を9当分した243(3×
9×9)色分のRGB信号を変更前のルックアップテー
ブルに基づいてCMY信号に変換してカラーサンプルを
出力する。また、新たに1個の格子点を設定すると同時
に全てのテーブル値を変更する場合には、810(10
×9×9)色分のRGB信号を変換前のルックアップテ
ーブルに基づいてCMY信号に変換してカラーサンプル
を出力する。
In s4, first, a color sample to be used as data for obtaining an output value of a grid point is output to the output device 13 (step S4).
Is output. At this time, when calculating the table value of the grid point to be newly increased, it is possible to output a color sample only around the value to be increased. For example, when one new grid point is set near R = 239, the range of 0 to 255 for G and B is divided by 9 into 243 (3 × 3) for three points of R = 223, 239, and 255.
The RGB signals for 9 × 9) colors are converted into CMY signals based on the lookup table before the change, and color samples are output. When one grid point is newly set and all table values are changed at the same time, 810 (10
(* 9 * 9) The RGB signals for the colors are converted into CMY signals based on the look-up table before conversion, and color samples are output.

【0034】この時、出力装置13に供給した値を(D
ci,Dmi,Dyi)とし、出力されたカラーサンプルを読
み取った値を(Dri,Dgi,Dbi)として、線形マスキ
ング法によりテーブル値を求めるものとすると、
At this time, the value supplied to the output device 13 is (D
ci , D mi , D yi ), and the values obtained by reading the output color samples are (D ri , D gi , D bi ), and table values are obtained by a linear masking method.

【0035】[0035]

【数2】 (Equation 2)

【0036】が成立するように最小二乗法によりaij
決定する。例えば、新たな格子点(239,255,2
55)のテーブル値(Dci,Dmi,Dyi)は、Dr =2
39,Dm =255,Dy =255として上記(4)式
に代入することにより求めることができる。
A ij is determined by the least square method so that the following holds. For example, a new grid point (239, 255, 2
55) is (D ci , D mi , D yi ): D r = 2
39, D m = 255, D y = 255, and can be obtained by substituting into the above equation (4).

【0037】以上の処理により、画像入力装置11のγ
特性の変化が急峻な範囲について、色変換信号空間を分
割する格子数を増加することにより(図3(D)参
照)、その範囲における色変換精度を向上することがで
きる。
By the above processing, γ of the image input device 11
By increasing the number of grids that divide the color conversion signal space in a range where the characteristic changes steeply (see FIG. 3D), the color conversion accuracy in that range can be improved.

【0038】また、カラー画像処理装置1における色の
使用頻度に応じて格子数を変更すべきか否かを決定する
こともできる。この場合には、s2において、一定枚数
N毎に格子数変更の必要性のチェックを行うものとし、
原画像が入力される毎に画像中の予め設定された数十点
の色若しくは画像中の数十点の代表色を抽出する。この
抽出した数十色の色データのRGB各成分の値をカウン
トし、N枚入力された後、各成分のカウント数を調べ、
カウントの多い区間があればその区間は使用頻度が高い
と判断して格子数を増加させる。例えば、N枚入力後の
R成分のカウントのヒストグラムが図5(A)に示す状
態であるとすると、同図中点線付近の使用頻度が高いと
判断され、図5(B)に示すように格子点を増加させ
る。新しい格子点のテーブル値は、上述の方法により決
定できる。
It is also possible to determine whether or not the number of grids should be changed according to the frequency of use of colors in the color image processing apparatus 1. In this case, in s2, the necessity of changing the number of grids is checked every fixed number N,
Every time the original image is input, several tens of preset colors in the image or several tens representative colors in the image are extracted. The values of the RGB components of the extracted dozens of color data are counted, and after N sheets are input, the count number of each component is checked.
If there is a section with a large count, the section is determined to be frequently used, and the number of grids is increased. For example, if the histogram of the count of the R component after input of N sheets is in the state shown in FIG. 5A, it is determined that the frequency of use near the dotted line in FIG. 5A is high, and as shown in FIG. Increase the number of grid points. The table value of the new grid point can be determined by the method described above.

【0039】さらに、各格子の変換精度に応じて格子数
を増加するか否かを決定することもできる。この場合に
は、s2においてチェックが必要であると判断すると、
各格子の内部の点、例えば、重心の点の色を出力する。
この時、各重心の点の値を(Dri,Dgi,Dbi)とし、
その重心値を補間計算した値を(Dci,Dmi,Dyi)と
する。出力されたカラーサンプルを画像読取手段で読み
取り、その読取値を(Dri′,Dgi′,Dbi′)とす
る。この場合、色修正系が理想的であれば、(Dri,D
gi,Dbi)=(Dri′,Dgi′,Dbi′)が成り立つは
ずであるが、実際には計算誤差や経時劣化等により成立
しない。そこで、先ず、R軸方向の判定を行うために各
格子の誤差を ΔE=(Dri′−Dri2 +(Dgi′−Dgi2 +(Dbi′−Dbi2 ・・・(5) により求める。
Further, it is possible to determine whether or not to increase the number of grids according to the conversion accuracy of each grid. In this case, if it is determined that a check is necessary in s2,
Output the color of the points inside each grid, for example, the point of the center of gravity.
At this time, let the value of the point of each center of gravity be ( Dri , Dgi , Dbi ),
The value obtained by interpolating the center of gravity value is defined as (D ci , D mi , D yi ). The output color sample is read by the image reading means, and the read value is defined as (D ri ', D gi ', D bi '). In this case, if the color correction system is ideal, (D ri , D
gi , D bi ) = (D ri ′, D gi ′, D bi ′), but this is not true due to calculation errors, deterioration over time, and the like. Therefore, first, in order to make a determination in the R-axis direction, the error of each lattice is determined by ΔE = (D ri ′ −D ri ) 2 + (D gi ′ −D gi ) 2 + (D bi ′ −D bi ) 2.・ ・ Calculate by (5).

【0040】原点(0,0,0)から(x,y,z)番
目の格子の誤差をΔExyz とすると、図6に示すR軸の
原点からn番目の誤差は下記(6)式で表される。
Assuming that the error of the (x, y, z) -th lattice from the origin (0, 0, 0) is ΔE xyz , the n-th error from the origin of the R axis shown in FIG. expressed.

【0041】[0041]

【数3】 (Equation 3)

【0042】ERnの値が予め決定された許容範囲内であ
れば、格子数を増やす必要がなく、反対に、許容範囲外
であれば内部に格子点を追加する。例えば、図6に示す
ように、R軸の原点から5番目の格子の誤差の和
(ER5)が許容範囲を越える場合、図5(B)に示すよ
うに格子点を追加する。G軸及びB軸についても同様に
して格子点を増加させることができる。新しい格子点の
テーブル値については、上述の方法により決定できる。
If the value of E Rn is within a predetermined allowable range, it is not necessary to increase the number of grids. Conversely, if the value is outside the allowable range, grid points are added inside. For example, as shown in FIG. 6, when the sum of errors (E R5 ) of the fifth grid from the origin of the R axis exceeds the allowable range, grid points are added as shown in FIG. 5B. Similarly, the number of lattice points can be increased for the G axis and the B axis. The table value of the new grid point can be determined by the method described above.

【0043】また、γ特性が図3(B)に示す状態から
図7(A)に示す状態に変化したとすると、R=0〜5
0の範囲では殆ど値が変化しておらず、この範囲ではあ
まり高い変換精度は必要とされない。そこで、図7
(B)に示すように高い変換精度が要求されない範囲に
おいて格子数を減少することにより、必要なメモリ容量
を削減することができる。この格子数の減少する処理
は、他の範囲における格子数を増加する処理とともに実
行することができる。
If the γ characteristic changes from the state shown in FIG. 3B to the state shown in FIG.
In the range of 0, the value hardly changes, and in this range, very high conversion accuracy is not required. Therefore, FIG.
As shown in (B), the required memory capacity can be reduced by reducing the number of grids in a range where high conversion accuracy is not required. The process of decreasing the number of grids can be executed together with the process of increasing the number of grids in another range.

【0044】加えて、特定色を含む範囲の格子に変換精
度を向上するための格子点を予め設定しておき、その格
子点を使用するか否かを条件に応じて選択する。図8
(B)に示すように全ての格子が立方体である場合、
(1)〜(3)式においてL1=L2=L3となって計
算が簡略化できる。そこで、例えば、肌色を特定色とし
た場合、肌色の領域が図8(A)における(190,1
20,110)付近であるとすると、この領域に含まれ
る画素数をカウントする。このカウントされた肌色の画
素数が予め設定された閾値以内である場合には図8
(B)に示す等間隔の立方体格子により計算し、閾値を
越えた場合には図8(C)に示すように予め設定してお
いた格子点を追加して補間計算を行う。このようにし
て、例えば、肌色のように人間の目が敏感に識別する特
定の色が多い場合にのみ変換精度を向上するようにする
ことができる。
In addition, grid points for improving conversion accuracy are set in advance in a grid in a range including a specific color, and whether to use the grid points is selected according to conditions. FIG.
If all the grids are cubic as shown in (B),
In the equations (1) to (3), L1 = L2 = L3, and the calculation can be simplified. Therefore, for example, when the skin color is a specific color, the skin color region is (190, 1) in FIG.
20, 110), the number of pixels included in this area is counted. If the counted number of pixels of the skin color is within a preset threshold value, FIG.
The calculation is performed using the equally-spaced cubic lattice shown in FIG. 8B, and when the threshold is exceeded, interpolation calculation is performed by adding grid points set in advance as shown in FIG. In this way, for example, the conversion accuracy can be improved only when there are many specific colors that the human eyes are sensitive to, such as skin colors.

【0045】なお、色変換に用いるルックアップテーブ
ルとして、等間隔の立方体格子を用いたが、画像入力装
置11から入力されるRGB信号が非線形の場合が多い
ことを考慮して、先ず、図9(A)に示すような画像入
力装置11のγ特性を測定するための評価用サンプル
(例えば、R信号のγ特性を測定するためには、図9
(A)のサンプルを赤色で作成する。)を画像入力装置
11で読み取り、図9(B)または(C)に示すように
原稿読取手段の出力信号R′またはG′が一定間隔にな
るようにRの間隔を決定したルックアップテーブルを用
いることができる。このようにして各信号の間隔を決定
することより、入力値の変化が急峻な範囲では間隔が狭
く、入力値の変化が緩慢な範囲では間隔が広く設定され
る。これによって、どの格子においても同一の精度で色
修正を行うことができ、事前に画像入力装置11の出力
信号をγ補正する必要がなくなる。
The lookup table used for the color conversion uses a cubic lattice at regular intervals. However, considering that the RGB signals input from the image input device 11 are often non-linear, first, FIG. 9A shows an evaluation sample for measuring the γ characteristic of the image input device 11 (for example, in order to measure the γ characteristic of the R signal, FIG.
The sample of (A) is made in red. ) Is read by the image input device 11, and as shown in FIG. 9 (B) or (C), a look-up table in which the interval of R is determined so that the output signal R 'or G' of the original reading means becomes constant. Can be used. By determining the interval between the signals in this manner, the interval is set narrower in a range where the change of the input value is sharp, and the interval is set wider in a range where the change of the input value is slow. As a result, color correction can be performed with the same accuracy on any grid, and it is not necessary to γ-correct the output signal of the image input device 11 in advance.

【0046】また、ルックアップテーブルの格子間隔を
変換誤差の大きさによって決定することもできる。即
ち、ルックアップテーブルの値は、線形マスキング法や
ニューラルネットワークによって算出する場合が多く、
このような計算方法によってもある程度の変換誤差を生
じる。そこで、例えば、前記(4)式の線形マスキング
法によりテーブル値を決定する場合、図10に示す領域
61を考え、この領域61における代表的な数〜数十点
の理想値をDx ′とし、(4)式による計算値をDx
すると、
Further, the grid interval of the look-up table can be determined according to the magnitude of the conversion error. That is, the value of the lookup table is often calculated by a linear masking method or a neural network,
Even with such a calculation method, a certain degree of conversion error occurs. Therefore, for example, when the table value is determined by the linear masking method of the above equation (4), consider an area 61 shown in FIG. 10, and let D x 'be a representative ideal value of several to several tens of points in this area 61. , when the calculated value D x by equation (4),

【0047】[0047]

【数4】 (Equation 4)

【0048】が領域61における誤差となる。この計算
を、例えばR信号のすべての範囲について実行すること
により、図11(A)に示すR信号に対する変換誤差が
求まる。この変換誤差をRで積分すると、図11(B)
に示すR信号に対する蓄積誤差が求まる。この蓄積誤差
の間隔が一定になるように、ルックアップテーブルにお
けるR成分の格子幅を決定する。このようにしてルック
アップテーブルにおける格子幅を決定することにより、
変換誤差の大きい範囲では格子幅を小さく設定し、変換
誤差の小さい範囲では格子幅を大きく設定することがで
き、全格子において同一の変換精度が得られる。
Is an error in the area 61. By performing this calculation for the entire range of the R signal, for example, a conversion error with respect to the R signal shown in FIG. When this conversion error is integrated by R, FIG.
The accumulation error for the R signal shown in FIG. The grid width of the R component in the look-up table is determined so that the interval of the accumulated error is constant. By determining the grid width in the lookup table in this way,
In a range where the conversion error is large, the grid width can be set small, and in a range where the conversion error is small, the grid width can be set large, and the same conversion accuracy can be obtained in all the grids.

【0049】さらに、ルックアップテーブルにおいて特
定色を含む範囲の格子幅を小さく設定することもでき
る。例えば、高い変換精度が要求される肌色を含む領域
(一例として(190,120,110)とする。)
は、ルックアップテーブルにおいて図12(A)に示す
ように表され、この領域からの距離に応じて格子幅を決
定する。即ち、図12(B)に示すように、ルックアッ
プテーブルにおいてR軸はR=190付近において狭
く、R=0及びR255付近において広くする。これに
よって、特定色の色変換精度を高くすることができる。
Further, the grid width of a range including a specific color in the lookup table can be set small. For example, a region including a skin color requiring high conversion accuracy (for example, (190, 120, 110)).
Is represented in the lookup table as shown in FIG. 12A, and the grid width is determined according to the distance from this area. That is, as shown in FIG. 12B, in the lookup table, the R axis is narrow near R = 190, and wide near R = 0 and R255. Thereby, the color conversion accuracy of the specific color can be increased.

【0050】以上のようなルックアップテーブルにおけ
る格子幅の設定処理を、カラー画像形成装置1における
特性の経時変化の補正に用いることもできる。即ち、原
画像とともに図9(A)に示した評価用サンプル画像を
読み取り、画像読取手段の出力信号の間隔が一定になる
ように、ルックアップテーブルの格子幅を算出する。こ
のとき算出した格子幅をそれまでの格子幅と比較し、両
者の差が閾値を越えた場合に、新たに算出した格子幅に
変更する。これによって、例えば、画像読取手段のγ特
性が図13(A)に示す状態から図13(B)に示す状
態に変化した場合には、ルックアップテーブルの格子幅
が図13(C)に示す状態から図13(D)に示す状態
に変更される。
The processing for setting the grid width in the look-up table as described above can also be used for correcting a change over time in characteristics in the color image forming apparatus 1. That is, the evaluation sample image shown in FIG. 9A is read together with the original image, and the grid width of the lookup table is calculated so that the interval between the output signals of the image reading unit is constant. At this time, the calculated grid width is compared with the previous grid width, and when the difference between the two exceeds the threshold, the grid width is changed to the newly calculated grid width. Thus, for example, when the γ characteristic of the image reading unit changes from the state shown in FIG. 13A to the state shown in FIG. 13B, the grid width of the lookup table is changed as shown in FIG. The state is changed from the state to the state shown in FIG.

【0051】また、画像入力装置11において原画像を
読み取る毎に、その原画像において使用されている画素
数を計数し、RGBの各色についてのヒストグラムを作
成し、このヒストグラムに基づいてルックアップテーブ
ルの格子幅を補正することもできる。即ち、所定回数の
読取処理を終了する毎に作成したヒストグラムを積分す
ることにより得られた格子幅が、それまでの格子幅から
大きく変化している場合に、新たな格子幅を設定するこ
ともできる。この処理により、例えば、R成分のヒスト
グラムが図14(A)に示す状態であれば、そのヒスト
グラムを図14(B)に示すように積分してルックアッ
プテーブルの格子幅を補正することができる。
Each time the original image is read by the image input device 11, the number of pixels used in the original image is counted, and a histogram for each of the RGB colors is created. The grid width can also be corrected. That is, if the grid width obtained by integrating the histogram created each time the predetermined number of reading processes is completed has changed greatly from the previous grid width, a new grid width may be set. it can. By this processing, for example, if the histogram of the R component is in the state shown in FIG. 14A, the histogram can be integrated as shown in FIG. 14B to correct the grid width of the lookup table. .

【0052】さらに、色空間全域に均一に分布している
代表的な色サンプル、例えば、RGBの各色について9
段階の合計729(9×9×9)色のカラーサンプルを
基準画像として読み取ることにより、ルックアップテー
ブルの格子幅を補正することもできる。即ち、基準画像
であるカラーサンプルの読取値を(Dri′,Dgi′,D
bi′)として現在のルックアップテーブルに基づいて色
修正し、出力装置を介して複製画を出力する。この複製
画を再度読み取り、この時の読取値を(Dri,Dgi,D
bi)とする。両者の読取値の誤差を
Further, a representative color sample uniformly distributed over the entire color space, for example, 9 pixels for each color of RGB.
The grid width of the look-up table can be corrected by reading a total of 729 (9 × 9 × 9) color samples as reference images. That is, the read value of the color sample as the reference image is represented by (D ri ', D gi ', D
As bi ′), the color is corrected based on the current look-up table, and the duplicate image is output via the output device. This duplicate image is read again, and the read value at this time is (D ri , D gi , D
bi ). Error between the two readings

【0053】[0053]

【数5】 (Equation 5)

【0054】により、例えば、前述した図10の領域6
1における誤差として算出する。この計算を、例えばR
信号のすべての範囲について実行することにより、図1
1(A)に示すR信号に対する変換誤差を求め、この変
換誤差をRで積分して、図11(B)に示すR信号に対
する蓄積誤差が求まる。この蓄積誤差の間隔が一定にな
るように、ルックアップテーブルにおけるR成分の格子
幅を決定する。このようにして決定されたルックアップ
テーブルにおける格子幅をそれまでの格子幅と比較し、
両者の差が閾値を越える場合に新たな格子幅を設定す
る。
As a result, for example, the region 6 in FIG.
Calculated as the error at 1. This calculation is, for example, R
By running over the full range of the signal, FIG.
A conversion error with respect to the R signal shown in FIG. 1A is obtained, and this conversion error is integrated with R to obtain an accumulation error with respect to the R signal shown in FIG. The grid width of the R component in the look-up table is determined so that the interval of the accumulated error is constant. Compare the grid width in the look-up table determined in this way with the previous grid width,
If the difference between the two exceeds the threshold, a new grid width is set.

【0055】加えて、基準画像として図9(A)に示し
た評価用サンプルを読み取ることにより格子幅が変更さ
れたルックアップテーブルの各格子点のテーブル値を補
正するようにしてもよい。即ち、上記基準画像であるカ
ラーサンプルの読取値を(Dri′,Dgi′,Dbi′)と
し、この読取値をそのときのルックアップテーブルに基
づいて色修正し、出力装置を介して複製画を出力する。
この複製画を再度読み取り、その読取値を(Dri
gi,Dbi)として、
In addition, by reading the evaluation sample shown in FIG. 9A as the reference image, the table value of each grid point of the lookup table whose grid width has been changed may be corrected. That is, the read value of the color sample as the reference image is (D ri ′, D gi ′, D bi ′), and the read value is color-corrected based on the lookup table at that time, and is output via the output device. Output a duplicate image.
This duplicate image is read again, and the read value is changed to (D ri ,
D gi , D bi )

【0056】[0056]

【数6】 (Equation 6)

【0057】において、In

【0058】[0058]

【数7】 (Equation 7)

【0059】が最小となるように最小二乗法によりaij
の値を決定する。(10)式により決定された(9)式
を用いて格子幅を変更した後の各格子点のテーブル値を
決定する。
A ij is calculated by the least squares method so that
Determine the value of. The table value of each grid point after changing the grid width is determined using the equation (9) determined by the equation (10).

【0060】図15は、この発明の別の実施形態に係る
カラー画像処理装置の構成を示す図である。このカラー
画像処理装置21は、図1に示したカラー画像処理装置
1の選択装置14に代えて指定装置24を備え、色修正
装置12と異なる色修正装置22を備えている。指定装
置24は、ニューラルネットワークによって色修正を行
う色データを外部から指定するための装置である。
FIG. 15 is a diagram showing a configuration of a color image processing apparatus according to another embodiment of the present invention. The color image processing device 21 includes a designation device 24 instead of the selection device 14 of the color image processing device 1 shown in FIG. 1 and includes a color correction device 22 different from the color correction device 12. The specification device 24 is a device for externally specifying color data to be subjected to color correction by a neural network.

【0061】図16は、上記カラー画像処理装置に含ま
れる色修正装置の構成を示す図である。色修正装置22
は、画像入力装置11のスキャナから入力された256
階調のRGB信号に対して、ニューラルネットワークと
テーブル補間法とのいずれの色修正を実行するかを選択
する判別部31、ニューラルネットワークを用いて色修
正を行うニューラルネットワーク演算部32、ニューラ
ルネットワークの学習結果を記憶する記憶部33、及
び、ルックアップテーブルに基づくテーブル補間による
色修正を実行するテーブル補間演算部34を備えてい
る。
FIG. 16 is a diagram showing a configuration of a color correction device included in the color image processing device. Color correction device 22
Is 256 input from the scanner of the image input device 11.
A discrimination unit 31 for selecting which of a neural network and a table interpolation method to perform color correction on the RGB signals of gradation, a neural network operation unit 32 for performing color correction using the neural network, and a neural network The storage unit 33 includes a storage unit 33 that stores a learning result, and a table interpolation calculation unit 34 that performs color correction by table interpolation based on a lookup table.

【0062】色修正装置22は、テーブル補間演算部3
4において、図17に示すようなRGBの3つの入力値
のそれぞれを各軸とする立方体の内部を一定間隔に分割
することにより形成される格子の各格子点をルックアッ
プテーブル41として記憶しており、3次元補間を行う
ことにより色修正信号CMY(K)信号を決定する。こ
こで、肌色、水色または緑色等の彩度が低いために人間
の視覚に敏感に認識されるために高精度の色修正が必要
な色領域を含むルックアップテーブル41内の格子を予
め特定格子として指定しておき、特定格子の格子座標等
のデータを色修正装置22内に記憶しておく。これとと
もに、特定格子内の色データを学習データとする色修正
用ニューラルネットワークを各格子または後述する各格
子群毎に形成しそのデータを記憶部36に記憶してお
く。
The color correction device 22 includes a table interpolation calculator 3
In FIG. 4, each grid point of a grid formed by dividing the inside of a cube having each of the three input values of RGB as axes as shown in FIG. The color correction signal CMY (K) signal is determined by performing three-dimensional interpolation. Here, a grid in the look-up table 41 including a color area that needs high-precision color correction in order to be sensitively recognized by human eyes due to low saturation such as skin color, light blue or green is previously specified as a specific grid. The data such as the grid coordinates of the specific grid is stored in the color correction device 22. At the same time, a color correction neural network using the color data in the specific grid as learning data is formed for each grid or each grid group described later, and the data is stored in the storage unit 36.

【0063】入力装置11から入力された256階調に
分解されたRGB信号の各成分から、入力されたRGB
信号が特定格子内の色データであるか否かを色修正装置
22内の判別部31において判別する。入力されたRG
B信号が特定格子内の色データであると判断した場合に
はニューラルネットワーク演算部32でニューラルネッ
トワークによる色修正を行い、特定格子外の色データあ
ると判断した場合にはテーブル補間演算部34で8点補
間等の補間方法によって色修正を行うことにより、CM
Y(K)信号を決定する。
From the RGB signal components which have been decomposed into 256 gradations inputted from the input device 11,
The determination unit 31 in the color correction device 22 determines whether the signal is color data in a specific grid. RG input
When it is determined that the B signal is color data in a specific grid, the neural network operation unit 32 performs color correction using a neural network, and when it is determined that there is color data outside the specific grid, the table interpolation calculation unit 34 performs the color correction. By performing color correction by an interpolation method such as 8-point interpolation, CM
Determine the Y (K) signal.

【0064】以上の処理により、高精度の色修正を必要
とする色として予め指定されたRGB信号に対しては、
ニューラルネットワークによる色修正処理を行うことに
より、補間誤差の少ない色修正を行うことがでる。
By the above processing, the RGB signal specified in advance as a color requiring high-precision color correction is
By performing the color correction processing using the neural network, it is possible to perform color correction with a small interpolation error.

【0065】なお、特定格子42の格子点43、境界辺
上の点44、及び、境界面上の点45等の境界部分の点
の色データを含む格子内の色データを、ニューラルネッ
トワーク演算部32における特定格子の色修正用ニュー
ラルネットワークの学習データに含めることにより、特
定格子42の境界付近の色データについて境界部分の点
の色修正データを反映したニューラルネットワークによ
る色修正処理を行うことができ、テーブル補間演算部3
4により色修正された画像データとニューラルネットワ
ーク演算部32により色修正された画像データとの連続
性を保つことができる。
The color data in the grid including the color data of the points at the boundary such as the grid point 43 of the specific grid 42, the point 44 on the boundary side, and the point 45 on the boundary surface is converted into the neural network operation unit. By including the color correction data at the boundary of the specific grid 42 in the learning data of the neural network for color correction of the specific grid at 32, the color correction processing by the neural network reflecting the color correction data of the point at the boundary can be performed. , Table interpolation calculator 3
4, the continuity between the color-corrected image data and the color-corrected image data by the neural network operation unit 32 can be maintained.

【0066】また、ルックアップテーブル41内におい
て複数の特定格子が近接して存在する場合には、色修正
精度が低下しないことを条件として、これら複数の特定
格子を1つの格子群46とすることにより、近接する複
数の特定格子において共通する境界部分の色データにつ
いて重複してニューラルネットワークを形成する必要が
なく、記憶部36において使用するメモリ量を削減する
とともに、色修正処理に要する時間を短縮することがで
きる。
In the case where a plurality of specific grids are located close to each other in the look-up table 41, the plurality of specific grids are used as one grid group 46 on condition that the color correction accuracy does not decrease. Accordingly, it is not necessary to form a neural network by duplicating color data of a boundary portion common to a plurality of adjacent specific grids, thereby reducing the amount of memory used in the storage unit 36 and shortening the time required for color correction processing. can do.

【0067】さらに、図18のフローチャートに示す処
理により、入力されたRGB信号が、色修正装置12内
の判別部31において特定格子内の色データであると判
断され、かつ、指定装置24において外部から指定され
た指定格子内の色データである場合にのみ、ニューラル
ネットワーク演算部32においてニューラルネットワー
クによる色修正を実行することにより(s12→s13
→s14)、真に高精度の色修正が必要なカラー画像に
ついてのみニューラルネットワークによる色修正を行う
ようにして、色修正処理に要する時間をさらに短縮する
ことができる。加えて、ルックアップテーブル内の無彩
色領域においても特定格子を設定することにより、白黒
画像について高精度で階調性を再現することができる。
Further, according to the processing shown in the flowchart of FIG. 18, the input RGB signal is judged to be the color data in the specific lattice by the discriminating section 31 in the color correcting device 12, and Only when the color data is within the specified grid specified from the above, the color correction by the neural network is executed by the neural network operation unit 32 (s12 → s13).
→ s14), the time required for the color correction process can be further reduced by performing the color correction by the neural network only on the color image that really needs high-precision color correction. In addition, by setting a specific grid even in an achromatic region in the look-up table, it is possible to reproduce gray scale characteristics of a black-and-white image with high accuracy.

【0068】[0068]

【発明の効果】請求項1に記載した発明によれば、色変
換処理の精度に影響を与えるルックアップテーブルにお
ける格子点の座標を変更することにより、画像入力部の
γ特性の経時変化による変換精度の低下を補正したり、
特定の色について高精度の変換処理を必要とする場合に
対応できる。
According to the first aspect of the present invention, by changing the coordinates of the grid points in the look-up table which affects the accuracy of the color conversion processing, the conversion due to the temporal change of the γ characteristic of the image input unit is achieved. To compensate for the loss of accuracy,
It is possible to cope with a case where high-precision conversion processing is required for a specific color.

【0069】請求項2に記載した発明によれば、色変換
処理の精度に影響を与えるルックアップテーブルにおけ
る格子点を増減することより、変換精度の向上が必要な
範囲に格子点を増加するとともに、変換精度の向上が不
要な範囲の格子点を減少し、ルックアップテーブルの記
憶容量を増加することなく変換精度の補正や特定の色に
ついての精度の向上を図ることができる。
According to the second aspect of the present invention, by increasing or decreasing the number of grid points in the look-up table which affects the accuracy of the color conversion processing, the number of grid points can be increased in a range where the conversion accuracy needs to be improved. In addition, it is possible to reduce the number of grid points in a range where the conversion accuracy does not need to be improved, and to correct the conversion accuracy and improve the accuracy for a specific color without increasing the storage capacity of the lookup table.

【0070】請求項3に記載した発明によれば、色変換
処理の精度に影響を与えるルックアップテーブルにおけ
る格子点の間隔を変更することにより、画像入力部のγ
特性に応じて連続的に色変換処理の精度を変化させるこ
とができる。
According to the third aspect of the present invention, the γ of the image input unit is changed by changing the interval between the grid points in the look-up table which affects the accuracy of the color conversion processing.
The accuracy of the color conversion processing can be continuously changed according to the characteristics.

【0071】請求項4に記載した発明によれば、画像入
力部におけるγ特性の経時変化による色再現性の低下
を、ルックアップテーブルの格子点の変更により補正す
ることができる。
According to the fourth aspect of the present invention, it is possible to correct a decrease in color reproducibility due to a temporal change in the γ characteristic in the image input unit by changing the lattice points of the look-up table.

【0072】請求項5に記載した発明によれば、原画像
における色の出現頻度に合わせてルックアップテーブル
の格子点を変更することにより、出現頻度の高い色の再
現性を向上できる。
According to the fifth aspect of the present invention, the reproducibility of a color having a high frequency of appearance can be improved by changing the lattice points of the lookup table in accordance with the frequency of color appearance in the original image.

【0073】請求項6に記載した発明によれば、予め設
定された特定格子内の色についてルックアップテーブル
に基づく色修正に代えてニューラルネットワークによる
色修正を行うことにより、特定の範囲の色についてさら
に高精度の色変換処理を行うことができる。
According to the sixth aspect of the present invention, a color in a specific range of colors within a specific range is corrected by performing a color correction using a neural network instead of a color correction based on a look-up table with respect to colors in a specific grid set in advance. Further, a highly accurate color conversion process can be performed.

【0074】請求項7に記載した発明によれば、予め設
定された特定の格子の境界部分の画像データをニューラ
ルネットワークの学習データに含めることにより、ルッ
クアップテーブルに基づいて色修正された画像データと
ニューラルネットワークによって色修正された画像デー
タとの色調の連続性を維持することができる。
According to the seventh aspect of the present invention, the image data at the boundary of the specific grid set in advance is included in the learning data of the neural network, so that the color-corrected image data based on the look-up table is obtained. The continuity of the color tone between the image data and the image data color-corrected by the neural network can be maintained.

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

【図1】この発明の実施形態の一例に係るカラー画像処
理装置の構成を示す図である。
FIG. 1 is a diagram illustrating a configuration of a color image processing apparatus according to an example of an embodiment of the present invention.

【図2】同カラー画像処理装置におけるテーブル補間処
理を説明する図である。
FIG. 2 is a diagram illustrating table interpolation processing in the color image processing apparatus.

【図3】同カラー画像形成装置におけるルックアップテ
ーブルの補正処理を説明する図である。
FIG. 3 is a diagram illustrating a correction process of a lookup table in the color image forming apparatus.

【図4】同カラー画像形成装置におけるルックアップテ
ーブルの補正処理における処理手順を示すフローチャー
トである。
FIG. 4 is a flowchart showing a processing procedure in a lookup table correction process in the color image forming apparatus.

【図5】同カラー画像形成装置における色の使用頻度に
応じて格子数を増加するルックアップテーブルの補正処
理を説明する図である。
FIG. 5 is a diagram illustrating a lookup table correction process for increasing the number of grids according to the frequency of use of colors in the color image forming apparatus.

【図6】同カラー画像形成装置における各格子の変換精
度に応じて格子数を増加するルックアップテーブルの補
正処理を説明する図である。
FIG. 6 is a diagram illustrating a lookup table correction process for increasing the number of grids in accordance with the conversion accuracy of each grid in the color image forming apparatus.

【図7】同カラー画像処理装置における画像入力装置の
γ特性の変化に応じて格子数を増減するルックアップテ
ーブルの補正処理を説明する図である。
FIG. 7 is a diagram illustrating a lookup table correction process for increasing or decreasing the number of grids according to a change in the γ characteristic of the image input device in the color image processing device.

【図8】同カラー画像処理装置における特定色を含む範
囲の格子数を増加するルックアップテーブルの補正処理
を説明する図である。
FIG. 8 is a diagram illustrating a correction process of a lookup table for increasing the number of grids in a range including a specific color in the color image processing apparatus.

【図9】同カラー画像処理装置における評価用サンプル
を用いたルックアップテーブルの格子間隔の変更処理を
説明する図である。
FIG. 9 is a diagram illustrating a process of changing a grid interval of a lookup table using an evaluation sample in the color image processing apparatus.

【図10,図11】同カラー画像処理装置における色変
換処理の誤差に基づくルックアップテーブルの格子間隔
の変更処理を説明する図である。
FIGS. 10 and 11 are diagrams illustrating a process of changing a grid interval of a lookup table based on an error in a color conversion process in the color image processing apparatus. FIGS.

【図12】同カラー画像処理装置における特定色を含む
範囲を中心としたルックアップテーブルの格子間隔の変
更処理を説明する図である。
FIG. 12 is a diagram illustrating a process of changing a grid interval of a lookup table centering on a range including a specific color in the color image processing apparatus.

【図13】同カラー画像処理装置における画像入力装置
のγ特性の変化に基づくルックアップテーブルの格子間
隔の変更処理を説明する図である。
FIG. 13 is a diagram illustrating a process of changing a grid interval of a lookup table based on a change in γ characteristics of an image input device in the color image processing device.

【図14】同カラー画像処理装置における色の出現頻度
に基づくルックアップテーブルの格子間隔の変更処理を
説明する図である。
FIG. 14 is a diagram illustrating a process of changing a grid interval of a lookup table based on the frequency of appearance of colors in the color image processing apparatus.

【図15】この発明の別の実施形態に係るカラー画像処
理装置の構成を示す図である。
FIG. 15 is a diagram illustrating a configuration of a color image processing apparatus according to another embodiment of the present invention.

【図16】同カラー画像処理装置に含まれる色修正装置
の構成を説明する図である。
FIG. 16 is a diagram illustrating a configuration of a color correction device included in the color image processing device.

【図17】同カラー画像処理装置におけるニューラルネ
ットワークによる色修正処理の対象となるルックアップ
テーブル内の格子及び格子群を示す図である。
FIG. 17 is a diagram showing a grid and a grid group in a lookup table to be subjected to color correction processing by a neural network in the color image processing apparatus.

【図18】同カラー画像処理装置における色修正処理手
順を説明するフローチャートである。
FIG. 18 is a flowchart illustrating a color correction processing procedure in the color image processing apparatus.

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

11−入力装置 12−色修正装置 13−出力装置 14−選択装置 11-input device 12-color correction device 13-output device 14-selection device

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI H04N 1/407 G06F 15/66 310 1/46 H04N 1/40 101E 1/46 Z (72)発明者 田中 達哉 大阪府大阪市阿倍野区長池町22番22号 シ ャープ株式会社内 (72)発明者 大道 隆広 大阪府大阪市阿倍野区長池町22番22号 シ ャープ株式会社内──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 6 Identification symbol FI H04N 1/407 G06F 15/66 310 1/46 H04N 1/40 101E 1/46 Z (72) Inventor Tatsuya Tanaka Osaka-shi, Osaka (22) Inventor Takahiro Odo 22-22 Nagaikecho, Abeno-ku, Osaka-shi, Osaka

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】色空間を分割する3次元格子の各格子点に
おける色分解信号と色修正信号との対応関係を記憶する
ルックアップテーブルを備え、このルックアップテーブ
ルを参照して画像入力部から入力された原画像の画像デ
ータの色修正処理を実行して画像出力部に出力するカラ
ー画像処理装置において、 前記ルックアップテーブルの格子点の色空間座標を変更
する格子点変更処理を行うことを特徴とするカラー画像
処理装置。
A lookup table for storing a correspondence between a color separation signal and a color correction signal at each grid point of a three-dimensional grid that divides a color space; and referring to the lookup table from an image input unit. In a color image processing apparatus that executes color correction processing of input image data of an original image and outputs the result to an image output unit, the color image processing apparatus may perform a grid point changing process of changing a color space coordinate of a grid point of the lookup table. Characteristic color image processing device.
【請求項2】前記格子点変更処理が、前記ルックアップ
テーブルの格子点を増減する処理である請求項1に記載
のカラー画像処理装置。
2. The color image processing apparatus according to claim 1, wherein the grid point changing process is a process of increasing or decreasing the number of grid points in the look-up table.
【請求項3】前記格子点変更処理が、前記ルックアップ
テーブルの格子点の間隔を変更する処理である請求項1
に記載のカラー画像処理装置。
3. The process according to claim 1, wherein the grid point changing process is a process for changing an interval between grid points in the lookup table.
3. The color image processing apparatus according to 1.
【請求項4】前記格子点変更処理が、画像入力部のγ特
性の検出結果に基づいて格子点の色空間座標を変更すべ
きか否かを判断する処理を含む請求項1から3のいずれ
かに記載のカラー画像処理装置。
4. The grid point changing process according to claim 1, further comprising the step of determining whether or not to change the color space coordinates of the grid point based on the detection result of the γ characteristic of the image input unit. 3. The color image processing apparatus according to 1.
【請求項5】前記格子点変更処理が、画像入力部から入
力された原画像の履歴に基づいて格子点の色空間座標を
変更すべきか否かを判断する処理を含む請求項1から3
のいずれかに記載のカラー画像処理装置。
5. The grid point changing process according to claim 1, further comprising a step of determining whether or not to change the color space coordinates of the grid points based on the history of the original image input from the image input unit.
The color image processing device according to any one of the above.
【請求項6】前記ルックアップテーブルにおいて予め設
定された単一または複数の特定格子に含まれる原画像の
画像データを学習データとするニューラルネットワーク
を備え、特定格子外の画像データについては前記ルック
アップテーブルによる色修正処理を行い、特定格子内の
原画像の画像データについてはニューラルネットワーク
による色修正を行う請求項1から5のいずれかに記載の
カラー画像処理装置。
6. A neural network which uses image data of an original image included in one or a plurality of specific grids preset in the lookup table as learning data. 6. The color image processing apparatus according to claim 1, wherein a color correction process is performed using a table, and color correction is performed on the image data of the original image in the specific grid using a neural network.
【請求項7】前記ニューラルネットワークが、前記特定
格子の格子点、境界辺上の点、及び、境界面上の点の画
像データを学習データに含む請求項6に記載のカラー画
像処理装置。
7. The color image processing apparatus according to claim 6, wherein the neural network includes, as learning data, image data of a lattice point of the specific lattice, a point on a boundary side, and a point on a boundary surface.
JP9077082A 1997-03-28 1997-03-28 Color image processor Pending JPH10276337A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9077082A JPH10276337A (en) 1997-03-28 1997-03-28 Color image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9077082A JPH10276337A (en) 1997-03-28 1997-03-28 Color image processor

Publications (1)

Publication Number Publication Date
JPH10276337A true JPH10276337A (en) 1998-10-13

Family

ID=13623868

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9077082A Pending JPH10276337A (en) 1997-03-28 1997-03-28 Color image processor

Country Status (1)

Country Link
JP (1) JPH10276337A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001197332A (en) * 1999-11-26 2001-07-19 Inst Fuer Neurosimulation & Bildtechnologien Gmbh Method for judging defect of image reproducing system and correcting it at least partially and device for performing the method
JP2002027277A (en) * 2000-05-26 2002-01-25 Lg Electronics Inc Method for color quantization based on hmmd color space and multimedia
JP2003018419A (en) * 2001-07-02 2003-01-17 Canon Inc Image processing method and image processing apparatus
JP2007096895A (en) * 2005-09-29 2007-04-12 Seiko Epson Corp Color conversion using color conversion table
JP2007142911A (en) * 2005-11-21 2007-06-07 Seiko Epson Corp Image processing apparatus, image processing method, and program
JP2007142506A (en) * 2005-11-15 2007-06-07 Seiko Epson Corp Image processing apparatus, image processing method, and program
JP2007281724A (en) * 2006-04-04 2007-10-25 Seiko Epson Corp Prediction of graininess
US7348994B2 (en) 2000-03-09 2008-03-25 Minolta Co., Ltd. Color conversion apparatus and method with precision enhancement in color conversion
JP2008199634A (en) * 2001-11-13 2008-08-28 Seiko Epson Corp Color conversion device, color conversion method, color change program and recording medium
JP2008283423A (en) * 2007-05-10 2008-11-20 Canon Inc Color processing apparatus and method
JP2009027612A (en) * 2007-07-23 2009-02-05 Nec Electronics Corp Video signal processing apparatus, video signal processing method, and display apparatus
JP2009027614A (en) * 2007-07-23 2009-02-05 Brother Ind Ltd Conversion table creation apparatus, conversion table creation program and conversion table creation method
JP2011089840A (en) * 2009-10-21 2011-05-06 Astro Design Inc System and method for color evaluation
US8018633B2 (en) 2008-01-23 2011-09-13 Brother Kogyo Kabushiki Kaisha Conversion table creating device, storage medium storing conversion table creating program, and conversion table converting method
JP2014200014A (en) * 2013-03-29 2014-10-23 キヤノン株式会社 Image processing device and image processing method
JP2015035680A (en) * 2013-08-08 2015-02-19 ブラザー工業株式会社 Processor and computer program

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001197332A (en) * 1999-11-26 2001-07-19 Inst Fuer Neurosimulation & Bildtechnologien Gmbh Method for judging defect of image reproducing system and correcting it at least partially and device for performing the method
US7348994B2 (en) 2000-03-09 2008-03-25 Minolta Co., Ltd. Color conversion apparatus and method with precision enhancement in color conversion
JP2002027277A (en) * 2000-05-26 2002-01-25 Lg Electronics Inc Method for color quantization based on hmmd color space and multimedia
JP2003018419A (en) * 2001-07-02 2003-01-17 Canon Inc Image processing method and image processing apparatus
JP4545995B2 (en) * 2001-07-02 2010-09-15 キヤノン株式会社 Image processing method and image processing apparatus
JP4645662B2 (en) * 2001-11-13 2011-03-09 セイコーエプソン株式会社 Color conversion table creation program, interpolation calculation program, color conversion table creation method, interpolation calculation method, color conversion device, and printing device
JP2008199634A (en) * 2001-11-13 2008-08-28 Seiko Epson Corp Color conversion device, color conversion method, color change program and recording medium
US7706036B2 (en) 2001-11-13 2010-04-27 Seiko Epson Corporation Color conversion program, apparatus, and method enabling high precision color conversion
JP2007096895A (en) * 2005-09-29 2007-04-12 Seiko Epson Corp Color conversion using color conversion table
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
JP2007281724A (en) * 2006-04-04 2007-10-25 Seiko Epson Corp Prediction of graininess
JP2008283423A (en) * 2007-05-10 2008-11-20 Canon Inc Color processing apparatus and method
JP2009027612A (en) * 2007-07-23 2009-02-05 Nec Electronics Corp Video signal processing apparatus, video signal processing method, and display apparatus
JP2009027614A (en) * 2007-07-23 2009-02-05 Brother Ind Ltd Conversion table creation apparatus, conversion table creation program and conversion table creation method
US8134574B2 (en) 2007-07-23 2012-03-13 Brother Kogyo Kabushiki Kaisha Conversion table creating device, storage medium storing conversion table creating program, and conversion table creating method
US8018633B2 (en) 2008-01-23 2011-09-13 Brother Kogyo Kabushiki Kaisha Conversion table creating device, storage medium storing conversion table creating program, and conversion table converting method
JP2011089840A (en) * 2009-10-21 2011-05-06 Astro Design Inc System and method for color evaluation
JP2014200014A (en) * 2013-03-29 2014-10-23 キヤノン株式会社 Image processing device and image processing method
JP2015035680A (en) * 2013-08-08 2015-02-19 ブラザー工業株式会社 Processor and computer program

Similar Documents

Publication Publication Date Title
US4959711A (en) Method and apparatus for correcting the color of a printed image
JP3359116B2 (en) Image processing method and apparatus
JP3493104B2 (en) Color image processing equipment
US5087126A (en) Method of estimating colors for color image correction
US6882445B1 (en) Color gamut compression apparatus and method
EP0681396A2 (en) Method and apparatus for calibrating a four color printer
JPH10276337A (en) Color image processor
US7054033B2 (en) Image processing method, image processing apparatus, and storage medium
US6873436B1 (en) Image processing device and recording medium
JPH05292306A (en) Color picture processing method and device
US6330075B1 (en) Image processing method and apparatus
US5130820A (en) Image processing device
JP4164214B2 (en) Color processing apparatus and method
US7215440B2 (en) Fast interpolation of large color lookup tables
JP2002354278A (en) Method and device for calibrating printer and storage medium storing calibration method
JP4553259B2 (en) Image processing apparatus, image processing method, program, and recording medium
USRE37940E1 (en) Interpolation method and color correction method using interpolation
US6295137B1 (en) Method of color correction using multi-level halftoning
US7898707B2 (en) Normalization method, and multi-dimensional interpolation method and apparatus
JP2575134B2 (en) Color estimation method by color patch
JP2528463B2 (en) Color separation image correction method and apparatus
JPH0698161A (en) Color resolving picture correcting method
US20220400187A1 (en) Updating a color profile
JPH11298746A (en) Producing method of color signal conversion table and color signal converting method
JP2007174392A (en) Data converting apparatus, control method and program for the data converting apparatus