JPH07222015A - Color image processor - Google Patents

Color image processor

Info

Publication number
JPH07222015A
JPH07222015A JP6030876A JP3087694A JPH07222015A JP H07222015 A JPH07222015 A JP H07222015A JP 6030876 A JP6030876 A JP 6030876A JP 3087694 A JP3087694 A JP 3087694A JP H07222015 A JPH07222015 A JP H07222015A
Authority
JP
Japan
Prior art keywords
color image
image information
color
information
input
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
JP6030876A
Other languages
Japanese (ja)
Inventor
Hiroaki Suzuki
博顕 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP6030876A priority Critical patent/JPH07222015A/en
Priority to US08/359,145 priority patent/US5828780A/en
Publication of JPH07222015A publication Critical patent/JPH07222015A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To simply decide whether or not inputted color image information is within a color reproduction range of a color image output device by providing a virtual device means implementing processing reverse to that of the color image output device. CONSTITUTION:A virtual image output device VP is built in the image processing unit 107. The virtual image output device VP is composed of a neural network using a back propagation. A parameter in which an input to the neural network is cmy and an output from the neural network is L*a*b* is called a forward VP and a parameter when the input and output are reversed is called a reverse VP. Picture information (RGB data) is converted into three- stimulus values XYZ and the XYZ is converted into the signal L*a*b*. Then the cmy is calculated by the virtual image output device VP in the reverse VP. Whether or not all the calculated cmy is within an actual measurement density range of the image output device 102 is decided. When within the range, it is decided that the image information is within the color reproduction range of the image output device 102.

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 for subjecting input color image information to color correction processing for correcting color image information within a color reproduction range of a color image output apparatus.

【0002】[0002]

【従来の技術】従来,スキャナや,コンピュータ等のカ
ラー画像入力装置から入力したカラー画像情報に対し
て,プリンタ,ディスプレイ等のカラー画像出力装置の
色再現範囲内のカラー画像情報に補正する色補正処理を
施すカラー画像処理装置において,カラー画像出力装置
の色再現範囲を越える位置のカラー画像情報を入力した
場合には,カラー画像情報の位置に最も近い前記色再現
範囲の空間内の位置を検出して出力する方法や,入力し
たカラー画像情報を前記色再現範囲の空間の重心に向か
って圧縮(縮小)させて出力する方法が採られている。
2. Description of the Related Art Conventionally, color correction for correcting color image information input from a color image input device such as a scanner or a computer into color image information within a color reproduction range of a color image output device such as a printer or display. In the color image processing device for processing, when the color image information at a position exceeding the color reproduction range of the color image output device is input, the position within the space of the color reproduction range closest to the position of the color image information is detected. And a method of compressing (reducing) the input color image information toward the center of gravity of the space of the color reproduction range and outputting.

【0003】また,この場合,色再現範囲の判定は,カ
ラー画像出力装置の色再現範囲をモデル化した情報(色
再現の3次元空間を分割したモデル)を持ち,このモデ
ルと入力したカラー画像情報とを比較することにより判
定を行っていた。
Further, in this case, the determination of the color reproduction range has information (a model obtained by dividing a three-dimensional space for color reproduction) which models the color reproduction range of the color image output device, and the color image input with this model. The judgment was made by comparing with the information.

【0004】一方,圧縮処理と色補正に関しては,補正
画像を実際にカラー画像出力装置で出力することによ
り,初めてユーザーが良し悪しを判断し,再処理等を行
っていた。
On the other hand, regarding the compression processing and the color correction, the user actually judges whether the image is good or bad by actually outputting the corrected image by the color image output device, and re-processes it.

【0005】[0005]

【発明が解決しようとする課題】しかしながら,上記従
来の技術によれば,カラー画像出力装置の色再現範囲を
モデル化した情報と入力したカラー画像情報とを比較す
ることにより判定を行っているため,個々のカラー画像
出力装置に応じて色再現範囲をモデル化した情報を適切
に作成する必要があり,判定処理の構築が面倒であると
いう問題点があった。特に,カラー画像処理装置に接続
されるカラー画像出力装置が簡単に取替可能のシステム
の場合には,その度に判定処理に使用する各種パラメー
タの設定を変更する必要があるので面倒であった。
However, according to the above-mentioned conventional technique, the determination is made by comparing the color reproduction range modeling information of the color image output device with the input color image information. However, there is a problem in that it is necessary to appropriately create information that models the color reproduction range according to each color image output device, and the construction of the determination process is troublesome. In particular, in the case of a system in which the color image output device connected to the color image processing device can be easily replaced, the setting of various parameters used in the determination process needs to be changed each time, which is troublesome. .

【0006】また,上記従来の技術によれば,カラー画
像情報を構成する全ての画素に対して判定処理を行うた
め,処理に時間がかかるという問題点もあった。
Further, according to the above-mentioned conventional technique, since the determination process is performed on all the pixels forming the color image information, there is a problem that the process takes time.

【0007】また,上記従来の技術の入力したカラー画
像情報を色再現範囲空間の重心に向かって圧縮させる方
法では,入力したカラー画像情報が色再現範囲空間内に
ほとんど含まれている場合には,少数の色再現範囲外の
画素データに影響されて,色再現範囲空間内にあるカラ
ー画像情報が無彩色方向に変換されるため,全体として
つまらない画像が出力されてしまうという問題点や,カ
ラー画像情報が圧縮されることによって,全体的に色味
を失うという問題点があった。
Further, in the method of compressing the input color image information toward the center of gravity of the color reproduction range space in the above-mentioned conventional technique, when the input color image information is almost included in the color reproduction range space, , The problem that a small image is output as a whole because the color image information in the color reproduction range space is converted to the achromatic direction by being affected by a small number of pixel data outside the color reproduction range, When the image information is compressed, there is a problem that the color tone is lost as a whole.

【0008】また,上記従来の技術によれば,色再現範
囲空間の重心に向かって圧縮する方法では,圧縮率が自
動的に決まってしまうため,必ずしもユーザーの好みの
カラー画像を得ることはできないという問題点があっ
た。
Further, according to the above-mentioned conventional technique, in the method of compressing toward the center of gravity of the color reproduction range space, the compression rate is automatically determined, so that it is not always possible to obtain a color image desired by the user. There was a problem.

【0009】また,上記従来の技術によれば,接続され
ているカラー画像入力装置あるいはカラー画像出力装置
が取替られた場合や,接続されているカラー画像出力装
置の経時変化・環境変動等に対して迅速に対応すること
ができないという問題点もあった。
Further, according to the above-mentioned conventional technique, when the connected color image input device or the color image output device is replaced, or when the connected color image output device changes with time or changes in the environment. On the other hand, there was a problem that it was not possible to respond promptly.

【0010】本発明は上記に鑑みてなされたものであっ
て,入力したカラー画像情報がカラー画像出力装置の色
再現範囲内であるか否かの判定を行う際に使用するパラ
メータを容易に構築できるようにすると共に,判定処理
を簡単に行えるようにすることを第1の目的とする。
The present invention has been made in view of the above, and it is easy to construct a parameter used when it is determined whether the input color image information is within the color reproduction range of the color image output device. The first purpose is to enable the determination process as well as to enable the determination process.

【0011】また,本発明は上記に鑑みてなされたもの
であって,判定処理の高速化を図ると共に,カラー画像
が少数の色再現範囲外の画素データに影響されて全体的
に色味を失うことを回避できるようにすることを第2の
目的とする。
Further, the present invention has been made in view of the above, and aims at speeding up the determination processing, and a color image is affected by a small number of pixel data out of the color reproduction range, so that the overall tint is improved. The second purpose is to be able to avoid losing.

【0012】また,本発明は上記に鑑みてなされたもの
であって,カラー画像が圧縮されることによって,全体
的に色味を失うことを回避できるようにすることを第3
の目的とする。
The present invention has been made in view of the above, and it is a third object of the present invention to prevent loss of color tone as a whole when a color image is compressed.
The purpose of.

【0013】また,本発明は上記に鑑みてなされたもの
であって,ユーザー自身が許容できる圧縮率を設定可能
として,ユーザーの好みのカラー画像を得られるように
することを第4の目的とする。
The present invention has been made in view of the above, and it is a fourth object of the present invention to enable the user to set an allowable compression ratio and obtain a color image desired by the user. To do.

【0014】また,本発明は上記に鑑みてなされたもの
であって,接続されているカラー画像入力装置あるいは
カラー画像出力装置が取替られた場合や,接続されてい
るカラー画像出力装置の経時変化・環境変動等に対して
迅速に対応できるようにすることを第5の目的とする。
The present invention has been made in view of the above, and when the connected color image input device or color image output device is replaced, or when the connected color image output device is aged. The fifth objective is to be able to quickly respond to changes and environmental changes.

【0015】[0015]

【課題を解決するための手段】上記の目的を達成するた
めに,請求項1に係るカラー画像処理装置は,入力した
カラー画像情報に対して,カラー画像出力装置の色再現
範囲内のカラー画像情報に補正する色補正処理を施すカ
ラー画像処理装置において,前記カラー画像出力装置に
おける出力カラー画像情報が入力カラー画像情報に対応
し,入力カラー画像情報が出力カラー画像情報に対応す
る,前記カラー画像出力装置と逆方向の処理を行う仮想
装置手段と,前記仮想装置手段の出力カラー画像情報に
基づいて,前記入力したカラー画像情報が前記カラー画
像出力装置の色再現範囲内であるか否かの判定を行う判
定手段とを備えたものである。
In order to achieve the above object, a color image processing apparatus according to a first aspect of the present invention provides a color image within a color reproduction range of a color image output apparatus with respect to input color image information. In a color image processing device for performing color correction processing for correcting information, the color image output device in the color image output device corresponds to input color image information, and the input color image information corresponds to output color image information. Virtual device means for performing processing in the opposite direction to the output device, and whether or not the input color image information is within the color reproduction range of the color image output device based on the output color image information of the virtual device means. And a determination means for performing determination.

【0016】また,請求項2に係るカラー画像処理装置
は,入力したカラー画像情報に対して,カラー画像出力
装置の色再現範囲内のカラー画像情報に補正する色補正
処理を施すカラー画像処理装置において,均等色空間を
複数の領域に分割し,各領域内に存在する前記入力した
カラー画像情報を領域毎に一つの代表情報で代表させる
画像情報代表手段と,前記領域毎に領域内に存在する前
記入力したカラー画像情報の画素数を計数する画素数計
数手段と,前記代表情報が前記カラー画像出力装置の色
再現範囲内であるか否かの判定を行う判定手段と,前記
判定手段で色再現範囲内でないと判定された代表情報に
対応する画素数の総数と前記入力したカラー画像情報の
全画素数との比率を求める比率算出手段と,前記比率算
出手段で求めた比率が,所定の値を越えた場合に,前記
入力したカラー画像情報に対して線形圧縮を行う線形圧
縮手段とを備えたものである。
A color image processing apparatus according to a second aspect of the present invention is a color image processing apparatus for performing color correction processing for correcting input color image information to color image information within a color reproduction range of a color image output apparatus. In the above, the uniform color space is divided into a plurality of areas, and the image information representative means for representing the inputted color image information existing in each area by one representative information for each area, and the image information representative means existing in each area for each area. The pixel number counting means for counting the number of pixels of the input color image information, the determining means for determining whether or not the representative information is within the color reproduction range of the color image output device, and the determining means. Ratio calculating means for calculating the ratio of the total number of pixels corresponding to the representative information determined not to be within the color reproduction range and the total number of pixels of the input color image information, and the ratio calculated by the ratio calculating means But when it exceeds a predetermined value, in which a linear compression means for performing a linear compression with respect to the color image information the input.

【0017】また,請求項3に係るカラー画像処理装置
は,前記線形圧縮手段が,前記領域毎に圧縮率を変更可
能であるものである。
Further, in the color image processing apparatus according to the third aspect, the linear compression means can change the compression rate for each area.

【0018】また,請求項4に係るカラー画像処理装置
は,入力したカラー画像情報に対して,カラー画像出力
装置の色再現範囲内のカラー画像情報に補正する色補正
処理を施すカラー画像処理装置において,均等色空間を
複数の領域に分割し,各領域内に存在する前記入力した
カラー画像情報を領域毎に一つの代表情報で代表させる
画像情報代表手段と,前記領域毎に領域内に存在する前
記入力したカラー画像情報の画素数を計数する画素数計
数手段と,前記代表情報が前記カラー画像出力装置の色
再現範囲内であるか否かの判定を行う判定手段と,前記
判定手段で色再現範囲内でないと判定された代表情報に
対応する画素数の総数と前記入力したカラー画像情報の
全画素数との比率を求める比率算出手段と,前記比率算
出手段で求めた比率が,所定の値を越えた場合に,あら
かじめ設定された演算によって圧縮率を決定する圧縮率
決定手段と,ユーザーが圧縮率を設定するための圧縮率
設定手段と,前記圧縮率設定手段を介して圧縮率が設定
された場合に,その圧縮率を用いて前記入力したカラー
画像情報に対して線形圧縮を行い,それ以外の場合は前
記圧縮率決定手段で決定された圧縮率に基づいて,前記
入力したカラー画像情報に対して線形圧縮を行う線形圧
縮手段とを備えたものである。
A color image processing apparatus according to a fourth aspect is a color image processing apparatus for performing color correction processing for correcting input color image information to color image information within a color reproduction range of a color image output apparatus. In the above, the uniform color space is divided into a plurality of areas, and the image information representative means for representing the inputted color image information existing in each area by one representative information for each area, and the image information representative means existing in each area for each area. The pixel number counting means for counting the number of pixels of the input color image information, the determining means for determining whether or not the representative information is within the color reproduction range of the color image output device, and the determining means. Ratio calculating means for calculating the ratio of the total number of pixels corresponding to the representative information determined not to be within the color reproduction range and the total number of pixels of the input color image information, and the ratio calculated by the ratio calculating means When the value exceeds a predetermined value, the compression rate determining means for determining the compression rate by a preset calculation, the compression rate setting means for the user to set the compression rate, and the compression rate setting means are used. When the compression rate is set by the linear compression, the input color image information is linearly compressed using the compression rate. In other cases, based on the compression rate determined by the compression rate determining means, And a linear compression unit that performs linear compression on the input color image information.

【0019】また,請求項5に係るカラー画像処理装置
は,前記圧縮率決定手段が,前記領域毎に圧縮率を演算
するものである。
Further, in the color image processing apparatus according to the fifth aspect, the compression rate determining means calculates the compression rate for each of the areas.

【0020】また,請求項6に係るカラー画像処理装置
は,入力したカラー画像情報に対して,カラー画像出力
装置の色再現範囲内のカラー画像情報に補正する色補正
処理を施すカラー画像処理装置において,前記カラー画
像出力装置における出力カラー画像情報が入力カラー画
像情報に対応し,入力カラー画像情報が出力カラー画像
情報に対応する,前記カラー画像出力装置と逆方向の処
理を行う仮想装置手段と,前記仮想装置手段の出力カラ
ー画像情報に基づいて,前記入力したカラー画像情報が
前記カラー画像出力装置の色再現範囲内であるか否かの
判定を行う判定手段と,前記カラー画像出力装置の経時
変化・環境変動を測定する測定手段とを備え,前記仮想
装置手段は,前記測定手段の測定結果に基づいて,あら
かじめ前記カラー画像出力装置の経時変化・環境変動を
考慮して設定された複数のパラメータの中から,最適な
パラーメータを選択して,前記逆方向の処理を行うもの
である。
A color image processing apparatus according to a sixth aspect of the present invention is a color image processing apparatus for performing color correction processing for correcting input color image information into color image information within a color reproduction range of a color image output apparatus. In the virtual image output device, the output color image information corresponds to the input color image information, and the input color image information corresponds to the output color image information. Determining means for determining whether the input color image information is within a color reproduction range of the color image output device based on the output color image information of the virtual device means; Measuring means for measuring changes with time and environmental changes, wherein the virtual device means is based on the measurement result of the measuring means, and the color From among the plurality of parameters set in consideration of the aging and environmental change of an image output apparatus, by selecting an optimal parametrize, and performs processing of the reverse.

【0021】また,請求項7に係るカラー画像処理装置
は,入力したカラー画像情報に対して,カラー画像出力
装置の色再現範囲内のカラー画像情報に補正する色補正
処理を施すカラー画像処理装置において,前記カラー画
像出力装置における出力カラー画像情報が入力カラー画
像情報に対応し,入力カラー画像情報が出力カラー画像
情報に対応する,前記カラー画像出力装置と逆方向の処
理を行う仮想装置手段と,前記仮想装置手段の出力カラ
ー画像情報に基づいて,前記入力したカラー画像情報が
前記カラー画像出力装置の色再現範囲内であるか否かの
判定を行う判定手段と,前記カラー画像出力装置の経時
変化・環境変動を測定する測定手段と,前記測定手段の
測定結果に基づいて,前記逆方向の処理で得られた出力
カラー画像情報を補正して出力する補正手段とを備えた
ものである。
A color image processing apparatus according to a seventh aspect of the present invention is a color image processing apparatus for performing color correction processing for correcting input color image information to color image information within a color reproduction range of a color image output apparatus. In the virtual image output device, the output color image information corresponds to the input color image information, and the input color image information corresponds to the output color image information. Determining means for determining whether the input color image information is within a color reproduction range of the color image output device based on the output color image information of the virtual device means; The output color image information obtained by the processing in the opposite direction is based on the measuring means for measuring the change over time and the environmental change and the measurement result of the measuring means. It is obtained by a correction means for correct output.

【0022】[0022]

【作用】上記の目的を達成するために,本発明に係るカ
ラー画像処理装置(請求項1)は,仮想装置手段によっ
てカラー画像出力装置と逆方向の処理を行い,判定手段
によって,仮想装置手段の出力カラー画像情報に基づい
て,入力したカラー画像情報がカラー画像出力装置の色
再現範囲内であるか否かの判定を行う。
In order to achieve the above object, the color image processing apparatus according to the present invention (claim 1) performs the processing in the opposite direction to the color image output apparatus by the virtual device means, and the virtual device means by the judging means. It is determined whether the input color image information is within the color reproduction range of the color image output device based on the output color image information of.

【0023】また,本発明に係るカラー画像処理装置
(請求項2)は,均等色空間を複数の領域に分割し,各
領域内に存在する入力したカラー画像情報を領域毎に一
つの代表情報で代表させて,代表情報(画像の代表点)
を用いることにより演算を高速化する。また,前記領域
毎に領域内に存在する入力したカラー画像情報の画素数
を計数し,また,前記代表情報がカラー画像出力装置の
色再現範囲内であるか否かの判定を行って,色再現範囲
内でないと判定された代表情報に対応する画素数の総数
と入力したカラー画像情報の全画素数との比率を求め,
求めた比率が所定の値(閾値)を越えた場合に,入力し
たカラー画像情報に対して線形圧縮を行う。
Further, the color image processing apparatus according to the present invention (claim 2) divides the uniform color space into a plurality of areas, and the input color image information existing in each area is represented by one piece of representative information. Representative information (representative points of the image)
Uses to speed up the calculation. Further, the number of pixels of the input color image information existing in the area is counted for each area, and it is determined whether the representative information is within the color reproduction range of the color image output device to determine the color. Obtain the ratio of the total number of pixels corresponding to the representative information determined not to be within the reproduction range and the total number of pixels of the input color image information,
When the calculated ratio exceeds a predetermined value (threshold value), the input color image information is linearly compressed.

【0024】また,本発明に係るカラー画像処理装置
(請求項3)は,線形圧縮手段において,領域毎に圧縮
率を変更可能とすることにより,圧縮の基準点から遠い
データほど圧縮率を上げて,画像を圧縮した場合に色味
が落ちることを低減する。
Further, in the color image processing apparatus according to the present invention (claim 3), the compression rate can be changed for each area in the linear compression means, so that the compression rate is increased as the data is farther from the compression reference point. This reduces the loss of color when the image is compressed.

【0025】また,本発明に係るカラー画像処理装置
(請求項4)は,圧縮率設定手段を介してユーザーが圧
縮率を設定すると,その圧縮率を用いて入力したカラー
画像情報に対して線形圧縮を行い,それ以外の場合は圧
縮率決定手段で決定された圧縮率に基づいて,入力した
カラー画像情報に対して線形圧縮を行うことにより,ユ
ーザー自身が許容できる値の圧縮率で画像の圧縮を行
う。
Further, in the color image processing apparatus according to the present invention (claim 4), when the user sets the compression rate through the compression rate setting means, the color image processing apparatus uses the compression rate to linearly input color image information. The compression is performed. In other cases, based on the compression rate determined by the compression rate determining means, linear compression is performed on the input color image information, so that the image is compressed at a compression rate of a value that the user can tolerate. Perform compression.

【0026】また,本発明に係るカラー画像処理装置
(請求項5)は,圧縮率決定手段において,領域毎に圧
縮率を演算することにより,圧縮の基準点から遠いデー
タほど圧縮率を上げて,画像を圧縮した場合に色味が落
ちることを低減する。
In the color image processing apparatus according to the present invention (claim 5), the compression rate determining means calculates the compression rate for each area to increase the compression rate for data farther from the compression reference point. , Reduces the loss of color when the image is compressed.

【0027】また,本発明に係るカラー画像処理装置
(請求項6)は,カラー画像出力装置の経時変化・環境
変動を測定し,測定結果に基づいて,あらかじめカラー
画像出力装置の経時変化・環境変動を考慮して設定され
た複数のパラメータの中から,最適なパラーメータを選
択して,仮想装置手段によってカラー画像出力装置と逆
方向の処理を行い,判定手段によって,仮想装置手段の
出力カラー画像情報に基づいて,入力したカラー画像情
報がカラー画像出力装置の色再現範囲内であるか否かの
判定を行う。
Further, the color image processing apparatus according to the present invention (claim 6) measures the temporal change / environmental change of the color image output apparatus, and based on the measurement result, the temporal change / environment of the color image output apparatus in advance. An optimum parameter is selected from a plurality of parameters set in consideration of fluctuations, the virtual device means performs processing in the opposite direction to the color image output device, and the determination means outputs the color image output from the virtual device means. Based on the information, it is determined whether the input color image information is within the color reproduction range of the color image output device.

【0028】また,本発明に係るカラー画像処理装置
(請求項7)は,仮想装置手段によってカラー画像出力
装置と逆方向の処理を行う。また,カラー画像出力装置
の経時変化・環境変動を測定し,測定結果に基づいて,
前記逆方向の処理で得られた出力カラー画像情報を補正
し,判定手段によって,補正後の出力カラー画像情報に
基づいて,入力したカラー画像情報がカラー画像出力装
置の色再現範囲内であるか否かの判定を行う。
Further, the color image processing apparatus according to the present invention (claim 7) performs processing in the opposite direction to the color image output apparatus by the virtual device means. In addition, the time-dependent changes and environmental changes of the color image output device were measured, and based on the measurement results,
Whether the input color image information is within the color reproduction range of the color image output device on the basis of the corrected output color image information by the determination means by correcting the output color image information obtained by the reverse processing Determine whether or not.

【0029】[0029]

【実施例】以下,本発明のカラー画像処理装置をカラー
デジタル複合機に適用した場合を例として,〔実施例
1〕,〔実施例2〕,〔実施例3〕,〔実施例4〕,
〔実施例5〕,〔実施例6〕の順に図面を参照して詳細
に説明する。
[Examples] [Examples 1], [Examples 2], [Examples 3], [Examples 4], and 4), in which the color image processing apparatus of the present invention is applied to a color digital multi-function peripheral as an example.
[Embodiment 5] and [Embodiment 6] will be described in detail with reference to the drawings.

【0030】〔実施例1〕図1は,本発明のカラー画像
処理装置を搭載したカラーデジタル複合機のシステムブ
ロック図を示す。カラーデジタル複合機とは,従来のデ
ジタルカラー複写機に通信機能を付加したカラーファク
シミリや大容量記憶装置などを搭載したシステムを意味
している。ここで,図1のシステムの概略を説明する。
制御信号や画像データの受け渡しを行なうためのシステ
ムバス100には,スキャナなど画像をデジタルデータ
として取り込むための画像読取装置101と,プリンタ
など画像を紙やOHPシートなどの記録紙に形成する画
像出力装置102と,モニタなど画像を表示・確認する
画像表示装置103と,ハードディスクや光磁気ディス
クなどの記憶装置104と,装置への処理指示・設定を
入力,また表示する操作・入力装置105と,各装置を
制御する制御装置106と,デジタル画像データを加工
・編集する画像処理装置(本発明のカラー画像処理装
置)107と,符号・復号化など通信網との接続を担う
通信装置108と,コンピュータなど外部機器を接続す
るための外部I/F(インターフェース)109とが接
続されている。
[Embodiment 1] FIG. 1 is a system block diagram of a color digital multi-function peripheral equipped with a color image processing apparatus of the present invention. A color digital multi-function peripheral means a system equipped with a conventional digital color copying machine, such as a color facsimile or a mass storage device, with a communication function. Here, the outline of the system of FIG. 1 will be described.
An image reading device 101 for reading an image as digital data, such as a scanner, and an image output for forming an image on a recording sheet such as a paper or an OHP sheet, such as a printer, are provided on a system bus 100 for passing control signals and image data A device 102, an image display device 103 such as a monitor for displaying / confirming an image, a storage device 104 such as a hard disk or a magneto-optical disk, an operation / input device 105 for inputting and displaying processing instructions / settings to the device, A control device 106 that controls each device, an image processing device (color image processing device of the present invention) 107 that processes and edits digital image data, and a communication device 108 that is responsible for connection with a communication network such as encoding and decoding. An external I / F (interface) 109 for connecting an external device such as a computer is connected.

【0031】以上の構成において, 対象画像情報と画像出力装置102の色再現範囲との
関係 画像処理装置107における仮想装置(VD)の構築 色再現範囲の内外判定処理 の順でその動作を説明する。
In the above configuration, the relationship between the target image information and the color reproduction range of the image output apparatus 102 will be described in the order of the inside / outside determination processing of the built-in color reproduction range of the virtual device (VD) in the image processing apparatus 107. .

【0032】対象画像情報と画像出力装置102の色
再現範囲との関係 画像処理装置107において画像処理を行う場合,対象
画像情報(入力したカラー画像情報)は,画像表示装置
103上で作成された画像情報(例えば,コンピュータ
・グラフィックス画像情報等)と,画像読取装置101
によって読み込まれた画像情報(例えば,通常のカラー
コピー用のR・G・Bデータ,ネガデータ等)とがあ
る。
Relationship between Target Image Information and Color Reproduction Range of Image Output Device 102 When the image processing device 107 performs image processing, the target image information (input color image information) is created on the image display device 103. Image information (for example, computer graphics image information) and the image reading device 101
Image information (eg, R / G / B data for normal color copying, negative data, etc.) read by

【0033】一般に,画像表示装置103上で作成され
た画像情報は,画像表示装置103自体の色再現範囲の
広さから,写真や印刷物にはない,高輝度・高彩度の色
が含まれていることが多い。このため,画像出力装置1
02で出力できる色再現能力を上回る画像情報が多く存
在するので,対象が画像表示装置103上で作成された
画像情報の場合には,それに見合う画像処理が要求され
る。
In general, the image information created on the image display device 103 includes high-luminance and high-saturation colors which are not found in photographs or printed materials because of the wide color reproduction range of the image display device 103 itself. Often. Therefore, the image output device 1
Since there is a large amount of image information that exceeds the color reproduction capability that can be output by 02, when the target is image information created on the image display device 103, image processing that matches it is required.

【0034】従って,図1のシステムにある画像出力装
置102の最大色再現能力は固定であるから,画像出力
装置102で出力する際には,対象画像情報の色再現範
囲と,画像出力装置102の色再現範囲との比較を行う
必要がある。すなわち,対象画像情報が,画像出力装置
102の色再現範囲内にどれくらい含まれるかを知るた
めの内外判定が必要である。
Therefore, since the maximum color reproduction capability of the image output device 102 in the system of FIG. 1 is fixed, when outputting by the image output device 102, the color reproduction range of the target image information and the image output device 102. It is necessary to make a comparison with the color reproduction range of. That is, the inside / outside determination is necessary to know how much the target image information is included in the color reproduction range of the image output device 102.

【0035】図2(a)〜(d)は,画像出力装置10
2の色再現範囲と対象画像情報との関係を示す。均等色
空間に対象画像情報の色空間を表示する(色空間は一つ
の空間に集約させる)と,以下のように大別できる。な
お,図において,200は均等色空間CIELABにお
ける画像出力装置102の色再現範囲を示し,201は
対象画像情報の色空間を示す。
2A to 2D show the image output device 10
2 shows the relationship between the color reproduction range of 2 and the target image information. Displaying the color space of the target image information in the uniform color space (the color spaces are aggregated into one space) can be roughly classified as follows. In the figure, 200 indicates the color reproduction range of the image output device 102 in the uniform color space CIELAB, and 201 indicates the color space of the target image information.

【0036】図2(a)に示すように,対象画像情報の
色空間201が色再現範囲200に含まれる。図2
(b)に示すように,色再現範囲200が対象画像情報
の色空間201に含まれる。図2(c)に示すように,
対象画像情報の色空間201の一部が色再現範囲200
に含まれる。図2(d)に示すように,対象画像情報の
色空間201は色再現範囲200に含まれない。
As shown in FIG. 2A, the color space 201 of the target image information is included in the color reproduction range 200. Figure 2
As shown in (b), the color reproduction range 200 is included in the color space 201 of the target image information. As shown in FIG. 2 (c),
Part of the color space 201 of the target image information is the color reproduction range 200.
include. As shown in FIG. 2D, the color space 201 of the target image information is not included in the color reproduction range 200.

【0037】図2(a)は,画像出力装置102の色再
現範囲内であり,出力可能を意味するので,通常の色処
理(R・G・B→C・M・Y変換等)で出力を得ること
ができる。ところが,図2(b)〜(c)では,色再現
範囲200外の領域を含んでいるので,仮想的に対象画
像情報の色空間201の色再現範囲を狭くする処理(以
下,圧縮処理と記載する)を行う必要がある。
FIG. 2A shows that the image is within the color reproduction range of the image output device 102 and that the image can be output. Therefore, normal color processing (R / G / B → C / M / Y conversion etc.) is performed. Can be obtained. However, in FIGS. 2B to 2C, since the area outside the color reproduction range 200 is included, processing for virtually narrowing the color reproduction range of the color space 201 of the target image information (hereinafter referred to as compression processing). Described).

【0038】本発明は,このような圧縮処理を行うか否
かの判定処理に関し,具体的には,対象画像情報が画像
出力装置102の色再現範囲内であるか否かの内外判定
を行う際に使用するパラメータを容易に構築できるよう
にすると共に,内外判定処理を簡単に行えるようにした
ものである。
The present invention relates to a determination process as to whether or not to perform such a compression process, and more specifically, an inside / outside determination is made as to whether or not the target image information is within the color reproduction range of the image output device 102. The parameters used in this case can be easily constructed, and the inside / outside determination processing can be performed easily.

【0039】画像処理装置107における仮想装置
(VD)の構築 次に,内外判定処理に使用する仮想装置(VD:Vir
tal Device)について説明する。実施例1で
は,図1のシステムの画像処理装置107内に,仮想装
置として仮想の画像出力装置(VP:Virtal P
rinter)を構築し,活用する。
Construction of Virtual Device (VD) in Image Processing Device 107 Next, a virtual device (VD: Vir) used for inside / outside determination processing.
(Tal Device) will be described. In the first embodiment, a virtual image output device (VP: Virtual P) is used as a virtual device in the image processing device 107 of the system of FIG.
to build and utilize a printer.

【0040】図3は,仮想の画像出力装置VPの作成方
法を示すフローチャートである。先ず,実際の画像出力
装置102でN個のカラーサンプルを出力する(S30
1)。ここで,カラーサンプルは,CMY各単色とCM
Y混色の4パッチを1組として,画像出力装置102の
最大色再現範囲を得ることができるように,多数出力す
る。
FIG. 3 is a flowchart showing a method of creating the virtual image output device VP. First, the actual image output device 102 outputs N color samples (S30).
1). Here, the color samples are CMY single colors and CMs.
A set of four patches of Y color mixture is output so that the maximum color reproduction range of the image output device 102 can be obtained.

【0041】次に,出力したカラーサンプルの3つの単
色パッチの各濃度cmy(本例では,cmyの3色プリ
ンタを想定)と,混色のL*a*b*値を測定し(S3
02),これらを入出力とするニューラルネットワーク
により,仮想の画像出力装置VPのパラメータを算出す
る(S303)。なお,ニューラルネットワークにおけ
る入力がcmy,出力がL*a*b*のパラメータを順
方向VP,入出力が逆転した場合のパラメータを逆方向
VPと呼ぶことにする。
Next, the densities cmy (three color printers of cmy are assumed in this example) of the three monochromatic patches of the output color sample and the L * a * b * values of the mixed colors are measured (S3).
02), the parameters of the virtual image output device VP are calculated by the neural network having these inputs and outputs (S303). A parameter in the neural network whose input is cmy and whose output is L * a * b * is called a forward VP, and a parameter when input and output are reversed is called a backward VP.

【0042】図4は,仮想の画像出力装置VPの構成例
を示し,ここでは,バックプロパゲーションを用いたニ
ューラルネットワークによって構成されている。入力数
pを持つ入力層と,要素qを持つ中間層1,2と,出力
数rを持つ出力層とからなる。この例では,入出力層の
p,rは3となる。また,入出力の値が最小となるよう
に,上記のパラメータp,q,rを決定する。
FIG. 4 shows an example of the structure of the virtual image output device VP, which is composed of a neural network using backpropagation here. It comprises an input layer having an input number p, intermediate layers 1 and 2 having an element q, and an output layer having an output number r. In this example, p and r of the input / output layer are 3. Also, the above parameters p, q, and r are determined so that the input / output values are minimized.

【0043】算出されたパラメータを用いることによ
り,順方向VPでは,任意のcmy濃度データから実際
に出力されると予想されるL*a*b*値が求まる。従
って,逆方向VPに対しては,画像出力装置102の色
再現範囲内のL*a*b*を入力すれば,その解である
cmyの値は実測した濃度データの範囲に収まる。換言
すれば,任意の画像情報をL*a*b*に変換し,もし
この値が画像出力装置102の色再現範囲外であれば,
解のcmyのうち,少なくとも一つの値は実測の濃度デ
ータ範囲から逸脱することになる。このため,任意の画
像情報に対する画像出力装置102の色再現範囲の内外
判定処理が可能となる。
By using the calculated parameters, in the forward VP, the L * a * b * values expected to be actually output from the arbitrary cmy concentration data can be obtained. Therefore, for the backward direction VP, if L * a * b * within the color reproduction range of the image output device 102 is input, the value of cmy, which is the solution, falls within the range of the actually measured density data. In other words, any image information is converted into L * a * b *, and if this value is outside the color reproduction range of the image output device 102,
At least one value of the solution cmy deviates from the actually measured concentration data range. Therefore, the inside / outside determination processing of the color reproduction range of the image output apparatus 102 for arbitrary image information can be performed.

【0044】また,例えば,RGB対L*a*b*間で
の逆方向VPを求めたならば,色再現範囲外のL*a*
b*入力に対して,出力RGBのうち,少なくとも一つ
の解は,負や255(RGB各8ビットの時)より大き
な値となるので,同様に色再現範囲の内外判定処理が可
能である。
Further, for example, if the reverse direction VP between RGB and L * a * b * is obtained, L * a * outside the color reproduction range is obtained.
For b * input, at least one solution of the output RGB has a negative value or a value larger than 255 (when each of RGB is 8 bits), so that the inside / outside determination processing of the color reproduction range can be similarly performed.

【0045】色再現範囲の内外判定処理 次に,図5のフローチャートを参照して,図4で示した
ニューラルネットワークによって構築された仮想の画像
出力装置VP(逆方向VP)を用いた内外判定処理につ
いて説明する。先ず,画像情報(RGBデータ)を3刺
激値XYZへ変換し(S501),XYZをL*a*b
*へ変換する(S502)。次に,仮想の画像出力装置
VPによって逆方向VPでcmyを算出する(S50
3)。
Inside / Outside Judgment Processing of Color Reproduction Range Next, referring to the flowchart of FIG. 5, inside / outside judgment processing using the virtual image output device VP (reverse direction VP) constructed by the neural network shown in FIG. Will be described. First, image information (RGB data) is converted into tristimulus values XYZ (S501), and XYZ is L * a * b.
Convert to * (S502). Next, the virtual image output device VP calculates cmy in the reverse direction VP (S50).
3).

【0046】続いて,算出したcmyが全て画像出力装
置102の実測濃度範囲内であるか否かを判定し(S5
04),範囲内であれば,画像出力装置102の色再現
範囲内部と判定する(S505)。一方,範囲外であれ
ば,画像出力装置102の色再現範囲外部であると判定
する(S506)。
Subsequently, it is determined whether all the calculated cmy are within the actually measured density range of the image output device 102 (S5).
04), if it is within the range, it is determined to be within the color reproduction range of the image output device 102 (S505). On the other hand, if it is outside the range, it is judged to be outside the color reproduction range of the image output device 102 (S506).

【0047】このようにして内外判定処理が施された
後,色再現範囲外部(図2(b)〜(d)に示した関
係)である場合には,対象画像情報の圧縮処理が実行さ
れ,画像出力装置102の色再現範囲内に収まるよう
に,データが変換される。
After the inside / outside determination process is performed in this way, if the color reproduction range is outside (the relationship shown in FIGS. 2B to 2D), the compression process of the target image information is executed. The data is converted so that it falls within the color reproduction range of the image output device 102.

【0048】前述したように実施例1では,仮想の画像
出力装置VPによって画像出力装置102と逆方向VP
の処理を行い,内外判定処理のステップS504におい
て,cmy(入力したカラー画像情報)が全て実測濃度
範囲(すなわち,画像出力装置102の色再現範囲)内
であるか否かの判定を行うので,内外判定処理を簡単に
行える。また,ニューラルネットワークも用いて仮想の
画像出力装置を構築するので,対象画像情報が画像出力
装置102の色再現範囲内であるか否かの判定を行う際
に使用するパラメータを容易に構築することができる。
また,パラメータの変更等も容易である。
As described above, in the first embodiment, the virtual image output device VP and the image output device 102 in the opposite direction VP are used.
In step S504 of the inside / outside determination processing, it is determined whether or not all the cmy (input color image information) is within the actually measured density range (that is, the color reproduction range of the image output device 102). The inside / outside determination process can be easily performed. Further, since the virtual image output device is constructed by using the neural network, it is possible to easily construct the parameter used when determining whether the target image information is within the color reproduction range of the image output device 102. You can
It is also easy to change the parameters.

【0049】〔実施例2〕実施例1では,図5に示した
ように,対象画像情報に対して内外判定処理を実行した
後,色再現範囲外部の場合に圧縮処理を実行する例を示
したが,圧縮処理の実行,非実行を決定するにあたり,
対象画像情報の全ての画素について,内外判定処理を実
行すると,逆方向VPでの計算負荷が大きくなるため,
大画像の場合には,判定までに時間かかかる恐れがあ
る。そこで,実施例2では,均等色空間を複数の領域に
分割し,各領域内に存在する対象画像情報を領域毎に一
つの代表情報で代表させて,代表情報(画像の代表点)
を用いることにより演算を高速化する。また,前記領域
毎に領域内に存在する入力したカラー画像情報の画素数
を計数し,また,前記代表情報が画像出力装置102の
色再現範囲内であるか否かの判定を行って,色再現範囲
内でないと判定された代表情報に対応する画素数の総数
と対象画像情報の全画素数との比率を求め,求めた比率
が所定の値(閾値)を越えた場合に,対象画像情報に対
して線形圧縮を行うものである。
[Embodiment 2] In Embodiment 1, as shown in FIG. 5, an example is shown in which after the inside / outside determination processing is executed on the target image information, the compression processing is executed when it is outside the color reproduction range. However, in deciding whether to execute compression processing,
If the inside / outside determination process is executed for all the pixels of the target image information, the calculation load in the backward VP increases,
In the case of a large image, it may take time to make a judgment. Therefore, in the second embodiment, the uniform color space is divided into a plurality of areas, the target image information existing in each area is represented by one piece of representative information, and the representative information (the representative point of the image) is represented.
Uses to speed up the calculation. In addition, the number of pixels of the input color image information existing in each area is counted for each area, and it is determined whether the representative information is within the color reproduction range of the image output device 102 to determine the color. If the ratio of the total number of pixels corresponding to the representative information determined not to be within the reproduction range and the total number of pixels of the target image information is calculated, and the calculated ratio exceeds a predetermined value (threshold value), the target image information The linear compression is performed on.

【0050】なお,実施例2の構成は,実施例1と同様
であるので図示および説明を省略する。
Since the structure of the second embodiment is similar to that of the first embodiment, its illustration and description will be omitted.

【0051】実施例2では,先ず,図6に示すように,
画像表示装置103の色再現範囲600および画像出力
装置102の色再現範囲を完全に含む広範囲な色空間を
L*a*b*各軸方向で,i×j×k個の空間にあらか
じめ分割し(以下,分割空間と記載する),全画素につ
いて,各分割空間に含まれる画素数を求める。
In the second embodiment, first, as shown in FIG.
A wide color space that completely includes the color reproduction range 600 of the image display device 103 and the color reproduction range of the image output device 102 is divided in advance into i * j * k spaces in each L * a * b * axis direction. (Hereinafter, referred to as a divided space), the number of pixels included in each divided space is calculated for all pixels.

【0052】ここで,広範囲な色空間を, Lmin ≦L*≦Lmaxmin ≦a*≦amaxmin ≦b*≦bmax とすると,各軸の分割ピッチPL,Pa,Pbは, PL=(Lmax −Lmin )/i Pa=(amax −amin )/j Pb=(bmax −bmin )/k であるから,ある画素の入力がL0,a0,b0のと
き,該当する分割空間Sdの座標は, Sd=( int(L0/PL), int(a0/Pa), i
nt(b0/Pb)) (ただし, int()は小数点以下切り捨て) として決定できる。
Here, assuming that a wide color space is L min ≤L * ≤L max a min ≤a * ≤a max b min ≤b * ≤b max , the division pitches PL, Pa, Pb of the respective axes are , PL = (L max −L min ) / i Pa = (a max −a min ) / j Pb = (b max −b min ) / k Therefore, when the input of a certain pixel is L0, a0, b0 , The coordinates of the corresponding divided space Sd are: Sd = (int (L0 / PL), int (a0 / Pa), i
nt (b0 / Pb)) (however, int () is rounded down after the decimal point).

【0053】このとき,分割空間Sdに対応する画素カ
ウンタ(図示せず)を1カウントアップする。もし,あ
る分割空間で一番最初のカウントアップのとき,分割空
間の座標Sdと共に,L*a*b*値をセーブしてお
く。該当する分割空間の全画素のカウント(計数)が完
了したら,分割空間自体の内外判定を行う。内外判定処
理に使用するL*a*b*値は,分割空間の重心や直方
体の8頂点のうちの1点を代表させて,全分割空間に対
して実行する。
At this time, the pixel counter (not shown) corresponding to the divided space Sd is incremented by 1. If the count-up is the first in a certain divided space, the L * a * b * value is saved together with the coordinate Sd of the divided space. When the counting (counting) of all the pixels in the corresponding divided space is completed, the inside / outside determination of the divided space itself is performed. The L * a * b * values used for the inside / outside determination processing are executed for all the divided spaces by representing the center of gravity of the divided space or one of the eight vertices of a rectangular parallelepiped.

【0054】これによって,図7に示すように,対象画
像情報に対する分割空間の代表値703だけが残ること
になる。図7は,図6のL*a*b*を真上から見たも
ので,a*b*がj×kに分割されている。対象画像情
報の分布が701の場合,各分割空間702における代
表値703の存在する空間を斜線で示してある。この斜
線で示された空間の各代表値703をセーブしておく。
As a result, as shown in FIG. 7, only the representative value 703 of the divided space for the target image information remains. FIG. 7 is a view of L * a * b * of FIG. 6 viewed from directly above, where a * b * is divided into j × k. When the distribution of the target image information is 701, the space in which the representative value 703 exists in each divided space 702 is shown by diagonal lines. Each representative value 703 of the space indicated by this diagonal line is saved.

【0055】その後,斜線で示した全分割空間のセーブ
したL*a*b*を基にして,実施例1と同様の方法で
画像出力装置102の色再現範囲の内外判定処理を行
う。具体的には,図5のAからのループを回すことによ
って実現できる。このとき,色再現範囲内部と判定され
た分割空間に属した画素数の総和IPを求め,総和IP
と対象画像情報の全画素数TPとから含有率α(=IP
/TP)を算出し,含有率αが,あらかじめ設定した閾
値Thを越えた場合に圧縮処理を実行する。
After that, based on the saved L * a * b * of all the divided spaces indicated by the diagonal lines, the inside / outside determination processing of the color reproduction range of the image output device 102 is performed by the same method as in the first embodiment. Specifically, it can be realized by rotating the loop from A in FIG. At this time, the total sum IP of the number of pixels belonging to the divided space determined to be inside the color reproduction range is obtained, and the total sum IP
And the total number of pixels TP of the target image information, the content rate α (= IP
/ TP) is calculated, and when the content rate α exceeds a preset threshold Th, the compression process is executed.

【0056】ここで,閾値Thを設定するのは,ごく少
数の色再現範囲外にある画素のために,ほぼ全部の画素
が色再現範囲内にある画像を圧縮してしまうことを防止
するためである。
Here, the threshold value Th is set in order to prevent the compression of an image in which almost all the pixels are within the color reproduction range due to a small number of pixels outside the color reproduction range. Is.

【0057】図8は,上記した各分割空間の代表値のセ
ーブ,各分割空間の画素数のカウント,含有率αの算出
および圧縮処理の有無の判定を含む圧縮決定処理のフロ
ーチャートを示す。先ず,画像処理装置107は,対象
画像情報の全画素TPの処理を終了したか否かを判定し
(S801),全画素TP終了するまで,ステップS8
02〜S806を繰り返す。一方,全画素TP終了して
いれば,ステップS807へ進む。
FIG. 8 shows a flow chart of the compression determination process including the saving of the representative value of each divided space, the counting of the number of pixels of each divided space, the calculation of the content rate α, and the determination of the presence or absence of the compression process. First, the image processing apparatus 107 determines whether or not the processing of all pixels TP of the target image information has been completed (S801), and until all pixels TP are completed, step S8.
02 to S806 are repeated. On the other hand, if all the pixels TP have ended, the process proceeds to step S807.

【0058】ステップS802〜S806では,画素
(RGBデータ)を3刺激値XYZへ変換し(S80
2),XYZをL*a*b*へ変換し(S803),L
*a*b*の属する分割空間のカウントアップを行い
(S804),該当する分割空間の初期カウントアップ
(すなわち,最初のカウントアップ)ならば(S80
5),空間座標とL*a*b*値をセーブする(S80
6)。
In steps S802 to S806, pixels (RGB data) are converted into tristimulus values XYZ (S80
2), XYZ is converted to L * a * b * (S803), L
The divided space to which * a * b * belongs is counted up (S804), and if it is the initial count up of the divided space (that is, the first count up) (S80).
5), save space coordinates and L * a * b * values (S80)
6).

【0059】ステップS807では,全分割空間の内外
判定が終了したか否か判定する。終了していなければ,
分割空間の内外判定処理を実行して,該当する分割空間
が内部であれば(S808),分割空間に属した画素数
の総和IPを求めて(S809),ステップS807へ
戻る。
In step S807, it is determined whether the inside / outside determination of all divided spaces has been completed. If not finished,
The inside / outside determination processing of the divided space is executed, and if the corresponding divided space is inside (S808), the sum total IP of the number of pixels belonging to the divided space is obtained (S809), and the process returns to step S807.

【0060】全分割空間の内外判定が終了していれば,
含有率α(=IP/TP)を求め(S810),含有率
αと閾値Thとを比較し(S811),α≧Thなら
ば,圧縮処理を実行する(S812)。一方,α<Th
ならば,非圧縮処理を実行する(S813)。
If the inside / outside determination of all the divided spaces is completed,
The content rate α (= IP / TP) is obtained (S810), the content rate α is compared with the threshold Th (S811), and if α ≧ Th, the compression process is executed (S812). On the other hand, α <Th
If so, non-compression processing is executed (S813).

【0061】なお,ここで,非圧縮処理とは,圧縮処理
を行わないで,通常の画像処理(後述する図9のステッ
プS911〜S913の処理)を実行することである。
Here, the non-compression processing means that normal image processing (processing of steps S911 to S913 of FIG. 9 described later) is executed without performing compression processing.

【0062】次に,図9のフローチャートを参照して,
図8のステップS812の圧縮処理について説明する。
圧縮処理では,画像が存在する全分割区間TDに対し
て,分割空間の代表値である代表点(L1,a1,b
1)を点(Lg,a0,b0)へ線形に圧縮する。ここ
で,Lgは,例えば,50とし,圧縮率keとした場
合,圧縮後の座標点(L2,a2,b2)は,以下のよ
うに求められる。 L2=L−(L−Lg)(1−ke) a2=(1−ke)a1 b2=(1−ke)b1 画像出力装置102の色再現範囲の内部に含まれる代表
点数CDを求め,含有率β(=CD/TD)を求める
(S901〜S906)。
Next, referring to the flowchart of FIG.
The compression process of step S812 of FIG. 8 will be described.
In the compression process, the representative points (L1, a1, b), which are the representative values of the divided space, are set for all the divided sections TD in which the image exists.
1) Linearly compress point (Lg, a0, b0). Here, when Lg is 50 and the compression rate is ke, for example, the coordinate points (L2, a2, b2) after compression are obtained as follows. L2 = L- (L-Lg) (1-ke) a2 = (1-ke) a1 b2 = (1-ke) b1 The representative score CD included in the color reproduction range of the image output apparatus 102 is calculated and included. The rate β (= CD / TD) is obtained (S901 to S906).

【0063】なお,初回の圧縮率keは小さく設定して
おき,含有率βが閾値Thdより大きくなるまで,圧縮
率keにピッチδを加えて,除々に圧縮率を高くしてい
く(S907,S908,S901〜S906)。
The initial compression rate ke is set small, and the compression rate ke is gradually increased by adding the pitch δ until the content rate β becomes larger than the threshold value Thd (S907, S908, S901 to S906).

【0064】含有率βが閾値Thdより大きくなった
ら,そのときの圧縮率keを圧縮率として決定し(S9
09),画像全体をその値で圧縮する(S910)。
When the content rate β becomes larger than the threshold value Thd, the compression rate ke at that time is determined as the compression rate (S9
09), the entire image is compressed by that value (S910).

【0065】その後,色補正処理を実行して(S91
1),画像表示装置103へ画像表示を行い(S91
2),画像出力装置102を介して記録紙に出力する
(S913)。
Thereafter, color correction processing is executed (S91
1), an image is displayed on the image display device 103 (S91
2) Output to recording paper via the image output device 102 (S913).

【0066】図10は,ステップS911〜S913の
各処理における画像データの流れを示し,図において,
矢印が色補正と画像表示,矢印が画像出力を表して
いる。記録紙(印刷物,写真等)の場合は,画像読取装
置101を用いて補正CCsにより,RGBのデジタル
データとして読み込まれる。CG画像等は画像表示装置
103等を用いて作成するので当初からRGBデータで
ある。
FIG. 10 shows the flow of image data in each processing of steps S911 to S913.
Arrows represent color correction and image display, and arrows represent image output. In the case of recording paper (printed matter, photograph, etc.), it is read as RGB digital data by the correction CCs using the image reading device 101. Since the CG image or the like is created using the image display device 103 or the like, it is RGB data from the beginning.

【0067】このRGBデータは,3×3の行列式ai
jで3刺激値XYZに変換され,さらに関数f()でL
ab(L*a*b*)に変換される。続いて,圧縮処理
によってL’a’b’に圧縮されて,関数g()によっ
て3刺激値X’Y’Z’に戻される。次に,画像出力装
置102での補正CCpにより濃度cmyを得て,グレ
ーを補正するためにγ変換を行ってc’m’y’とし
て,仮想の画像出力装置VPによりL”a”b”に変換
し,関数g()でX”Y”Z”,そしてaijの逆行列
bijでR’B’G’を得る。
This RGB data has a 3 × 3 determinant ai
j is converted into tristimulus values XYZ, and L is converted by the function f ().
ab (L * a * b *). Then, it is compressed into L'a'b 'by the compression process and returned to the tristimulus value X'Y'Z' by the function g (). Next, the density cmy is obtained by the correction CCp in the image output device 102, γ conversion is performed to correct the gray to obtain c′m′y ′, and L ″ a ″ b ″ is obtained by the virtual image output device VP. To obtain X ″ Y ″ Z ″ by the function g () and R′B′G ′ by the inverse matrix bij of aij.

【0068】すなわち,仮想の画像出力装置VPによっ
て実機(画像出力装置102)の出力で得られる画像情
報を仮想的に作成したのが,R’B’G’である。この
一連の処理を色処理としている。また,R’B’G’を
画像表示装置103へ表示することを画像表示とする。
実際に記録紙上に出力する場合には,γ変換後のc’
m’y’を矢印で示すように切り替えて,画像出力装
置102へ送るための変換テーブルLUTを通す。これ
が画像出力である。
That is, it is R'B'G 'that the image information obtained by the output of the actual machine (image output device 102) is virtually created by the virtual image output device VP. This series of processes is called color processing. Further, displaying R'B'G 'on the image display device 103 is referred to as image display.
When actually outputting on recording paper, c ′ after γ conversion
The m'y 'is switched as shown by the arrow, and the conversion table LUT for sending to the image output device 102 is passed. This is image output.

【0069】仮想の画像出力装置VPの入出力として
は,本実施例のように濃度cmyの他に,各単色の反射
率積分値や,RGB等でも構築可能である。また,対と
なるデータとしてL*a*b*以外のデータでも考えら
れる。また,cmyの3色系,cmykの4色系でも構
築でき,その際には,色処理を入出力のデータに見合う
ように変更する必要がある。
As input / output of the virtual image output device VP, it is possible to construct not only the density cmy as in the present embodiment, but also the reflectance integral value of each monochromatic color, RGB or the like. Also, data other than L * a * b * can be considered as a pair of data. Further, the three-color system of cmy and the four-color system of cmyk can be constructed, and in that case, it is necessary to change the color processing so as to match the input / output data.

【0070】前述したように実施例2によれば,実施例
1の効果に加えて,判定処理の高速化を図ると共に,カ
ラー画像が少数の色再現範囲外の画素データに影響され
て全体的に色味を失うことを回避できる。また,カラー
画像が圧縮されることによって,全体的に色味を失うこ
とを回避できる。
As described above, according to the second embodiment, in addition to the effect of the first embodiment, the determination process is speeded up, and the color image is affected by a small number of pixel data outside the color reproduction range, and the overall color image is affected. You can avoid losing color. Further, it is possible to avoid losing the color tone as a whole by compressing the color image.

【0071】なお,分割空間の作成に関しては,1軸方
向について考えると,均等分割以外に,基準点から遠ざ
かるに従って,分割の幅を広げて行く等の分割方法を適
用することもできる。
Regarding the creation of the divided space, considering the direction of one axis, it is possible to apply not only the uniform division but also a dividing method such as increasing the width of the division as the distance from the reference point increases.

【0072】〔実施例3〕実施例3は,実施例2におい
て,圧縮を分割空間に応じた可変型とするものである。
なお,基本的な構成および動作は実施例2と同様である
ため,ここでは,異なる部分のみを説明する。
[Third Embodiment] In the third embodiment, the compression in the second embodiment is variable according to the division space.
Since the basic configuration and operation are the same as those in the second embodiment, only different parts will be described here.

【0073】実施例2では,図11(a)に示すよう
に,色空間を広めて取って分割空間を設定した。実施例
3では,図11(b)に示すように,あらかじめ彩度方
向において,原点から遠ざかるに従って圧縮率が高まる
ように,図中に4段階で示す領域毎の副圧縮率を設定し
ておく。また,L*軸も同様に,図11(c)および
(d)に示すように,(Lg,0,0)を中心に副圧縮
率を設定する。
In the second embodiment, as shown in FIG. 11A, the color space is widened and set to set the division space. In the third embodiment, as shown in FIG. 11B, the sub-compression ratio for each area shown in four stages in the figure is set in advance so that the compression ratio increases in the saturation direction as the distance from the origin increases. . Similarly, for the L * axis, as shown in FIGS. 11C and 11D, the sub compression rate is set around (Lg, 0, 0).

【0074】ここで,副圧縮率について説明する。例え
ば,図11(b)では,副圧縮率を4段階に設定してい
るので,副圧縮率を各レベルに応じて,中心から遠ざか
る方向へ向かってk0〜k3とすると,圧縮率keのと
き,a*b*で取られた各空間の圧縮率は,k0(1−
ke),k1(1−ke),k2(1−ke),k3
(1−ke)となる。
Here, the sub compression rate will be described. For example, in FIG. 11B, since the sub-compression rate is set in four stages, if the sub-compression rate is set to k0 to k3 in the direction away from the center according to each level, when the compression rate is ke , A * b *, the compression ratio of each space is k0 (1-
ke), k1 (1-ke), k2 (1-ke), k3
(1-ke).

【0075】ただし,各段階での圧縮率において,内側
へ入り込まないように各副圧縮率を調整しておく。圧縮
率20%を例とすると,ke=0.2から(1−ke)
との積は,k0=1,k1=0.875,k2=0.7
5,k3=0.625とすると,それぞれ,0.8,
0.7,0.6,0.5となる。従って,内側から20
%,30%,40%,50%の圧縮となる。
However, with respect to the compression rate at each stage, each sub-compression rate is adjusted so as not to get inside. Taking a compression rate of 20% as an example, from ke = 0.2 to (1-ke)
The product of and is k0 = 1, k1 = 0.875, k2 = 0.7
5, k3 = 0.625, 0.8,
It becomes 0.7, 0.6, 0.5. Therefore, 20 from the inside
%, 30%, 40%, 50% compression.

【0076】図12は,実施例3の圧縮処理のフローチ
ャートを示し,基本的には,図9で示した実施例2の圧
縮処理と同様であり,同一の符号は共通の処理を示すの
で,ここでは,異なる部分のみを説明する。画像が存在
する全分割区間TDに対して,分割空間の代表値である
代表点(L1,a1,b1)を点(Lg,a0,b0)
へ分割空間毎の可変圧縮を行う(S1201)。ここ
で,Lgは,例えば,50とし,圧縮率ke,分割空間
の副圧縮率ksのとき,圧縮後の座標点(L2,a2,
b2)は,以下のように求められる。 L2=L−(L−Lg)(1−ke)ks a2=(1−ke)ks・a1 b2=(1−ke)ks・b1
FIG. 12 shows a flow chart of the compression processing of the third embodiment, which is basically the same as the compression processing of the second embodiment shown in FIG. 9, and the same reference numerals indicate common processing. Here, only different parts will be described. A representative point (L1, a1, b1) that is a representative value of the divided space is a point (Lg, a0, b0) for all divided sections TD in which an image exists.
Variable compression is performed for each divided space (S1201). Here, Lg is, for example, 50, and when the compression rate ke and the sub-compression rate ks of the divided space are, coordinate points (L2, a2, after compression)
b2) is calculated as follows. L2 = L- (L-Lg) (1-ke) ks a2 = (1-ke) ks.a1 b2 = (1-ke) ks.b1

【0077】その後,実施例2と同様に,画像出力装置
102の色再現範囲の内部に含まれる代表点数CDを求
め,含有率β(=CD/TD)を求める(S901〜S
906)。
Thereafter, as in the second embodiment, the representative score CD included in the color reproduction range of the image output device 102 is obtained, and the content rate β (= CD / TD) is obtained (S901 to S901).
906).

【0078】前述したように実施例3では,副圧縮率を
設定して線形圧縮における,領域毎の圧縮率を変更可能
とすることにより,圧縮の基準点から遠いデータほど圧
縮率を上げて,画像を圧縮した場合に色味が落ちること
を低減することができる。換言すれば,カラー画像が圧
縮されることによって,全体的に色味を失うことを回避
できる。
As described above, in the third embodiment, the sub-compression rate is set so that the compression rate for each area in the linear compression can be changed, so that the compression rate is increased for data farther from the compression reference point, It is possible to reduce the loss of color when an image is compressed. In other words, it is possible to avoid losing the color tone as a whole by compressing the color image.

【0079】〔実施例4〕実施例4は,実施例3の圧縮
処理のフローチャートにおいて,点線で囲んだステップ
S910〜S912を,図13のステップS1301〜
S1309で置き換えたものである。
[Fourth Embodiment] In the fourth embodiment, steps S910 to S912 surrounded by dotted lines in the flowchart of the compression process of the third embodiment are replaced with steps S1301 to S1301 of FIG.
It is replaced by S1309.

【0080】実施例3では,自動で圧縮率を算出し,画
像表示・画像出力を行っているが,ユーザーによって
は,全体の色味の薄れを回避するよりも,高濃度部を鮮
やかに出力したいときもある。そこで,実施例4では,
圧縮率keを圧縮の目安として,最終的に画像情報に施
す圧縮率kefを,ユーザーが設定できるようにしたも
のである。
In the third embodiment, the compression ratio is automatically calculated, and the image display / image output is performed. However, depending on the user, rather than avoiding the fading of the overall tint, the high density portion is output vividly. Sometimes I want to do it. Therefore, in Example 4,
The compression rate ke is used as a standard for compression, and the compression rate kef finally applied to the image information can be set by the user.

【0081】先ず,ユーザーが操作・入力装置105を
用いて,圧縮処理後の状態を確認するための画像の一時
処理用の領域指定を行うと(S1301),指定領域を
圧縮率keで圧縮し(S1302),色補正を施し(S
1303),画像表示を行う(S1304)。この画像
表示装置103に表示された画像をユーザーが確認し
て,所望の色合いの画像でなければ,操作・入力装置1
05を介して,圧縮率keを設定する(S1305,S
1306)。続いて,ステップS1302へ戻って,指
定領域を指定された圧縮率keで圧縮し,ステップS1
303以降を繰り返す。
First, when the user uses the operation / input device 105 to specify an area for temporary processing of an image for checking the state after compression processing (S1301), the specified area is compressed at a compression rate ke. (S1302), color correction is performed (S1302)
1303) and an image is displayed (S1304). The user confirms the image displayed on the image display device 103, and if the image does not have the desired hue, the operation / input device 1
The compression rate ke is set via 05 (S1305, S
1306). Subsequently, returning to step S1302, the designated area is compressed at the designated compression rate ke, and step S1 is performed.
Step 303 and subsequent steps are repeated.

【0082】一方,表示された画像が所望の画像であれ
ば,ユーザーが,操作・入力装置105の所定のキーを
押下して,圧縮率設定終了を入力すると(S130
5),そのときの圧縮率keを圧縮率kefとして,画
像全体を圧縮率kefで圧縮した後(S1307),色
補正を施し(S1308),画像表示を行う(S130
9)。
On the other hand, if the displayed image is a desired image, the user depresses a predetermined key of the operation / input device 105 and inputs the compression ratio setting end (S130).
5) With the compression rate ke at that time as the compression rate kef, the entire image is compressed at the compression rate kef (S1307), color correction is performed (S1308), and the image is displayed (S130).
9).

【0083】前述したように実施例4によれば,操作・
入力装置105(圧縮率設定手段)を介してユーザーが
圧縮率を設定すると,その圧縮率を用いて画像情報に対
して線形圧縮を行い,それ以外の場合は,自動的に決定
された圧縮率に基づいて,画像情報に対して線形圧縮を
行うので,実施例3の効果に加えて,ユーザー自身が許
容できる値の圧縮率で画像の圧縮を行うことができる。
換言すれば,ユーザー自身が許容できる圧縮率を設定で
きるので,ユーザーの好みのカラー画像を得ることがで
きる。
As described above, according to the fourth embodiment,
When the user sets the compression rate via the input device 105 (compression rate setting means), the compression rate is used to perform linear compression on the image information. In other cases, the compression rate automatically determined. Since the image information is linearly compressed based on the above, in addition to the effect of the third embodiment, the image can be compressed at a compression rate of a value that the user can tolerate.
In other words, the user can set the compression ratio that he / she can tolerate, so that the user can obtain a color image that he / she likes.

【0084】〔実施例5〕画像出力装置102は,ある
一定の入力(CMYデータ)に対して常に同じ出力を出
すとは限らない。これは,画像出力装置102の経時変
化と出力時の環境変化によるものである。また,経時変
化でも,長期,中期,短期で変化する要因がある。複写
機を例にすると,代表的な要因にトナーの補給量や,感
光体ドラムへの帯電圧変動等がある。
[Embodiment 5] The image output apparatus 102 does not always output the same output for a certain fixed input (CMY data). This is due to changes over time in the image output device 102 and environmental changes during output. In addition, there are factors that change with time, in the long term, in the medium term, and in the short term. Taking a copying machine as an example, typical factors include the amount of toner replenishment and the fluctuation of the charging voltage to the photosensitive drum.

【0085】そこで,実施例5では,実施例1〜実施例
4の構成に加えて,このような経時変化を測定するため
のセンサや,環境を計測するセンサ(例えば,湿度セン
サ)を画像出力装置102内に配置し,これらセンサで
測定したセンサ情報を仮想の画像出力装置VPに活かす
ことにより,出力機(画像出力装置102)の現状にマ
ッチした画像を仮想的に作り出せるようにしたものであ
る。
Therefore, in the fifth embodiment, in addition to the configurations of the first to fourth embodiments, a sensor for measuring such a change over time and a sensor for measuring the environment (for example, a humidity sensor) are output as images. It is arranged in the device 102, and by utilizing the sensor information measured by these sensors in the virtual image output device VP, it is possible to virtually create an image that matches the current state of the output machine (image output device 102). is there.

【0086】具体的には,あらかじめ環境室に画像出力
装置102を配置して,画像出力を行ったり,加速試験
等で経時変化を作り出した状況で,画像出力を行い。そ
のときのセンサ情報を測定しておく。
Specifically, the image output device 102 is arranged in advance in the environment room to perform image output, or image output is performed in a situation where a change over time is created by an acceleration test or the like. The sensor information at that time is measured.

【0087】次に,前記センサ情報を,環境・経時変化
で場合分けを行い,各場合ごとにVPパラメータを算出
して,ライブラリ化して記憶しておく。
Next, the sensor information is divided into cases according to the environment and changes with time, and the VP parameters are calculated for each case, stored as a library.

【0088】そして,実際の動作時のセンサ情報から,
最も適したVPパラメータを抽出し,画像処理に活用す
る。
Then, from the sensor information during actual operation,
The most suitable VP parameter is extracted and used for image processing.

【0089】図14は,実施例5において,VPパラメ
ータを決定するための構成例を示す。センサ情報処理部
1401は,画像出力装置102内に配置されたセンサ
群(センサ1〜センサn)からセンサ情報を入力する
と,センサ情報から環境・経時変化の状況を判定し,判
定した状況に相応しいVPパラメータのアドレスを出力
する。VPライブラリ1402には,あらかじめ環境・
経時変化で場合分けされたVPパラメータがライブラリ
化して記憶されており,前記センサ情報処理部1401
からVPパラメータのアドレスを入力すると,対応する
VPパラメータを出力する。
FIG. 14 shows a configuration example for determining the VP parameter in the fifth embodiment. When the sensor information processing unit 1401 inputs sensor information from a sensor group (sensor 1 to sensor n) arranged in the image output device 102, the sensor information processing unit 1401 determines a situation of environment / time change from the sensor information and is suitable for the determined situation. The address of the VP parameter is output. The VP library 1402 has an environment
The VP parameters, which have been classified according to the change over time, are stored in the form of a library.
When the address of the VP parameter is input from, the corresponding VP parameter is output.

【0090】図10で示した仮想の画像出力装置VP
は,VPライブラリ1402から出力されたVPパラメ
ータを用いて,逆方向VPの処理を行うことにより,画
像出力装置102の現状にマッチした画像を仮想的に作
り出す。
The virtual image output device VP shown in FIG.
Performs a backward VP process using the VP parameters output from the VP library 1402, thereby virtually creating an image that matches the current state of the image output device 102.

【0091】前述したように実施例5によれば,接続さ
れている画像出力装置の経時変化・環境変動等に対して
迅速に対応することができる。また,例えば,接続され
ている画像出力装置が取替られた場合でも,あたらしく
設置された画像出力装置のセンサ情報に基づいて,自動
的に最適なVPパラメータが選択されるので,最適な画
像圧縮処理を行うことができる。
As described above, according to the fifth embodiment, it is possible to promptly deal with changes with time and environmental changes of the connected image output device. Further, for example, even when the connected image output device is replaced, the optimum VP parameter is automatically selected based on the sensor information of the newly installed image output device, so that the optimum image compression is performed. Processing can be performed.

【0092】〔実施例6〕実施例6は,経時変化・環境
変動に応じた最適な処理を行うために,実施例1〜実施
例4の構成に加えて,経時変化・環境変動を測定するセ
ンサ群(センサ1〜センサn)と,センサ群からのセン
サ情報に基づいて,仮想の画像出力装置VPで処理後の
画像データ(L*a*b*)を補正する経時変化・環境
補正部1501とを配置したものである。
[Sixth Embodiment] In the sixth embodiment, in order to perform the optimum processing according to the change with time and the environmental change, the change with time and the environmental change are measured in addition to the configurations of the first to fourth embodiments. A sensor group (sensor 1 to sensor n) and a time-dependent change / environment correction unit that corrects image data (L * a * b *) after processing by a virtual image output device VP based on sensor information from the sensor group. And 1501 are arranged.

【0093】仮想の画像出力装置VPによって入力濃度
cmyがL*a*b*に変換される。その後,センサ情
報と取り込み,経時変化・環境補正部1501で補正デ
ータL*’a*’b*’を得る。
The virtual image output device VP converts the input density cmy into L * a * b *. After that, the sensor information and the acquired information are acquired, and the correction data L * 'a *' b * 'are obtained by the change / environment correction unit 1501.

【0094】前述したように実施例6によれば,接続さ
れている画像出力装置の経時変化・環境変動等に対して
迅速に対応することができる。また,例えば,接続され
ている画像出力装置が取替られた場合でも,あたらしく
設置された画像出力装置のセンサ情報に基づいて,画像
データが補正されるので,最適な画像圧縮処理を行うこ
とができる。
As described above, according to the sixth embodiment, it is possible to promptly deal with changes with time and environmental changes of the connected image output device. Further, for example, even when the connected image output device is replaced, the image data is corrected based on the sensor information of the newly installed image output device, so that optimum image compression processing can be performed. it can.

【0095】[0095]

【発明の効果】以上説明したように,請求項1に係るカ
ラー画像処理装置は,仮想装置手段によってカラー画像
出力装置と逆方向の処理を行い,判定手段によって,仮
想装置手段の出力カラー画像情報に基づいて,入力した
カラー画像情報がカラー画像出力装置の色再現範囲内で
あるか否かの判定を行うため,入力したカラー画像情報
がカラー画像出力装置の色再現範囲内であるか否かの判
定を行う際に使用するパラメータを容易に構築できると
共に,判定処理を簡単に行える。
As described above, in the color image processing apparatus according to the first aspect of the present invention, the virtual device means performs the processing in the opposite direction to the color image output device, and the determining means outputs the output color image information of the virtual device means. It is determined whether the input color image information is within the color reproduction range of the color image output device in order to determine whether the input color image information is within the color reproduction range of the color image output device based on It is possible to easily construct the parameters to be used when making the judgment and to make the judgment process simple.

【0096】また,請求項2に係るカラー画像処理装置
は,均等色空間を複数の領域に分割し,各領域内に存在
する入力したカラー画像情報を領域毎に一つの代表情報
で代表させて,代表情報(画像の代表点)を用いるた
め,演算の高速化を図ることができる。さらに,領域毎
に領域内に存在する入力したカラー画像情報の画素数を
計数し,前記代表情報がカラー画像出力装置の色再現範
囲内であるか否かの判定を行って,色再現範囲内でない
と判定された代表情報に対応する画素数の総数と入力し
たカラー画像情報の全画素数との比率を求め,求めた比
率が所定の値(閾値)を越えた場合に,入力したカラー
画像情報に対して線形圧縮を行うため,カラー画像が少
数の色再現範囲外の画素データに影響されて全体的に色
味を失うことを回避できる。
In the color image processing apparatus according to the second aspect, the uniform color space is divided into a plurality of areas, and the input color image information existing in each area is represented by one representative information for each area. Since the representative information (representative points of the image) is used, the calculation speed can be increased. Further, the number of pixels of the input color image information existing in each area is counted for each area, and it is determined whether or not the representative information is within the color reproduction range of the color image output device. If the ratio of the total number of pixels corresponding to the representative information determined to be not to the total number of pixels of the input color image information is found, and the found ratio exceeds a predetermined value (threshold value), the input color image Since the information is linearly compressed, it is possible to prevent the color image from being affected by a small number of pixel data outside the color reproduction range and losing the overall tint.

【0097】また,請求項3に係るカラー画像処理装置
は,線形圧縮手段において,領域毎に圧縮率を変更可能
であり,圧縮の基準点から遠いデータほど圧縮率を上げ
ることが可能であるため,画像を圧縮した場合に色味が
落ちることを低減することができる。
Further, in the color image processing apparatus according to the third aspect, the compression rate can be changed for each area in the linear compression means, and the compression rate can be increased for data farther from the compression reference point. It is possible to reduce the loss of color when an image is compressed.

【0098】また,請求項4に係るカラー画像処理装置
は,圧縮率設定手段を介してユーザーが圧縮率を設定す
ると,その圧縮率を用いて入力したカラー画像情報に対
して線形圧縮を行い,それ以外の場合は圧縮率決定手段
で決定された圧縮率に基づいて,入力したカラー画像情
報に対して線形圧縮を行うため,ユーザー自身が許容で
きる圧縮率を設定可能として,ユーザーの好みのカラー
画像を得られるようにできる。
Further, in the color image processing apparatus according to the fourth aspect, when the user sets the compression rate through the compression rate setting means, the color image information input using the compression rate is linearly compressed, In other cases, linear compression is performed on the input color image information based on the compression rate determined by the compression rate determining means, so that the user can set the compression rate that he / she can accept, and the user's favorite color can be set. Images can be obtained.

【0099】また,請求項5に係るカラー画像処理装置
は,圧縮率決定手段において,領域毎に圧縮率を演算可
能であり,圧縮の基準点から遠いデータほど圧縮率を上
げることができるため,画像を圧縮した場合に色味が落
ちることを低減することができる。
Further, in the color image processing apparatus according to the fifth aspect, the compression rate determining means can calculate the compression rate for each area, and the compression rate can be increased as the data is farther from the compression reference point. It is possible to reduce the loss of color when an image is compressed.

【0100】また,請求項6に係るカラー画像処理装置
は,カラー画像出力装置の経時変化・環境変動を測定
し,測定結果に基づいて,あらかじめカラー画像出力装
置の経時変化・環境変動を考慮して設定された複数のパ
ラメータの中から,最適なパラーメータを選択して,仮
想装置手段によってカラー画像出力装置と逆方向の処理
を行い,判定手段によって,仮想装置手段の出力カラー
画像情報に基づいて,入力したカラー画像情報がカラー
画像出力装置の色再現範囲内であるか否かの判定を行う
ため,接続されているカラー画像入力装置あるいはカラ
ー画像出力装置が取替られた場合や,接続されているカ
ラー画像出力装置の経時変化・環境変動等に対して迅速
に対応することができる。
A color image processing apparatus according to a sixth aspect measures a temporal change / environmental change of the color image output apparatus and considers the temporal change / environmental change of the color image output apparatus in advance based on the measurement result. The optimum parameter is selected from among the plurality of parameters set as described above, the virtual device means performs processing in the opposite direction to the color image output device, and the determination means determines the color image output device based on the output color image information of the virtual device means. , In order to determine whether the input color image information is within the color reproduction range of the color image output device, when the connected color image input device or color image output device is replaced, It is possible to promptly respond to changes with time and environmental changes of existing color image output devices.

【0101】また,請求項7に係るカラー画像処理装置
は,仮想装置手段によってカラー画像出力装置と逆方向
の処理を行う。また,カラー画像出力装置の経時変化・
環境変動を測定し,測定結果に基づいて,前記逆方向の
処理で得られた出力カラー画像情報を補正し,判定手段
によって,補正後の出力カラー画像情報に基づいて,入
力したカラー画像情報がカラー画像出力装置の色再現範
囲内であるか否かの判定を行うため,接続されているカ
ラー画像入力装置あるいはカラー画像出力装置が取替ら
れた場合や,接続されているカラー画像出力装置の経時
変化・環境変動等に対して迅速に対応することができ
る。
Further, the color image processing apparatus according to the seventh aspect of the present invention performs the processing in the opposite direction to the color image output apparatus by the virtual device means. In addition, the change over time of the color image output device
The environmental change is measured, the output color image information obtained in the reverse processing is corrected based on the measurement result, and the input color image information is corrected by the determination means based on the corrected output color image information. In order to determine whether the color image output device is within the color reproduction range, when the connected color image input device or color image output device is replaced, or when the connected color image output device is It is possible to quickly respond to changes over time and environmental changes.

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

【図1】本発明のカラー画像処理装置を搭載したカラー
デジタル複合機のシステムブロック図である。
FIG. 1 is a system block diagram of a color digital multi-function peripheral equipped with a color image processing apparatus of the present invention.

【図2】画像出力装置の色再現範囲と対象画像情報との
関係を示す説明図である。
FIG. 2 is an explanatory diagram showing a relationship between a color reproduction range of an image output device and target image information.

【図3】仮想の画像出力装置VPの作成方法を示すフロ
ーチャートである。
FIG. 3 is a flowchart showing a method of creating a virtual image output device VP.

【図4】仮想の画像出力装置VPの構成例示す説明図で
ある。
FIG. 4 is an explanatory diagram showing a configuration example of a virtual image output device VP.

【図5】図4で示したニューラルネットワークによって
構築された仮想の画像出力装置VP(逆方向VP)を用
いた内外判定処理のフローチャートである。
5 is a flowchart of an inside / outside determination process using a virtual image output device VP (reverse direction VP) constructed by the neural network shown in FIG.

【図6】実施例2の分割空間を示す説明図である。FIG. 6 is an explanatory diagram showing a divided space according to the second embodiment.

【図7】図6のL*a*b*を真上から見た図であり,
分割空間の代表値を示す説明図である。
7 is a diagram of L * a * b * of FIG. 6 viewed from directly above,
It is explanatory drawing which shows the representative value of a division space.

【図8】実施例2における,各分割空間の代表値のセー
ブ,各分割空間の画素数のカウント,含有率αの算出お
よび圧縮処理の有無の判定を含む圧縮決定処理のフロー
チャートである。
FIG. 8 is a flowchart of a compression determination process including saving a representative value of each divided space, counting the number of pixels in each divided space, calculating a content rate α, and determining whether or not a compression process is performed in the second embodiment.

【図9】図8のステップS812の圧縮処理のフローチ
ャートである。
9 is a flowchart of a compression process of step S812 of FIG.

【図10】図9のステップS911〜S913の各処理
における画像データの流れを示す説明図である。
10 is an explanatory diagram showing a flow of image data in each processing of steps S911 to S913 of FIG. 9. FIG.

【図11】実施例3における副圧縮率の設定を示す説明
図である。
FIG. 11 is an explanatory diagram showing setting of a sub compression rate in the third embodiment.

【図12】実施例3の圧縮処理のフローチャートであ
る。
FIG. 12 is a flowchart of a compression process according to the third embodiment.

【図13】実施例4の圧縮処理の一部を示すフローチャ
ートである。
FIG. 13 is a flowchart showing a part of the compression processing of the fourth embodiment.

【図14】実施例5のVPパラメータを決定するための
構成例を示す説明図である。
FIG. 14 is an explanatory diagram showing a configuration example for determining a VP parameter according to the fifth embodiment.

【図15】実施例6の構成例を示す説明図である。FIG. 15 is an explanatory diagram showing a configuration example of a sixth embodiment.

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

101 画像読取装置 102 画像出力装置 103 画像表示装置 104 記憶装置 105 操作・入力装置 106 制御装置 107 画像処理装置 1401 センサ情報処理部 1402 VPライブラリ 1501 経時変化・環境補正部 VP 仮想の画像出力装置(仮想装置手段) 101 image reading device 102 image output device 103 image display device 104 storage device 105 operation / input device 106 control device 107 image processing device 1401 sensor information processing unit 1402 VP library 1501 temporal change / environment correction unit VP virtual image output device (virtual Device means)

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G09G 5/02 B 9471−5G L 9471−5G H04N 1/46 G06F 15/68 310 A H04N 1/46 Z ─────────────────────────────────────────────────── ─── Continuation of front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical display location G09G 5/02 B 9471-5G L 9471-5G H04N 1/46 G06F 15/68 310 A H04N 1 / 46 Z

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 入力したカラー画像情報に対して,カラ
ー画像出力装置の色再現範囲内のカラー画像情報に補正
する色補正処理を施すカラー画像処理装置において,前
記カラー画像出力装置における出力カラー画像情報が入
力カラー画像情報に対応し,入力カラー画像情報が出力
カラー画像情報に対応する,前記カラー画像出力装置と
逆方向の処理を行う仮想装置手段と,前記仮想装置手段
の出力カラー画像情報に基づいて,前記入力したカラー
画像情報が前記カラー画像出力装置の色再現範囲内であ
るか否かの判定を行う判定手段とを備えたことを特徴と
するカラー画像処理装置。
1. A color image processing apparatus for performing color correction processing for correcting input color image information into color image information within a color reproduction range of the color image output apparatus, wherein an output color image in the color image output apparatus is provided. Information corresponding to input color image information, input color image information corresponding to output color image information, and virtual device means for performing processing in the opposite direction to the color image output device; and output color image information of the virtual device means. A color image processing apparatus comprising: a determination unit that determines whether the input color image information is within a color reproduction range of the color image output apparatus based on the determination result.
【請求項2】 入力したカラー画像情報に対して,カラ
ー画像出力装置の色再現範囲内のカラー画像情報に補正
する色補正処理を施すカラー画像処理装置において,均
等色空間を複数の領域に分割し,各領域内に存在する前
記入力したカラー画像情報を領域毎に一つの代表情報で
代表させる画像情報代表手段と,前記領域毎に領域内に
存在する前記入力したカラー画像情報の画素数を計数す
る画素数計数手段と,前記代表情報が前記カラー画像出
力装置の色再現範囲内であるか否かの判定を行う判定手
段と,前記判定手段で色再現範囲内でないと判定された
代表情報に対応する画素数の総数と前記入力したカラー
画像情報の全画素数との比率を求める比率算出手段と,
前記比率算出手段で求めた比率が,所定の値を越えた場
合に,前記入力したカラー画像情報に対して線形圧縮を
行う線形圧縮手段とを備えたことを特徴とするカラー画
像処理装置。
2. A color image processing apparatus for performing color correction processing for correcting input color image information into color image information within a color reproduction range of a color image output apparatus, wherein a uniform color space is divided into a plurality of areas. Then, the image information representative means for representing the input color image information existing in each area by one representative information for each area, and the number of pixels of the input color image information existing in the area for each area Pixel number counting means for counting, determination means for determining whether or not the representative information is within the color reproduction range of the color image output device, and representative information determined by the determination means for not being within the color reproduction range Ratio calculating means for obtaining a ratio of the total number of pixels corresponding to the above and the total number of pixels of the input color image information,
A color image processing apparatus comprising: a linear compression unit that linearly compresses the input color image information when the ratio calculated by the ratio calculation unit exceeds a predetermined value.
【請求項3】 前記線形圧縮手段は,前記領域毎に圧縮
率を変更可能であることを特徴とする請求項2記載のカ
ラー画像処理装置。
3. The color image processing apparatus according to claim 2, wherein the linear compression unit can change the compression rate for each area.
【請求項4】 入力したカラー画像情報に対して,カラ
ー画像出力装置の色再現範囲内のカラー画像情報に補正
する色補正処理を施すカラー画像処理装置において,均
等色空間を複数の領域に分割し,各領域内に存在する前
記入力したカラー画像情報を領域毎に一つの代表情報で
代表させる画像情報代表手段と,前記領域毎に領域内に
存在する前記入力したカラー画像情報の画素数を計数す
る画素数計数手段と,前記代表情報が前記カラー画像出
力装置の色再現範囲内であるか否かの判定を行う判定手
段と,前記判定手段で色再現範囲内でないと判定された
代表情報に対応する画素数の総数と前記入力したカラー
画像情報の全画素数との比率を求める比率算出手段と,
前記比率算出手段で求めた比率が,所定の値を越えた場
合に,あらかじめ設定された演算によって圧縮率を決定
する圧縮率決定手段と,ユーザーが圧縮率を設定するた
めの圧縮率設定手段と,前記圧縮率設定手段を介して圧
縮率が設定された場合に,その圧縮率を用いて前記入力
したカラー画像情報に対して線形圧縮を行い,それ以外
の場合は前記圧縮率決定手段で決定された圧縮率に基づ
いて,前記入力したカラー画像情報に対して線形圧縮を
行う線形圧縮手段とを備えたことを特徴とするカラー画
像処理装置。
4. A color image processing apparatus for performing color correction processing for correcting input color image information into color image information within a color reproduction range of a color image output apparatus, wherein a uniform color space is divided into a plurality of areas. Then, the image information representative means for representing the input color image information existing in each area by one representative information for each area, and the number of pixels of the input color image information existing in the area for each area Pixel number counting means for counting, determination means for determining whether or not the representative information is within the color reproduction range of the color image output device, and representative information determined by the determination means for not being within the color reproduction range Ratio calculating means for obtaining a ratio of the total number of pixels corresponding to the above and the total number of pixels of the input color image information,
When the ratio calculated by the ratio calculating unit exceeds a predetermined value, a compression ratio determining unit that determines the compression ratio by a preset calculation, and a compression ratio setting unit that allows the user to set the compression ratio. When the compression rate is set through the compression rate setting means, the compression rate is used to perform linear compression on the input color image information, and otherwise, the compression rate determination means determines the compression rate. A color image processing apparatus comprising: a linear compression unit that linearly compresses the input color image information based on the compressed rate.
【請求項5】 前記圧縮率決定手段は,前記領域毎に圧
縮率を演算することを特徴とする請求項4記載のカラー
画像処理装置。
5. The color image processing apparatus according to claim 4, wherein the compression rate determining means calculates a compression rate for each area.
【請求項6】 入力したカラー画像情報に対して,カラ
ー画像出力装置の色再現範囲内のカラー画像情報に補正
する色補正処理を施すカラー画像処理装置において,前
記カラー画像出力装置における出力カラー画像情報が入
力カラー画像情報に対応し,入力カラー画像情報が出力
カラー画像情報に対応する,前記カラー画像出力装置と
逆方向の処理を行う仮想装置手段と,前記仮想装置手段
の出力カラー画像情報に基づいて,前記入力したカラー
画像情報が前記カラー画像出力装置の色再現範囲内であ
るか否かの判定を行う判定手段と,前記カラー画像出力
装置の経時変化・環境変動を測定する測定手段とを備
え,前記仮想装置手段は,前記測定手段の測定結果に基
づいて,あらかじめ前記カラー画像出力装置の経時変化
・環境変動を考慮して設定された複数のパラメータの中
から,最適なパラーメータを選択して,前記逆方向の処
理を行うことを特徴とするカラー画像処理装置。
6. A color image processing apparatus for performing color correction processing for correcting input color image information into color image information within a color reproduction range of the color image output apparatus, wherein an output color image in the color image output apparatus is provided. Information corresponding to input color image information, input color image information corresponding to output color image information, and virtual device means for performing processing in the opposite direction to the color image output device; and output color image information of the virtual device means. Based on the input color image information, a determination means for determining whether or not the input color image information is within a color reproduction range of the color image output device; and a measurement means for measuring a temporal change / environmental change of the color image output device. The virtual device means is based on the measurement result of the measuring means, and in consideration of temporal change and environmental change of the color image output device in advance. A color image processing apparatus, wherein an optimum parameter is selected from a plurality of set parameters to perform the processing in the reverse direction.
【請求項7】 入力したカラー画像情報に対して,カラ
ー画像出力装置の色再現範囲内のカラー画像情報に補正
する色補正処理を施すカラー画像処理装置において,前
記カラー画像出力装置における出力カラー画像情報が入
力カラー画像情報に対応し,入力カラー画像情報が出力
カラー画像情報に対応する,前記カラー画像出力装置と
逆方向の処理を行う仮想装置手段と,前記仮想装置手段
の出力カラー画像情報に基づいて,前記入力したカラー
画像情報が前記カラー画像出力装置の色再現範囲内であ
るか否かの判定を行う判定手段と,前記カラー画像出力
装置の経時変化・環境変動を測定する測定手段と,前記
測定手段の測定結果に基づいて,前記逆方向の処理で得
られた出力カラー画像情報を補正して出力する補正手段
とを備えたことを特徴とするカラー画像処理装置。
7. A color image processing apparatus for performing color correction processing for correcting input color image information into color image information within a color reproduction range of the color image output apparatus, wherein an output color image in the color image output apparatus is provided. Information corresponding to input color image information, input color image information corresponding to output color image information, and virtual device means for performing processing in the opposite direction to the color image output device; and output color image information of the virtual device means. Based on the input color image information, a determination means for determining whether or not the input color image information is within a color reproduction range of the color image output device; and a measurement means for measuring a temporal change / environmental change of the color image output device. A correction means for correcting and outputting the output color image information obtained by the processing in the reverse direction based on the measurement result of the measurement means. Color image processing device to be used.
JP6030876A 1993-12-21 1994-02-02 Color image processor Pending JPH07222015A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP6030876A JPH07222015A (en) 1994-02-02 1994-02-02 Color image processor
US08/359,145 US5828780A (en) 1993-12-21 1994-12-19 Image processing apparatus with improved color correction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6030876A JPH07222015A (en) 1994-02-02 1994-02-02 Color image processor

Publications (1)

Publication Number Publication Date
JPH07222015A true JPH07222015A (en) 1995-08-18

Family

ID=12315944

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6030876A Pending JPH07222015A (en) 1993-12-21 1994-02-02 Color image processor

Country Status (1)

Country Link
JP (1) JPH07222015A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7415612B2 (en) 2002-05-01 2008-08-19 Minolta Co., Ltd. Image encrypting method, and image decrypting method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7415612B2 (en) 2002-05-01 2008-08-19 Minolta Co., Ltd. Image encrypting method, and image decrypting method

Similar Documents

Publication Publication Date Title
US5828780A (en) Image processing apparatus with improved color correction
JP3359116B2 (en) Image processing method and apparatus
JPH07226852A (en) Method and apparatus for color correction
JPH089172A (en) Color image processing unit
JP4009812B2 (en) Image processing apparatus, computer-readable storage medium, and image processing method
US20010035989A1 (en) Method, apparatus and recording medium for color correction
JP3083067B2 (en) Method and apparatus for determining color conversion coefficient
JPH09270927A (en) Image processing method and image processor
US7333136B2 (en) Image processing apparatus for carrying out tone conversion processing and color correction processing using a three-dimensional look-up table
JPH0974494A (en) Color reproduction area correction method, color reproduction area correction device and recording medium
CN112712475B (en) Image color difference compensation method and device, electronic equipment and storage medium
CN101184149B (en) Color processing apparatus and method
JPH07203234A (en) Color picture converter
US20060209325A1 (en) Image processing method, image processing apparatus and storage medium storing a program
JP4961962B2 (en) Color processing apparatus and program
JP4002006B2 (en) Color calibration apparatus, color calibration method, and recording medium recording color calibration program
JPH1079865A (en) Processor and method for image processing, and device and method for generating color reproduction information
US8368962B2 (en) Color look up table adjusting apparatus, recording medium on which a color look up table adjusting program is recorded and color look up table adjusting system
US6424352B1 (en) Generating input profile data
JP4618683B2 (en) Image processing apparatus, gamut correction method, image processing method, program, and recording medium
JPH07222015A (en) Color image processor
JPH0795427A (en) Method and device for picture processing
JP2005269443A (en) Method and apparatus for image processing, program and recording medium
JPH0946529A (en) Image processing unit and method
JP2004056574A (en) Image processor, image processing method and storage medium