JP2002027266A - Image processing system and image processing method and recording medium - Google Patents

Image processing system and image processing method and recording medium

Info

Publication number
JP2002027266A
JP2002027266A JP2000206852A JP2000206852A JP2002027266A JP 2002027266 A JP2002027266 A JP 2002027266A JP 2000206852 A JP2000206852 A JP 2000206852A JP 2000206852 A JP2000206852 A JP 2000206852A JP 2002027266 A JP2002027266 A JP 2002027266A
Authority
JP
Japan
Prior art keywords
image
color
image data
correction
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2000206852A
Other languages
Japanese (ja)
Other versions
JP4150490B2 (en
Inventor
Toshio Shirasawa
寿夫 白沢
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 JP2000206852A priority Critical patent/JP4150490B2/en
Publication of JP2002027266A publication Critical patent/JP2002027266A/en
Application granted granted Critical
Publication of JP4150490B2 publication Critical patent/JP4150490B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Color Image Communication Systems (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To control color tone correction by making a decision whether an image requires color tone correction or not when writing data is received and an image is displayed or printed. SOLUTION: The image processing system has a function for receiving writing data containing RGB image data, for correcting the color tone of the RGB image data contained in the writing data, and for delivering corrected data to an image output unit. The system comprises a writing data analyzing means 202 for extracting the color space characteristics information of the RGB image data from the writing data, a section 303 for determining the correcting content of the RGB image data using a specified feature quantity calculated from he RGB image data, and color converting means (304, 305) wherein the color converting means (304, 305) performs color tone correction of the RGB image data according to a correcting content determined at the correction content determining section 303 only when the color space characteristics information of the RGB image data can not be extracted by the writing data analyzing means 202.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像処理システム
および画像処理方法および記録媒体に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an image processing system, an image processing method, and a recording medium.

【0002】[0002]

【従来の技術】ホストコンピュータを中心とするマルチ
メディアシステムにおいては、入力装置と出力装置の間
で、画像データの色合わせ処理を行うカラーマッチング
システム(CMS)が開発されている。
2. Description of the Related Art In a multimedia system centered on a host computer, a color matching system (CMS) for performing color matching processing of image data between an input device and an output device has been developed.

【0003】代表的なCMSの枠組であるApple社
のColorSync(TM)は、入力装置に依存する
色空間(Device Dependent Color Space)の画像信号
を、装置に依存しない色空間(Device Independent Col
or Space)へ変換し、さらに、装置に依存しない色空間
の画像信号を、出力装置に依存する色空間へ変換するこ
とで、システム上で共通のCMSを実現している。
[0003] A color sync (TM) of Apple Inc., which is a typical CMS framework, converts an image signal of a color space (Device Dependent Color Space) dependent on an input device into a device independent color space (Device Independent Col- umn).
or Space), and further converts an image signal in a device-independent color space into a color space that depends on an output device, thereby realizing a common CMS on the system.

【0004】この変換処理のための変換特性を表すデー
タはプロファイルと呼ばれ、デバイスごとにホストコン
ピュータ内に用意され、変換の際に自動もしくは手動で
選ばれたプロファイルの変換特性に応じて画像信号の色
空間が変換される。
[0004] Data representing conversion characteristics for this conversion process is called a profile, which is prepared in a host computer for each device, and an image signal is automatically or manually selected at the time of conversion according to the conversion characteristics of the profile. Is converted.

【0005】上記カラーマッチングシステムでは、装置
に依存しない色空間を介して入力信号を出力信号に色変
換するため測色的に一致した色再現を行うことができ
る。
In the above-described color matching system, since the input signal is color-converted into the output signal via a device-independent color space, colorimetrically consistent color reproduction can be performed.

【0006】一方、インターネットやイントラネットの
普及に伴い、文書の共有化が進んでおり、リモートコン
ピュータ上でも正確に色を把握できるようにしたいとの
要望も高まっている。そこで、写真画像データなどは、
予め補正してからドキュメントに添付するとともに、写
真画像の色管理情報を付加して保存,蓄積し、リモート
で閲覧する場合には、上述のCMSアーキテクチャを利
用してリモートコンピュータのモニタ特性に合わせて表
示するというような機能が一部のアプリケーションなど
で提供され始めている。
[0006] On the other hand, with the spread of the Internet and intranets, documents are being shared, and there is an increasing demand to be able to accurately grasp colors even on a remote computer. Therefore, photographic image data, etc.
When the image is corrected beforehand and attached to the document, saved and stored with the color management information of the photographic image added, and viewed remotely, the CMS architecture described above is used to match the monitor characteristics of the remote computer. Functions such as displaying are beginning to be provided in some applications.

【0007】このように、正確な色再現へのプラットフ
ォームが整う一方で、スキャナやデジタルカメラなどが
普及するに伴い、デジタルの写真画像データが急速に広
まっている。こうした写真画像データをプリントアウト
する場合には、正確な色再現よりもむしろ露出不足や逆
光状態の画像に対しては、デジタル画像の特性を活かし
て好みに応じた色修正を施して再現したいという要求も
増えている。
As described above, while a platform for accurate color reproduction is prepared, digital photographic image data is rapidly spreading with the spread of scanners and digital cameras. When printing out such photographic image data, he would like to make use of the characteristics of digital images to make color corrections according to his liking for images that are underexposed or backlit rather than accurately reproducing colors. The demand is increasing.

【0008】そこで、特開平10−208034号で
は、RGB画像データを解析して色調補正を行い、プリ
ンタ・ドライバを通してプリンタに出力したり、ディス
プレイ・ドライバを通してディスプレイ画面に表示した
りするようにしている。ここで、色調補正としては、R
GB画像データの輝度分布を求め、その標準偏差に基づ
いて、変換元の輝度と変換先の輝度との対応関係を正比
例状態から適度にS字状に歪めた状態に変更することに
より、コントラストを自動補正する処理が提案されてい
るまた、輝度分布の状態を基に、二値画像の判定やビジ
ネスグラフなどを判定することにより、コントラストの
補正処理を行わないようにするなどの工夫も行われてい
る。
Therefore, Japanese Patent Application Laid-Open No. Hei 10-208034 analyzes RGB image data to perform color tone correction, and outputs the image data to a printer through a printer driver or displays the image on a display screen through a display driver. . Here, as the color tone correction, R
The luminance distribution of the GB image data is obtained, and the contrast between the luminance of the conversion source and the luminance of the conversion destination is changed from a direct proportional state to a state in which the luminance is appropriately distorted into an S-shape based on the standard deviation, thereby to improve the contrast. A process for automatic correction has been proposed. In addition, a device such as a binary image determination or a business graph is determined based on the state of the luminance distribution so that the contrast correction process is not performed. ing.

【0009】このような従来の自動画像修正処理では、
露出アンダー/露出オーバー/色バランスが崩れたデジ
タルカメラの画像やスキャナ画像を自動的に色調を整え
て出力できるという効果を発揮する。
In such conventional automatic image correction processing,
An effect of automatically adjusting the color tone and outputting an image of a digital camera or a scanner image with underexposure / overexposure / color balance being lost is exhibited.

【0010】[0010]

【発明が解決しようとする課題】しかしながら、特開平
10−208034号の技術では、RGB画像データだ
けからプリンタ側で自動的に色調補正が必要か否かを判
断して、補正が必要な場合に補正内容を決定してしまう
ために、補正済みのデータであっても、プリンタ出力時
に再度補正処理がなされてしまうという問題があった。
However, according to the technique disclosed in Japanese Patent Application Laid-Open No. Hei 10-208034, the printer automatically determines whether or not color tone correction is necessary based on only RGB image data. Since the correction content is determined, there is a problem that even if the data has been corrected, the correction process is performed again at the time of output to the printer.

【0011】このように、RGB画像データだけからど
のような色修正を施すべきかを判断しようとした場合、
判断が困難になってしまい、元来補正する必要がないR
GB画像データも補正してしまう危険性が高くなってし
まう。
As described above, when an attempt is made to determine what color correction should be performed only from the RGB image data,
Judgment becomes difficult, and R which does not need to be corrected originally
The risk of correcting the GB image data increases.

【0012】例えば、色管理を余り意識しないインター
ネット入門者の場合には、画像入力装置で取り込んだ画
像をそのまま公開することが多いが、ウェブ・ブラウザ
上での色の見えが重要視される企業広告や商品画像など
では、見栄えをよくするための修正を行ってから公開す
ることが多い。
For example, in the case of an Internet novice who is not so conscious of color management, an image captured by an image input device is often disclosed as it is, but a company in which the appearance of colors on a web browser is regarded as important. Advertisements and product images are often published after they have been modified for better appearance.

【0013】しかし、これらの画像情報を閲覧するリモ
ート・ユーザーが用いるモニタ特性は種種様々であるこ
とから、このような色の見えが重視される場面において
は、ドキュメント内の描画オブジェクトに対するRGB
特性を指定するのが一般的である。このようにしておく
ことにより、色管理情報が付加されているようなドキュ
メントを閲覧する場合、カラー・マネージメントの仕組
みを利用して表示することで正確な表示が可能となる。
However, since the monitor characteristics used by the remote user who browses the image information are various, in such a case where the color appearance is important, the RGB for the drawing object in the document is used.
It is common to specify properties. By doing so, when browsing a document to which color management information has been added, accurate display is possible by displaying the document using a color management mechanism.

【0014】本発明は、描画データを受け取って画像の
表示や印刷を行う際に、色調補正が必要な画像か否かを
判断して色調補正処理を制御することが可能な画像処理
システムおよび画像処理方法および記録媒体を提供する
ことを目的としている。
The present invention relates to an image processing system and an image processing system capable of determining whether or not an image requires color tone correction and controlling color tone correction processing when displaying and printing an image upon receiving drawing data. It is an object to provide a processing method and a recording medium.

【0015】[0015]

【課題を解決するための手段】上記目的を達成するため
に、請求項1記載の発明は、RGB画像データを含む描
画データを受け取り、描画データに含まれているRGB
画像データの色調を補正して画像出力装置に出力する機
能を備えた画像処理システムにおいて、前記描画データ
からRGB画像データの色空間特性情報を抽出する描画
データ解析手段と、前記RGB画像データから所定の特
徴量を求める特徴量算出手段と、特徴量算出手段で算出
された特徴量を用いて前記RGB画像データの補正内容
を決定する補正内容決定手段と、色変換処理手段とを具
備し、前記色変換処理手段は、描画データ解析手段にお
いて前記RGB画像データの色空間特性情報を抽出でき
ない場合にのみ、前記補正内容決定手段によって決定さ
れた補正内容でRGB画像データの色調補正処理を行う
ことを特徴としている。
According to a first aspect of the present invention, there is provided a method for receiving drawing data including RGB image data and receiving RGB data included in the drawing data.
In an image processing system having a function of correcting a color tone of image data and outputting the corrected image data to an image output device, a drawing data analysis unit for extracting color space characteristic information of RGB image data from the drawing data, A correction amount determining unit that determines the correction content of the RGB image data using the characteristic amount calculated by the characteristic amount calculation unit; and a color conversion processing unit. The color conversion processing means performs the color tone correction processing of the RGB image data with the correction content determined by the correction content determination means only when the drawing data analysis means cannot extract the color space characteristic information of the RGB image data. Features.

【0016】また、請求項2記載の発明は、請求項1記
載の画像処理システムにおいて、前記色変換処理手段
は、前記描画データ解析手段によってRGB画像データ
の色空間特性を抽出できる場合には、RGB画像データ
の色空間特性と画像出力装置の色空間特性とを用いて測
色値が一致するように色変換処理を行うことを特徴とし
ている。
According to a second aspect of the present invention, in the image processing system according to the first aspect, the color conversion processing means includes a step of extracting the color space characteristics of the RGB image data by the drawing data analysis means. The color conversion processing is performed using the color space characteristics of the RGB image data and the color space characteristics of the image output device so that the colorimetric values match.

【0017】また、請求項3記載の発明は、RGB画像
データを含む描画データを受け取り、描画データに含ま
れているRGB画像データの色調を補正して画像出力装
置に出力する機能を備えた画像処理システムにおいて、
前記描画データからRGB画像データの色空間特性情報
を抽出する描画データ解析手段と、前記RGB画像デー
タから所定の特徴量を求める特徴量算出手段と、特徴量
算出手段で算出された特徴量を用いて前記RGB画像デ
ータに対する複数種類の補正内容を決定する補正内容決
定手段と、色変換処理手段とを具備し、前記色変換処理
手段は、描画データ解析手段においてRGB画像データ
の色空間特性情報を抽出できる場合とRGB画像データ
の色空間特性情報を抽出できない場合とで、複数種類の
補正内容のうち、互いに異なる補正内容を選択して異な
る色調補正処理をRGB画像データに対して行なうこと
を特徴としている。
According to a third aspect of the present invention, there is provided an image having a function of receiving drawing data including RGB image data, correcting the color tone of the RGB image data included in the drawing data, and outputting the corrected tone to an image output device. In the processing system,
A drawing data analysis unit that extracts color space characteristic information of RGB image data from the drawing data; a feature calculation unit that obtains a predetermined feature from the RGB image data; and a feature calculated by the feature calculation unit. And a color conversion processing means for determining a plurality of types of correction contents for the RGB image data, and the color conversion processing means uses a drawing data analysis means to convert color space characteristic information of the RGB image data. When the color space characteristic information of the RGB image data cannot be extracted and when the color space characteristic information of the RGB image data cannot be extracted, different correction contents are selected from among a plurality of types of correction contents, and different color tone correction processes are performed on the RGB image data. And

【0018】また、請求項4記載の発明は、請求項1ま
たは請求項3記載の画像処理システムにおいて、前記色
変換処理手段は、少なくとも画像データのダイナミック
レンジ,トーンカーブ,色バランスのいずれかを補正す
る色調補正処理を行なうようになっていることを特徴と
している。
According to a fourth aspect of the present invention, in the image processing system of the first or third aspect, the color conversion processing means determines at least one of a dynamic range, a tone curve, and a color balance of the image data. It is characterized in that color tone correction processing for correction is performed.

【0019】また、請求項5記載の発明は、請求項3記
載の画像処理システムにおいて、前記描画データ解析手
段においてRGB画像データの色空間特性を抽出できる
場合には、RGB画像データの色空間特性を抽出できな
い場合に比べて、補正内容として、補正対象とする画像
の種類を限定することを特徴としている。
According to a fifth aspect of the present invention, in the image processing system of the third aspect, if the color space characteristics of the RGB image data can be extracted by the drawing data analyzing means, the color space characteristics of the RGB image data can be extracted. Is characterized in that the type of image to be corrected is limited as the content of the correction as compared with the case where the image cannot be extracted.

【0020】また、請求項6記載の発明は、請求項3記
載の画像処理システムにおいて、前記描画データ解析手
段においてRGB画像データの色空間特性を抽出できる
場合には、RGB画像データの色空間特性を抽出できな
い場合に比べて、補正内容として、補正対象とする特徴
量の判定基準を限定することを特徴としている。
According to a sixth aspect of the present invention, in the image processing system according to the third aspect, when the color space characteristics of the RGB image data can be extracted by the drawing data analysis means, the color space characteristics of the RGB image data can be extracted. Is characterized in that the criterion for determining the feature amount to be corrected is limited as the content of correction, as compared with the case where it cannot be extracted.

【0021】また、請求項7記載の発明は、請求項3記
載の画像処理システムにおいて、前記描画データ解析手
段においてRGB画像データの色空間特性を抽出できな
い場合には、画像データを用いて被写体の明るさを判定
して補正内容を決定し、該補正内容でRGB画像データ
の色調補正処理を行ない、RGB画像データの色空間特
性を抽出できる場合には、画像全体の明るさを判定して
補正内容を決定し、該補正内容でRGB画像データの色
調補正処理を行なうことを特徴としている。
According to a seventh aspect of the present invention, in the image processing system according to the third aspect, when the color space characteristics of the RGB image data cannot be extracted by the drawing data analysis means, the image data is used to detect the subject. The brightness is determined to determine the content of the correction, and the color content of the RGB image data can be extracted by performing the color tone correction process on the RGB image data with the content of the correction. It is characterized in that the content is determined, and the color tone correction processing of the RGB image data is performed with the correction content.

【0022】また、請求項8記載の発明は、RGB画像
データを含む描画データを受け取り、RGB画像データ
の色調を補正して画像出力装置に出力する画像処理方法
において、前記描画データにRGB画像データの色空間
特性情報が含まれているか否かを判別し、色空間特性情
報が含まれていない場合には、前記RGB画像データか
ら所定の特徴量を求め、該所定の特徴量を用いてRGB
画像データの色調補正を行うことを特徴としている。
According to an eighth aspect of the present invention, there is provided an image processing method for receiving drawing data including RGB image data, correcting the color tone of the RGB image data, and outputting the corrected data to an image output device. It is determined whether or not the color space characteristic information is included. If the color space characteristic information is not included, a predetermined characteristic amount is obtained from the RGB image data, and RGB is determined using the predetermined characteristic amount.
It is characterized in that color tone correction of image data is performed.

【0023】また、請求項9記載の発明は、RGB画像
データを含む描画データを受け取り、RGB画像データ
の色調を補正して画像出力装置に出力する画像処理方法
において、前記描画データにRGB画像データの色空間
特性情報が含まれているか否かを判別し、色空間特性情
報が含まれている場合には、色空間特性情報が含まれて
いない場合に比べて、補正範囲が限定された色調補正を
行うことを特徴としている。
According to a ninth aspect of the present invention, there is provided an image processing method for receiving drawing data including RGB image data, correcting the color tone of the RGB image data, and outputting the corrected image data to an image output device. It is determined whether or not the color space characteristic information is included. If the color space characteristic information is included, the color tone having a limited correction range is compared with the case where the color space characteristic information is not included. The correction is performed.

【0024】また、請求項10記載の発明は、RGB画
像データを含む描画データを受け取り、RGB画像デー
タの色調を補正して画像出力装置に出力する際に、前記
描画データにRGB画像データの色空間特性情報が含ま
れているか否かを判別し、色空間特性情報が含まれてい
ない場合には、前記RGB画像データから所定の特徴量
を求め、該所定の特徴量を用いてRGB画像データの色
調補正を行う処理をコンピュータに実行させるプログラ
ムを記録したコンピュータ読み取り可能な記録媒体であ
る。
According to a tenth aspect of the present invention, when drawing data including RGB image data is received, the color tone of the RGB image data is corrected and output to an image output device, the color of the RGB image data is added to the drawing data. It is determined whether or not the space characteristic information is included. If the color space characteristic information is not included, a predetermined characteristic amount is obtained from the RGB image data, and the RGB image data is obtained using the predetermined characteristic amount. Is a computer-readable recording medium on which a program for causing a computer to execute the color tone correction processing is recorded.

【0025】また、請求項11記載の発明は、RGB画
像データを含む描画データを受け取り、RGB画像デー
タの色調を補正して画像出力装置に出力する際に、前記
描画データにRGB画像データの色空間特性情報が含ま
れているか否かを判別し、色空間特性情報が含まれてい
る場合には、色空間特性情報が含まれていない場合に比
べて、補正範囲が限定された色調補正を行う処理をコン
ピュータに実行させるプログラムを記録したコンピュー
タ読み取り可能な記録媒体である。
According to the eleventh aspect of the present invention, when drawing data including RGB image data is received, the color tone of the RGB image data is corrected and output to an image output device, the drawing data includes the color of the RGB image data. It is determined whether or not the space characteristic information is included, and when the color space characteristic information is included, the color tone correction with a limited correction range is performed as compared with the case where the color space characteristic information is not included. This is a computer-readable recording medium on which a program for causing a computer to execute a process to be performed is recorded.

【0026】また、請求項12記載の発明は、RGB画
像データを含む描画データを受け取り、描画データに含
まれているRGB画像データの色調を補正して画像出力
装置に出力する機能を備えた画像処理システムにおい
て、RGB画像データを生成した画像生成装置の種類を
前記描画データから検出する描画データ解析手段と、R
GB画像データから所定の特徴量を求める特徴量算出手
段と、特徴量算出手段で算出された特徴量を用いて前記
RGB画像データの補正内容を決定する補正内容決定手
段と、色変換処理手段とを具備し、前記色変換処理手段
は、描画データ解析手段によって検出された画像生成装
置の種類に応じて、補正内容決定手段によって決定され
た補正内容でRGB画像データの色調補正処理を行なう
か否かを切り替えるようになっていることを特徴として
いる。
According to a twelfth aspect of the present invention, an image having a function of receiving drawing data including RGB image data, correcting the color tone of the RGB image data included in the drawing data, and outputting the corrected tone to an image output device. A drawing data analysis unit for detecting, from the drawing data, a type of the image generating apparatus that has generated the RGB image data;
A feature amount calculating unit for obtaining a predetermined feature amount from the GB image data, a correction content determining unit for determining the correction content of the RGB image data using the feature amount calculated by the feature amount calculating unit, a color conversion processing unit, Wherein the color conversion processing means performs color tone correction processing of the RGB image data with the correction content determined by the correction content determination means in accordance with the type of the image generation device detected by the drawing data analysis means. It is characterized by the fact that it is designed to be switched.

【0027】また、請求項13記載の発明は、請求項1
2記載の画像処理システムにおいて、前記画像生成装置
が画像表示装置である場合には、前記色変換処理手段
は、色調補正処理を行なわず、画像表示装置の色空間特
性と画像出力装置の色空間特性とを用いて測色値が一致
するように色変換処理を行うことを特徴としている。
The invention according to claim 13 is the first invention.
3. In the image processing system according to item 2, when the image generation device is an image display device, the color conversion processing unit does not perform color tone correction processing, and performs color space characteristics of the image display device and color space of the image output device. The color conversion processing is performed so that the colorimetric values match using the characteristic.

【0028】また、請求項14記載の発明は、請求項1
2記載の画像処理システムにおいて、前記画像生成装置
が画像入力装置である場合には、前記色変換処理手段
は、補正内容決定手段によって決定された補正内容に従
い、少なくとも画像データのダイナミックレンジ,トー
ンカーブ,色バランスのいずれかを補正する色調補正処
理を行なうようになっていることを特徴としている。
The invention according to claim 14 is the first invention.
3. In the image processing system according to item 2, when the image generation device is an image input device, the color conversion processing unit determines at least a dynamic range and a tone curve of the image data according to the correction content determined by the correction content determination unit. , Color tone correction processing for correcting any of the color balance.

【0029】また、請求項15記載の発明は、請求項1
2記載の画像処理システムにおいて、前記画像生成装置
が判別できない場合には、前記色変換処理手段は、補正
内容決定手段によって決定された補正内容に従い、少な
くとも画像データのダイナミックレンジ,トーンカー
ブ,色バランスのいずれかを補正する色調補正処理を行
なうようになっていることを特徴としている。
[0029] The invention according to claim 15 provides the invention according to claim 1.
3. In the image processing system according to item 2, when the image generation device cannot be determined, the color conversion processing unit determines at least a dynamic range, a tone curve, and a color balance of image data according to the correction content determined by the correction content determination unit. Is characterized in that color tone correction processing for correcting any of the above is performed.

【0030】また、請求項16記載の発明は、請求項1
2記載の画像処理システムにおいて、前記画像生成装置
が定義されていない場合には、前記画像生成装置が画像
入力装置である場合に比べて、補正対象とする画像の種
類を限定して色調補正処理を行なうことを特徴としてい
る。
[0030] Further, the invention according to claim 16 is based on claim 1.
3. In the image processing system according to item 2, when the image generation device is not defined, the type of image to be corrected is limited and color tone correction processing is performed as compared with the case where the image generation device is an image input device. It is characterized by performing.

【0031】また、請求項17記載の発明は、請求項1
2記載の画像処理システムにおいて、前記画像生成装置
が定義されていない場合には、前記画像生成装置が画像
入力装置である場合に比べて、補正対象とする特徴量の
基準を限定して色調補正処理を行なうことを特徴として
いる。
Further, the invention according to claim 17 is based on claim 1
3. In the image processing system according to item 2, when the image generation device is not defined, color tone correction is performed by limiting a reference of a feature amount to be corrected, as compared with a case where the image generation device is an image input device. Processing is performed.

【0032】また、請求項18記載の発明は、RGB画
像データを含む描画データを受け取り、RGB画像デー
タの色調を補正して画像出力装置に出力する画像処理方
法において、RGB画像データを生成した画像生成装置
の種類を前記描画データから読み取り、読み取った画像
生成装置の種類に応じて、RGB画像データの色調を補
正するか否かを切り替えることを特徴としている。
In the image processing method for receiving drawing data including RGB image data, correcting the color tone of the RGB image data, and outputting the corrected RGB image data to an image output device, the image processing apparatus according to the present invention preferably generates an image in which RGB image data is generated. It is characterized in that the type of the generating device is read from the drawing data, and whether to correct the color tone of the RGB image data is switched according to the type of the read image generating device.

【0033】また、請求項19記載の発明は、請求項1
8記載の画像処理方法において、画像生成装置の種類が
画像表示装置であるときにはRGB画像データの色調補
正処理を行なわず、画像生成装置の種類が画像入力装置
かあるいは不明であるときにはRGB画像データの色調
補正処理を行なうことを特徴としている。
Further, the invention according to claim 19 is based on claim 1
8. In the image processing method according to 8, the color tone correction process of the RGB image data is not performed when the type of the image generating device is the image display device, and the RGB image data is not processed when the type of the image generating device is the image input device or unknown. It is characterized in that color tone correction processing is performed.

【0034】また、請求項20記載の発明は、請求項1
9記載の画像処理方法において、画像生成装置の種類が
画像入力装置である場合と不明である場合とで、異なる
色調補正処理を行なうことを特徴としている。
The invention according to claim 20 is the first invention.
9. The image processing method according to item 9, wherein different color tone correction processes are performed depending on whether the type of the image generating device is an image input device or unknown.

【0035】また、請求項21記載の発明は、RGB画
像データを生成した画像生成装置の種類を前記描画デー
タから読み取り、読み取った画像生成装置の種類に応じ
て、RGB画像データの色調を補正するか否かを切り替
える処理をコンピュータに実行させるプログラムを記録
したコンピュータ読み取り可能な記録媒体である。
According to a twenty-first aspect of the present invention, the type of the image generating device that has generated the RGB image data is read from the drawing data, and the color tone of the RGB image data is corrected according to the type of the read image generating device. It is a computer-readable recording medium on which a program for causing a computer to execute a process of switching whether or not to execute is recorded.

【0036】[0036]

【発明の実施の形態】以下、本発明の実施形態を図面に
基づいて説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0037】図1は本発明に係る画像処理システムの一
例を示す図である。図1の例では、画像処理システム
は、ディスプレイ100と、デジタルカメラ101と、
スキャナ102と、コンピュータ103と、画像出力装
置104と、画像処理装置200とを有している。
FIG. 1 is a diagram showing an example of an image processing system according to the present invention. In the example of FIG. 1, the image processing system includes a display 100, a digital camera 101,
It has a scanner 102, a computer 103, an image output device 104, and an image processing device 200.

【0038】ここで、コンピュータ103には、各種の
色修正アプリケーションやプリンタドライバ等のソフト
ウエアを実装可能となっている。また、デジタルカメラ
101,スキャナ102は、処理される画像データを取
り込むための入力装置である。また、ディスプレイ10
0は、画像データを表示するための出力装置であり、画
像出力装置104は、画像データをプリントアウトした
りするための出力装置である。なお、画像出力装置10
4としては、カラープリンタやカラーコピー機やカラー
ファクシミリ機を用いることができる。
Here, software such as various color correction applications and printer drivers can be mounted on the computer 103. The digital camera 101 and the scanner 102 are input devices for capturing image data to be processed. The display 10
Reference numeral 0 denotes an output device for displaying image data, and the image output device 104 is an output device for printing out image data. The image output device 10
As 4, a color printer, a color copier or a color facsimile machine can be used.

【0039】図2は、図1の画像処理システムにおける
コンピュータ103および画像処理装置200の処理機
能を説明するための図である。図2を参照すると、コン
ピュータ103は、画像処理装置200をコントロール
する機能を有しており、コンピュータ103は、オペレ
ータから出力命令を受け取ると画像を撮像するなどして
取り込まれた画像データや画像データが貼り付けられた
文書データなどを一連の描画データに変換して、画像処
理装置200に送信するようになっている。
FIG. 2 is a diagram for explaining the processing functions of the computer 103 and the image processing device 200 in the image processing system of FIG. Referring to FIG. 2, the computer 103 has a function of controlling the image processing apparatus 200. When the computer 103 receives an output command from an operator, the computer 103 captures image data or image data. Is converted into a series of drawing data and transmitted to the image processing apparatus 200.

【0040】また、画像処理装置200は、コンピュー
タ103から送られた描画データを蓄積するバッファメ
モリ201と、バッファメモリ201から描画データを
読み出し、描画データの属性(グラフィックスの描画デ
ータ,イメージの描画データ,テキストの描画データの
別)を解釈する描画データ解析手段202と、描画デー
タがグラフィックスの場合、グラフィックス用の画像処
理を行なうグラフィックス用画像処理手段203と、描
画データがイメージの場合、イメージ用の画像処理を行
なうイメージ用画像処理手段204と、描画データがテ
キストの場合、テキスト用の画像処理を行なうテキスト
用画像処理手段205と、グラフィックス用画像処理手
段203,イメージ用画像処理手段204,テキスト用
画像処理手段205のいずれかの画像処理手段によって
画像処理が施されたデータからラスタイメージ(ラスタ
データ)を生成するラスタイメージ生成手段206と、
ラスタデータを画像出力装置104が解釈可能なデータ
(送信データ(例えば印刷データ))に変換する送信デ
ータ生成手段207とを有している。
The image processing apparatus 200 also stores a drawing data sent from the computer 103 in a buffer memory 201, reads out the drawing data from the buffer memory 201, and stores the drawing data attributes (graphics drawing data, image drawing data). Drawing data analysis means 202 for interpreting data and text drawing data); graphics image processing means 203 for performing graphics image processing when the drawing data is graphics; and graphics data processing means 203 for performing graphics image processing. Image processing means 204 for performing image processing for images, text image processing means 205 for performing image processing for text when the drawing data is text, image processing means for graphics 203, image processing for image Means 204, text image processing means 20 From data subjected to image processing and raster image generating means 206 for generating a raster image (raster data) by any of the image processing means,
A transmission data generation unit 207 that converts the raster data into data (transmission data (for example, print data)) that can be interpreted by the image output device 104.

【0041】図2の構成例では、画像処理装置200
は、コンピュータ103から送信された描画データを一
旦バッファメモリ201に蓄積した後、画像出力装置1
04が解釈可能なデータに変換する。
In the configuration example shown in FIG.
After the drawing data transmitted from the computer 103 is temporarily stored in the buffer memory 201, the image output device 1
04 is converted to interpretable data.

【0042】画像出力装置104が解釈可能なデータへ
の変換処理の一例としては、まず描画データ解析手段2
02がバッファメモリ201から描画データを読み出
し、描画データの属性を解釈しながら各種画像処理手段
へデータを送信する。例えば、グラフィックスの描画の
場合には、グラフィックス用画像処理手段203へ描画
コマンドを送り、またイメージを描画する場合には、イ
メージ用画像処理手段204へ描画コマンドを送る。こ
のようして各種画像処理手段で適切な画像処理が施され
たデータは、ラスタイメージ生成手段206において、
1プレーンのラスタデータに集約された後、送信データ
生成手段207において画像出力装置104との通信に
必要な情報を付加して最終的な画像出力装置104用の
データを生成する。
As an example of the conversion process to data that can be interpreted by the image output device 104, first, the drawing data analysis unit 2
02 reads out the drawing data from the buffer memory 201 and transmits the data to various image processing means while interpreting the attributes of the drawing data. For example, in the case of drawing graphics, a drawing command is sent to the graphics image processing means 203, and in the case of drawing an image, a drawing command is sent to the image processing means 204. The data subjected to appropriate image processing by the various image processing means in this way is output to the raster image generation means 206 by the raster image generation means 206.
After being aggregated into one plane of raster data, the transmission data generation unit 207 adds information necessary for communication with the image output device 104 to generate final data for the image output device 104.

【0043】第1の実施形態 図3は本発明の第1の実施形態における描画データ解析
手段202,イメージ用画像処理手段204の構成例を
示す図である。図3を参照すると、イメージ用画像処理
手段204には、描画データに含まれる画像データを分
析して所定の特徴量を算出する特徴量算出部302と、
特徴量算出部302で算出された特徴量に基づいてどの
ような色調補正を行うかを判定する(色調補正の内容を
決定する)補正内容決定部303と、補正内容決定部3
03で決定された色調補正内容を実現するための色変換
パラメータを設定する色変換パラメータ設定部304
と、色変換パラメータ設定部304によって設定された
色変換パラメータに基づいて画像データに対して色変換
処理を施す色変換処理部305とが設けられている。
First Embodiment FIG. 3 is a diagram showing a configuration example of a drawing data analyzing means 202 and an image image processing means 204 according to a first embodiment of the present invention. Referring to FIG. 3, the image processing unit for image 204 includes a feature amount calculation unit 302 that analyzes image data included in the drawing data and calculates a predetermined feature amount.
A correction content determination unit 303 that determines what kind of color correction is to be performed based on the feature value calculated by the feature value calculation unit 302 (determines the content of the color correction), and a correction content determination unit 3
A color conversion parameter setting unit 304 for setting a color conversion parameter for realizing the color correction content determined in step 03
And a color conversion processing unit 305 that performs a color conversion process on image data based on the color conversion parameters set by the color conversion parameter setting unit 304.

【0044】すなわち、イメージ用画像処理手段204
は、少なくとも画像データの特徴を分析して、適切な色
調補正を行うための色変換パラメータを生成する機能を
備えている。
That is, image processing means for image 204
Has a function of analyzing at least the characteristics of image data and generating a color conversion parameter for performing appropriate color tone correction.

【0045】なお、このイメージ用画像処理手段204
に入力される画像データは、より具体的にはRGB
(緑、青、赤)の階調データとなっており、また、画像
フォーマットはビットマップ形式で構成されている。ま
た、各色成分の階調数は8bit=256階調が一般的で
あるが、64或いは512など他の階調数でも良い。
Incidentally, the image processing means for image 204
The image data input to the
(Green, blue, red) gradation data, and the image format is a bitmap format. Although the number of gradations of each color component is generally 8 bits = 256 gradations, another gradation number such as 64 or 512 may be used.

【0046】また、イメージ用画像処理手段204に
は、画像出力装置104が出力可能なデータに変換する
ためのハーフトーン変換手段や解像度を変換する解像度
変換手段などが設けられていても良い。
The image processing means for image 204 may be provided with a halftone conversion means for converting the data into data that can be output by the image output device 104, a resolution conversion means for converting the resolution, and the like.

【0047】ところで、本発明の第1の実施形態では、
描画データ解析手段202は、描画データからRGB画
像データの色空間特性情報を抽出する色空間特性抽出手
段としても機能し、色変換パラメータ設定部304は、
描画データ解析手段202によって得られるRGB色空
間特性情報(画像データのヘッダ情報(例えば、プロフ
ァイル情報))の検出結果に基づいて、色変換処理に用
いる色変換パラメータを制御するようになっている。
By the way, in the first embodiment of the present invention,
The drawing data analysis unit 202 also functions as a color space characteristic extraction unit that extracts color space characteristic information of RGB image data from the drawing data, and the color conversion parameter setting unit 304
A color conversion parameter used for color conversion processing is controlled based on a detection result of RGB color space characteristic information (header information (for example, profile information) of image data) obtained by the drawing data analysis unit 202.

【0048】換言すれば、本発明の第1の実施形態で
は、色変換パラメータ設定部304,色変換処理部30
5は、描画データ解析手段202においてRGB画像デ
ータの色空間特性情報を抽出できない場合にのみ、補正
内容決定部303によって決定された補正内容でRGB
画像データの色調補正処理を行うようになっている。
In other words, in the first embodiment of the present invention, the color conversion parameter setting unit 304 and the color conversion processing unit 30
Reference numeral 5 denotes the RGB content of the correction determined by the correction content determining unit 303 only when the drawing data analysis unit 202 cannot extract the color space characteristic information of the RGB image data.
The color tone correction processing of the image data is performed.

【0049】なお、本発明において、色空間特性情報と
しては任意のものを使用できるが、ICC(Inter Col
or Consortium)プロファイルが色空間特性情報として
特に有名である。
In the present invention, any color space characteristic information can be used.
or Consortium) profile is particularly famous as color space characteristic information.

【0050】次に、本発明の第1の実施形態におけるイ
メージ用画像処理手段204の全体的な動作について説
明する。
Next, the overall operation of the image processing means 204 according to the first embodiment of the present invention will be described.

【0051】まず、描画データ解析手段202は、イメ
ージ描画データからRGB色空間特性情報の検出処理を
行なう。例えば、Windows(登録商標)システム
の画像データフォーマットであるビットマップ・フォー
マットでは、描画データにおいて画像データのヘッダ情
報の部分にRGB画像データの色空間特性を定義できる
ようになっている。従って、描画データにおいてヘッダ
情報の部分を検索した結果、ヘッダ情報の部分にRGB
色空間特性が記述されていれば、その記述に基づいて色
変換処理に用いる色変換パラメータを制御できる。
First, the drawing data analysis means 202 performs detection processing of RGB color space characteristic information from the image drawing data. For example, in a bitmap format, which is an image data format of the Windows (registered trademark) system, the color space characteristics of the RGB image data can be defined in the header information portion of the image data in the drawing data. Therefore, as a result of searching for the header information portion in the drawing data, the RGB
If the color space characteristics are described, the color conversion parameters used for the color conversion processing can be controlled based on the description.

【0052】描画データ解析手段202は、描画データ
からRGB色空間特性を検出した場合には、色空間特性
情報を色変換パラメータ設定部304に与える。一方、
描画データにRGB色空間情報が記述されていない場合
には、未定義であることを意味するコードを色変換パラ
メータ設定部304に与える。また、描画データ解析手
段202は、イメージ描画データ中の画像データの部分
をヘッダ情報の部分から分離して、特徴量算出部302
および色変換処理部305に与える。
When detecting the RGB color space characteristics from the drawing data, the drawing data analysis means 202 gives the color space characteristic information to the color conversion parameter setting section 304. on the other hand,
When the RGB color space information is not described in the drawing data, a code meaning undefined is given to the color conversion parameter setting unit 304. The drawing data analysis unit 202 separates the image data portion in the image drawing data from the header information portion, and
And a color conversion processing unit 305.

【0053】色変換処理部305は、カラー・マネージ
メントに対応した色変換装置であり、色変換処理部30
5では、入力デバイスの色空間特性情報および出力デバ
イスの色空間特性情報を使用して色変換処理を行なう。
The color conversion processing unit 305 is a color conversion device compatible with color management.
In step 5, color conversion processing is performed using the color space characteristic information of the input device and the color space characteristic information of the output device.

【0054】いま、描画データ解析手段202において
描画データからRGB色空間特性情報が検出された場合
には、色変換パラメータ設定部304は、検出された色
空間特性情報を色変換処理部305に入力色空間特性と
してそのまま与え、これにより、色変換処理部305で
は、検出された色空間特性情報を入力色空間特性とし、
画像出力装置104がプリンタの場合には、プリンタの
色空間特性情報を出力色空間特性として画像データの色
変換を実行する。
Now, when the drawing data analysis unit 202 detects the RGB color space characteristic information from the drawing data, the color conversion parameter setting unit 304 inputs the detected color space characteristic information to the color conversion processing unit 305. The color space characteristic is given as it is, whereby the color conversion processing unit 305 uses the detected color space characteristic information as the input color space characteristic,
When the image output device 104 is a printer, color conversion of image data is executed using the color space characteristic information of the printer as an output color space characteristic.

【0055】このように、描画データに色空間特性情報
が含まれる場合には、色調補正処理が行われず、色空間
特性情報に基づいた測色的一致に基づく色変換が行われ
ることになる。
As described above, when the drawing data includes the color space characteristic information, the color tone correction processing is not performed, and the color conversion based on the colorimetric matching based on the color space characteristic information is performed.

【0056】一方、描画データ解析手段202において
描画データからRBG色空間特性情報が検出されない場
合には、特徴量算出部302,補正内容決定部303を
動作させて色調補正を行うための色変換パラメータを生
成する。すなわち、まず、特徴量算出部302は、描画
データ解析手段202から画像データを受け取って色調
補正を行うための特徴量を算出し、補正内容決定部30
3へ送信する。補正内容決定部303では、特徴量算出
部302で求めた特徴量を基に画像データをどのように
補正するか決定する。ここで、補正内容の候補として
は、ダイナミックレンジ補正,トーンカーブ補正,色バ
ランス補正などがあるが、その他の方法であっても良
い。補正内容決定部303で補正内容が決まれば、色変
換パラメータ設定部304では、その補正内容を実現す
るような補正パラメータを生成する。更に、色変換パラ
メータ設定部304は、生成した補正パラメータと予め
定義されている(例えば、パラメータ記憶メモリ(図示
せず)に設定されている)デフォルト色変換パラメータ
とを組み合わせてRGB画像データを色変換するための
新たな色変換パラメータを生成し、生成した色変換パラ
メータを入力色空間特性として色変換処理部305に与
える。これにより、色変換処理部305では、色調補正
を行ない、色調補正を行った適切な画像を出力できる。
On the other hand, when the RBG color space characteristic information is not detected from the drawing data by the drawing data analysis means 202, the color conversion parameters for performing the color tone correction by operating the feature amount calculation unit 302 and the correction content determination unit 303. Generate That is, first, the feature amount calculation unit 302 receives the image data from the drawing data analysis unit 202, calculates the feature amount for performing the color tone correction, and sets the correction content determination unit 30
Send to 3. The correction content determination unit 303 determines how to correct the image data based on the feature amount calculated by the feature amount calculation unit 302. Here, examples of correction content candidates include dynamic range correction, tone curve correction, and color balance correction, but other methods may be used. When the correction content is determined by the correction content determination unit 303, the color conversion parameter setting unit 304 generates a correction parameter that realizes the correction content. Further, the color conversion parameter setting unit 304 combines the generated correction parameters with predefined default color conversion parameters (for example, set in a parameter storage memory (not shown)) to convert the RGB image data into colors. A new color conversion parameter for conversion is generated, and the generated color conversion parameter is provided to the color conversion processing unit 305 as an input color space characteristic. As a result, the color conversion processing unit 305 can perform color tone correction and output an appropriate color-corrected image.

【0057】なお、上記の色変換パラメータとしては、
トーン変換用のガンマ・テーブルであっても良いし、入
力RGB信号をXYZ信号などに変換するマトリックス
変換用パラメータ(例えばICCカラープロファイル)
などでも良い。
The above color conversion parameters include:
A gamma table for tone conversion may be used, or a matrix conversion parameter (for example, an ICC color profile) for converting an input RGB signal into an XYZ signal or the like.
And so on.

【0058】次に、色調の補正方法について説明する。
デジタルカメラ等を用いて撮影する際に自動露出や自動
ホワイトバランスが適切に動作しなかった場合に、デジ
タルカメラ等から画像データを送信して画像表示装置や
画像出力装置に出力すると階調バランスの良くない画像
になってしまうことが多い。そこで、このような階調バ
ランスが良くない画像に対して、画像の階調値のヒスト
グラム(度数分布)を分析して自動的にダイナミックレ
ンジを拡大したり、コントラストを変化させたり、赤、
緑、青の色成分のバランスを調整したりする自動画像補
正方法がいくつか提案されている。
Next, a method of correcting a color tone will be described.
When automatic exposure and automatic white balance do not operate properly when shooting with a digital camera, etc., when image data is transmitted from a digital camera or the like and output to an image display device or image output device, the gradation balance Often the result is a bad image. Therefore, for such an image having a poor gradation balance, a histogram (frequency distribution) of the gradation values of the image is analyzed to automatically expand the dynamic range, change the contrast,
Several automatic image correction methods for adjusting the balance of green and blue color components have been proposed.

【0059】図4は、代表的な色調補正方法の例を説明
するためのフロチャートである。図4を参照すると、ま
ず、処理の高速化のために画像データをサブサンプリン
グして縮小し画素数を減らす(ステップS1)。次に、
画像データの各色成分ごとの階調値の度数分布(ヒスト
グラム)を求める(ステップS2)。すなわち、画像デ
ータが赤,緑,青の成分で表されている場合には、赤の
階調値分布と、緑の階調値分布と、青の階調値分布とを
求める。但し、度数分布の作成結果を記憶するための記
憶装置に容量の制限がある場合には、いずれか1つの色
成分についてのみ階調値の度数分布を求めるようにして
もよい。図5には、以上の処理で求めた輝度ヒストグラ
ムの一例が示されている。
FIG. 4 is a flowchart for explaining an example of a typical color tone correction method. Referring to FIG. 4, first, image data is sub-sampled and reduced to reduce the number of pixels to speed up the processing (step S1). next,
A frequency distribution (histogram) of gradation values for each color component of the image data is obtained (step S2). That is, when the image data is represented by red, green, and blue components, a red gradation value distribution, a green gradation value distribution, and a blue gradation value distribution are obtained. However, if the storage device for storing the frequency distribution creation result has a limited capacity, the frequency distribution of the gradation values may be obtained for only one color component. FIG. 5 shows an example of the luminance histogram obtained by the above processing.

【0060】そして、ステップS2で求めたヒストグラ
ムから所定の特徴量を算出して、画像データが適切な階
調特性を有しているか否かを判断し、必要に応じて色調
補正処理の内容を決定して補正パラメータを作成する
(ステップS3,S4,S5)。ここで、色調補正処理
の内容としては、一般的には、ダイナミックレンジ補
正,色バランス補正,トーンカーブ補正などがある。
Then, a predetermined characteristic amount is calculated from the histogram obtained in step S2, and it is determined whether or not the image data has an appropriate gradation characteristic. The correction parameters are determined and determined (steps S3, S4, S5). Here, the contents of the color tone correction processing generally include dynamic range correction, color balance correction, tone curve correction, and the like.

【0061】すなわち、ステップS3では、まず、ダイ
ナミックレンジが適切に得られているかどうかを判定す
るために、入力画像の白色輝度,黒点輝度を特徴量とし
て求める。白色輝度および黒点輝度としては、入力画像
の最大値,最小値を用いたり、あるいは、ノイズ成分を
考慮して、累積度数が1%のところを黒点輝度、99%
を白色輝度とすることができる。そして、ダイナミック
レンジの判定の結果、ダイナミックレンジが不足してい
るとみなされる場合には、レベル補正処理を行ってダイ
ナミックレンジを拡大する。また、夜景画像などが必要
以上に変換されないように、ダイナミックレンジの拡大
幅に制限を設ける例もある。
That is, in step S3, first, the white luminance and the black point luminance of the input image are obtained as feature amounts in order to determine whether or not the dynamic range is appropriately obtained. As the white luminance and the black point luminance, the maximum value and the minimum value of the input image are used.
Can be white brightness. If it is determined that the dynamic range is insufficient as a result of the determination of the dynamic range, a level correction process is performed to expand the dynamic range. Also, there is an example in which the expansion range of the dynamic range is limited so that a night scene image or the like is not converted more than necessary.

【0062】次に、ステップS4では、色かぶりを生じ
ている画像を判別して色かぶりを除去するように色バラ
ンス(カラーバランス)の補正を行う。色かぶりの補正
についても各種方式が提案されている。例えば、色かぶ
りは画像の比較的明るい部分で目立つため、度数分布
(ヒストグラム)において高輝度の画素についてRGB
の平均を特徴量として求め、この特徴量(高輝度の画素
についてのRGBの平均)からのずれ量から色かぶりを
起こしているかどうかを判定して補正内容を決定する方
法などが考えられる。この場合には、どの程度の輝度ま
でについて調べるか、あるいは、どの程度のずれの場合
に色かぶりを起こしていると判定するかなどのパラメー
タが必要になる。
Next, in step S4, the color balance (color balance) is corrected so that the image having the color cast is determined and the color cast is removed. Various methods have been proposed for color cast correction. For example, since the color cast is conspicuous in a relatively bright part of the image, the RGB of the pixel with high luminance in the frequency distribution (histogram) is obtained.
Can be considered as a feature amount, a method of determining whether or not color fogging has occurred based on the amount of deviation from the feature amount (the average of RGB for high-brightness pixels) and determining the correction content. In this case, it is necessary to provide a parameter such as how much luminance should be checked or how much deviation should be determined to cause color cast.

【0063】例えば、色かぶりは、以下のように判定で
きる。すなわち、 ΔR=Rave-Gave ΔB=Bave-Gave とした場合、ΔR>Rth、ΔB>Gthの時に色かぶ
りしていると判定し、ΔRおよびΔBが0になるように
R成分およびB成分に対し階調変換を施す。但し、Ra
ve,Gave,Baveは、ヒストグラムの明るい方
から10%に存在するR,G,B各成分の平均値であ
る。
For example, the color cast can be determined as follows. That is, when ΔR = Rave-Gave and ΔB = Bave-Gave, it is determined that the color is cast when ΔR> Rth and ΔB> Gth, and the R component and the B component are set so that ΔR and ΔB become 0. Perform gradation conversion. Where Ra
“ve”, “Gave”, and “Bave” are average values of R, G, and B components present in 10% from the brightest side of the histogram.

【0064】色バランス(カラーバランス)補正を行っ
た後は、露出状況を判定し必要に応じて補正処理を行
う。例えば、露出アンダーや露出オーバーの画像に対し
て階調変換を施す場合には、画像データの輝度値の中央
値や分散値を特徴量として求め、それらを判定すること
により露出オーバーかアンダーかを概ね判定することが
できる。その他の方式を用いることも可能である。他に
も、撮影条件(逆光、フラッシュ撮影、夜間撮影など)
を推定して判定方法を切り替えたり、画像データを小ブ
ロックに分割してブロックごとの特徴量から被写体を推
定したりするような処理まで備える場合もある。
After the color balance (color balance) correction is performed, the exposure state is determined, and correction processing is performed as necessary. For example, when performing gradation conversion on an underexposed or overexposed image, the median or variance of the luminance value of the image data is obtained as a feature amount, and by determining these, it is determined whether the image is overexposed or underexposed. Generally, it can be determined. Other schemes can be used. Other shooting conditions (backlighting, flash photography, night photography, etc.)
In some cases, such as estimating a subject and estimating a subject from a feature amount of each block by dividing image data into small blocks.

【0065】また、露出状況を判定した結果、補正が必
要な場合にはステップS5のようにトーンカーブ補正を
行なうことができる。トーンカーブ補正は、補正用トー
ンカーブを作成して、図6のように単純なルックアップ
テーブルでガンマ補正を行うことで実現できる。
If it is determined that the exposure situation requires correction, tone curve correction can be performed as in step S5. Tone curve correction can be realized by creating a correction tone curve and performing gamma correction using a simple look-up table as shown in FIG.

【0066】上述したように、従来から種々の色調補正
方法が提案されているが、いずれも画像データより何ら
かの特徴量を算出し、その結果に基づいて階調の適正を
判断して補正内容を決定するような手順が実行されるこ
とになる。
As described above, various color tone correction methods have been conventionally proposed. In each case, some characteristic amount is calculated from the image data, and the appropriateness of the gradation is determined based on the result to determine the correction content. A procedure to be determined will be performed.

【0067】上述のように、本発明の第1の実施形態で
は、描画データ中にRGB画像データの色空間特性情報
が記述されている場合には、色調補正処理を行なわない
ようにしているので、色変換処理を高速に実行できると
ともに、既に色調補正が行われているような画像に対し
て不必要な補正を行う危険性を低減することが可能とな
る。
As described above, in the first embodiment of the present invention, when the color space characteristic information of the RGB image data is described in the drawing data, the color tone correction processing is not performed. In addition, the color conversion processing can be executed at high speed, and the risk of performing unnecessary correction on an image for which color tone correction has already been performed can be reduced.

【0068】図7は第1の実施形態の画像処理装置20
0の画像処理方法を説明するためのフローチャートであ
る。図7を参照すると、まず、ステップS101では、
描画データ解析手段202によりRGB色空間特性の検
出処理を行なう。次に、ステップS102では、描画デ
ータからRGB色空間特性情報を検出できたか否かを判
断する。
FIG. 7 shows an image processing apparatus 20 according to the first embodiment.
11 is a flowchart for describing an image processing method of No. 0. Referring to FIG. 7, first, in step S101,
The drawing data analysis unit 202 performs a process of detecting RGB color space characteristics. Next, in step S102, it is determined whether RGB color space characteristic information has been detected from the drawing data.

【0069】この結果、色空間特性情報を検出できなか
った場合には、ステップS103に進み、ステップS1
03では、画像データから色成分ごとの階調値の度数分
布を計算する。次に、ステップS104では、度数分布
から前述した特徴量(例えば、白色輝度,黒点輝度)を
算出する。次に、ステップS105では、ステップS1
04で求めた特徴量に基づいて画像データを補正する内
容(色調補正の処理方法)を決定する。補正内容として
は、前述のように、トーンカーブ補正,ダイナミックレ
ンジ補正,色バランス補正などである。そして、どのよ
うな色調補正を行うかが決まれば、ステップS106
で、その色調補正を実現するような色変換パラメータを
生成する。
As a result, if the color space characteristic information cannot be detected, the process proceeds to step S103, and the process proceeds to step S1.
In step 03, the frequency distribution of gradation values for each color component is calculated from the image data. Next, in step S104, the above-described feature amounts (for example, white luminance and black point luminance) are calculated from the frequency distribution. Next, in step S105, step S1
The content (color tone correction processing method) for correcting the image data is determined based on the feature amount obtained in step 04. The correction contents include tone curve correction, dynamic range correction, and color balance correction as described above. Then, if it is determined what kind of color tone correction is to be performed, step S106
Thus, a color conversion parameter for realizing the color tone correction is generated.

【0070】一方、ステップS102において色空間特
性情報を検出できた場合には、ステップS107へ進
み、検出された色空間特性情報を色変換パラメータに設
定する。
On the other hand, if the color space characteristic information has been detected in step S102, the flow advances to step S107 to set the detected color space characteristic information as a color conversion parameter.

【0071】そして、最終的に生成した色変換係数を使
って色変換処理を行い、画像出力装置104に出力す
る。
Then, color conversion processing is performed using the finally generated color conversion coefficients, and the result is output to the image output device 104.

【0072】このように、本発明の第1の実施形態で
は、描画データ解析手段202においてRGB画像デー
タの色空間特性情報を抽出できない場合にのみ、補正内
容決定部303により決定された補正内容でRGB画像
データの色調補正処理を行うようにしているので、十分
な色管理のもとで作成されたような画像データに対して
は、不要な色調補正処理が行われてしまう危険性を低減
できるとともに、厳密な色管理が行われていないような
低品質の画像データに対しては、色調補正がなされて、
コントラストや色バランスなどが最適化された鮮明な画
像が得られるようになる。
As described above, in the first embodiment of the present invention, only when the drawing data analysis means 202 cannot extract the color space characteristic information of the RGB image data, the correction content determined by the correction content determination unit 303 is used. Since the color tone correction processing of the RGB image data is performed, the danger that unnecessary color tone correction processing is performed on image data created under sufficient color management can be reduced. At the same time, color correction is performed on low-quality image data for which strict color management is not performed.
A clear image with optimized contrast and color balance can be obtained.

【0073】このように、本発明の第1の実施形態にお
いては、描画データ中にRGB色空間特性情報が含まれ
ている場合には、色調補正処理を行わず、忠実な色再現
を行うようにしているが、この場合、補正が不要な画像
を補正してしまう危険性は減る反面、補正が必要な画像
を補正しない可能性も上がってしまう。そのため、コン
シューマ用途などでは補正効果があまり見られなくてユ
ーザは不満に感じることもある。
As described above, in the first embodiment of the present invention, when the RGB color space characteristic information is included in the drawing data, the color reproduction is performed faithfully without performing the color tone correction processing. In this case, the risk of correcting an image that does not need to be corrected is reduced, but the possibility that the image that needs to be corrected is not corrected is also increased. For this reason, the user may feel dissatisfied because the correction effect is not so much seen in consumer applications.

【0074】第2の実施形態 本発明の第2の実施形態は、第1の実施形態における上
記問題を回避するため、描画データにおいてRGB色空
間特性情報が検出された場合であっても色調補正を施す
ようにするものである。但し、色空間特性情報が含まれ
る場合の画像データに過度の補正がかからないように、
色空間特性情報が含まれる場合の画像データに対する色
調補正処理には、色空間情報が含まれない画像データに
対する色調補正処理よりも、補正対象とする画像の種類
や特徴量の判定基準を限定するようにしている。
Second Embodiment In a second embodiment of the present invention, in order to avoid the above-described problem in the first embodiment, the color tone correction is performed even when RGB color space characteristic information is detected in the drawing data. Is performed. However, in order not to apply excessive correction to the image data when the color space characteristic information is included,
In the color tone correction processing for image data when the color space characteristic information is included, the type of image to be corrected and the criterion for determining the feature amount are more limited than the color tone correction processing for image data that does not include the color space information. Like that.

【0075】図8は第2の実施形態における描画データ
解析手段202,イメージ用画像処理手段204の構成
例を示す図である。図8のイメージ用画像処理手段20
4には、画像データを分析して所定の特徴量を算出する
2種類の特徴量算出部410、420と、算出された特
徴量に基づいてどのような色調補正を行うかを判定する
(補正内容を決定する)2種類の補正内容決定部41
1,421と、補正内容を実現するための色変換パラメ
ータ設定部430と、色変換処理部402とが設けられ
ている。ここで、色変換パラメータ設定部430は、描
画データ解析手段202において描画データから色空間
特性情報が検出されたか否かに応じて、2種類の補正内
容決定部411,412のうちのいずれか一方の補正内
容決定部で決定された補正内容に従った色変換パラメー
タを生成するようになっている。
FIG. 8 is a diagram showing a configuration example of the drawing data analysis means 202 and the image processing means 204 for images in the second embodiment. The image processing means 20 for images shown in FIG.
4 includes two types of feature value calculation units 410 and 420 that analyze image data to calculate a predetermined feature value, and determine what color tone correction is to be performed based on the calculated feature value (correction). Two types of correction content determination units 41 for determining the content
1, 421, a color conversion parameter setting unit 430 for realizing the correction content, and a color conversion processing unit 402. Here, the color conversion parameter setting unit 430 determines whether one of the two types of correction content determination units 411 and 412 depends on whether the drawing data analysis unit 202 has detected color space characteristic information from the drawing data. The color conversion parameters are generated in accordance with the correction contents determined by the correction content determination unit.

【0076】なお、2種類の補正内容決定部411,4
21が同一の特徴量を用いる場合には、特微量算出部4
10,420を共通にして良い。すなわち、1つの特微
量算出部(例えば410)だけを設けても良い。
The two types of correction content decision sections 411, 4
When the same feature value is used by the reference number 21,
10, 420 may be common. That is, only one extra-quantity calculating unit (for example, 410) may be provided.

【0077】次に、第2の実施形態のイメージ用画像処
理手段204の全体的な動作について説明する。
Next, the overall operation of the image processing means 204 for images according to the second embodiment will be described.

【0078】まず、描画データ解析手段202は、描画
データからRGB色空間特性を検出したか否かの情報を
色変換パラメータ設定部430へ送信する。一方、イメ
ージ描画データの中の画像データの部分は分離されて、
特徴量算出部410,420の両方に送られる。
First, the drawing data analysis means 202 transmits information on whether or not the RGB color space characteristics have been detected from the drawing data to the color conversion parameter setting section 430. On the other hand, the image data part in the image drawing data is separated,
The information is sent to both of the feature amount calculation units 410 and 420.

【0079】特徴量算出部410は、描画データ解析手
段202から画像データを受け取って色調補正を行うた
めの特徴量を算出し、算出した特徴量を補正内容決定部
411に与える。補正内容決定部411では、特徴量算
出部410で算出された特徴量を基に画像データをどの
ように補正するかを決定する(すなわち、補正内容を決
定する)。補正内容決定部411で補正内容が決まれ
ば、その結果を色変換パラメータ設定部430に与え
る。
The feature value calculation unit 410 receives the image data from the drawing data analysis unit 202, calculates a feature value for performing color tone correction, and provides the calculated feature value to the correction content determination unit 411. The correction content determination unit 411 determines how to correct the image data based on the feature value calculated by the feature value calculation unit 410 (that is, determines the correction content). When the correction content is determined by the correction content determination unit 411, the result is given to the color conversion parameter setting unit 430.

【0080】同様に、特徴量算出部420は、描画デー
タ解析手段202から画像データを受け取って色調補正
を行うための特徴量を算出し、算出した特徴量を補正内
容決定部421に与える。補正内容決定部421では、
特徴量算出部420で算出された特徴量を基に画像デー
タをどのように補正するかを決定する(すなわち、補正
内容を決定する)。補正内容決定部421で補正内容が
決まれば、その結果を色変換パラメータ設定部430に
与える。
Similarly, the feature value calculation unit 420 receives the image data from the drawing data analysis unit 202, calculates a feature value for performing color tone correction, and provides the calculated feature value to the correction content determination unit 421. In the correction content determining unit 421,
It is determined how to correct the image data based on the feature amount calculated by the feature amount calculation unit 420 (that is, the content of the correction is determined). When the correction content is determined by the correction content determination unit 421, the result is given to the color conversion parameter setting unit 430.

【0081】なお、補正内容決定部411で決定される
補正内容と補正内容決定部421で決定される補正内容
とは、具体的には次のように異なっている。すなわち、
後述のように、補正内容決定部411で決定される補正
内容が、補正内容決定部421で決定される補正内容よ
りも、原データの変化の幅を抑えられるように、補正対
象とする画像の種類を限定したり、特徴量の判断基準を
限定したりしている。
The correction content determined by the correction content determining unit 411 and the correction content determined by the correction content determining unit 421 are different from each other as follows. That is,
As described later, the correction content determined by the correction content determination unit 411 is smaller than the correction content determined by the correction content determination unit 421 so that the range of change of the original data is suppressed. The type is limited, and the criterion for determining the feature amount is limited.

【0082】色変換パラメータ設定部430では、2種
類の補正内容決定部411,421から補正内容に関す
る情報を受け取って、補正を実現するような色変換パラ
メータを生成する。但し、2種類の補正内容決定部41
1,421からの2種類の補正内容のどちらの補正内容
に従って色変換パラメータを生成するかは、描画データ
解析手段202からの色空間特性情報の検出結果によっ
て制御する。すなわち、色変換パラメータ設定部430
では、色空間特性情報が検出された場合には、特徴量算
出部410,補正内容決定部411によって決定された
色調補正を実現する補正パラメータと、検出された色空
間特性情報とを、色変換処理部402に与え、色空間特
性情報が検出されなかった場合には、特徴量算出部42
0,補正内容決定部421によって決定された色調補正
を実現する補正パラメータと、画像処理手段204に予
め設定されているデフォルト色空間特性情報とを、色変
換処理部402に与える。
The color conversion parameter setting section 430 receives information on correction contents from the two types of correction content determination sections 411 and 421 and generates color conversion parameters for realizing correction. However, two types of correction content determination units 41
Which correction content of the two types of correction content from 421 and 421 is to be used to generate the color conversion parameter is controlled by the detection result of the color space characteristic information from the drawing data analysis means 202. That is, the color conversion parameter setting unit 430
Then, when the color space characteristic information is detected, the correction parameter for realizing the color tone determined by the feature amount calculation unit 410 and the correction content determination unit 411 and the detected color space characteristic information are subjected to color conversion. When the color space characteristic information is not detected, the characteristic amount calculation unit 42
0, a correction parameter for realizing the color tone correction determined by the correction content determination unit 421 and default color space characteristic information preset in the image processing unit 204 are provided to the color conversion processing unit 402.

【0083】色変換処理部402は、色変換パラメータ
設定部430から与えられた補正パラメータおよび色空
間特性情報などの色変換パラメータと予め装置内のRO
Mなどに記憶されている出力デバイスの色空間特性情報
とを使用して色変換処理を行う。
The color conversion processing section 402 stores the correction parameters and the color conversion parameters such as color space characteristic information provided from the color conversion parameter setting section 430 with the RO in the apparatus in advance.
The color conversion process is performed using the color space characteristic information of the output device stored in M or the like.

【0084】具体的に、色変換処理部402は、まず、
補正パラメータに従って、RGB画像データに対し、ダ
イナミックレンジ変換,コントラスト変換,色バランス
変換などの階調変換を行った後、RGB色空間特性情報
を用いてRGB画像データを標準信号に変換する。次
に、出力デバイスの色空間特性情報を用いて標準信号を
画像出力装置(例えばプリンタ)用の色データに変換す
る。
Specifically, the color conversion processing unit 402 first
After performing gradation conversion such as dynamic range conversion, contrast conversion, and color balance conversion on the RGB image data according to the correction parameters, the RGB image data is converted into a standard signal using the RGB color space characteristic information. Next, the standard signal is converted into color data for an image output device (for example, a printer) using the color space characteristic information of the output device.

【0085】上記の色変換処理では、階調変換,標準信
号変換,プリンタ変換を順に行ったが、もちろん、最初
に各パラメータを連結して入力RGB画像データを画像
出力装置(例えばプリンタ)の色データに変換するため
のパラメータを作成してから、1パスで画像データを変
換するようにしても良い。
In the above-described color conversion processing, gradation conversion, standard signal conversion, and printer conversion are sequentially performed. Of course, first, the respective parameters are connected to input RGB image data and output to the color of the image output device (for example, a printer). The image data may be converted in one pass after parameters for converting the data are created.

【0086】次に、第2の実施形態における色調補正処
理について具体的に説明する。
Next, the color tone correction processing according to the second embodiment will be specifically described.

【0087】前述したように、代表的な色調補正処理と
して、ダイナミックレンジ補正,色バランス補正,トー
ンカーブ補正などの補正処理がなされるが、それらの補
正が必要か否かを判定することについては、さまざまな
判定方式が提案されている。一般には、積極的に補正す
るか、原データからあまり大きく変化しないように補正
するかという考え方によって、方法が異なってくる。
As described above, as typical color tone correction processing, correction processing such as dynamic range correction, color balance correction, and tone curve correction is performed, and it is determined whether these corrections are necessary. Various determination methods have been proposed. In general, the method differs depending on whether the correction is made positively or the correction is made so as not to change much from the original data.

【0088】第2の実施形態では、描画データにRGB
色空間特性情報が含まれている場合は、比較的色管理が
行われた画像データである傾向があることから、なるべ
く原データから大きく変化しないような補正を行なう一
方、描画データにRGB色空間特性情報が含まれていな
い場合には、積極的な色調補正を行なう。
In the second embodiment, the drawing data is
When the color space characteristic information is included, since the image data tends to be relatively color-managed image data, correction is performed so as not to change as much as possible from the original data. When the characteristic information is not included, aggressive color tone correction is performed.

【0089】具体的には、特徴量算出部は、例えば、階
調値の頻度分布(ヒストグラム)から画像の白色輝度,
黒点輝度を特徴量として求める。
More specifically, the feature quantity calculating section calculates, for example, the white luminance of the image from the frequency distribution (histogram) of the gradation values.
The black point luminance is obtained as a feature value.

【0090】そして、ダイナミックレンジの補正は、特
徴量としての画像の白色輝度,黒点輝度の値に基づいて
行う。このとき、拡大幅の制限を前述の2系統の色調補
正で変更する。例えば、補正内容決定部421では、特
徴量算出部で算出された特徴量である白色輝度がレベル
200以上ならばダイナミックレンジの拡大を行なうも
のとし、補正内容決定部411では、白色輝度がレベル
240以上ならばダイナミックレンジの拡大を行うもの
とする。
The dynamic range is corrected based on the white luminance and black point luminance values of the image as feature amounts. At this time, the limit of the enlargement width is changed by the above-described two-system color tone correction. For example, the correction content determination unit 421 expands the dynamic range if the white luminance, which is the feature amount calculated by the feature amount calculation unit, is equal to or higher than level 200, and the correction content determination unit 411 sets the white brightness to level 240. In this case, the dynamic range is expanded.

【0091】このように特徴量の判定基準を相違させる
ことにより、同じ階調分布を持つ画像であっても、色空
間特性情報が検出された場合には、ダイナミックレンジ
が大きく補正されないようにすることができる。
By making the determination criteria of the characteristic values different in this way, even if the images have the same gradation distribution, the dynamic range is not largely corrected when the color space characteristic information is detected. be able to.

【0092】同様に、色バランスの補正では、色かぶり
の判定レベルを変更することにより補正幅を限定するこ
とができる。また、色空間特性情報が検出された場合に
は、色バランス補正そのものを行わないようにして、色
空間特性情報が検出されない場合にのみ色バランス補正
を行うようにしてもよい。
Similarly, in the correction of the color balance, the correction range can be limited by changing the determination level of the color cast. When the color space characteristic information is detected, the color balance correction itself may not be performed, and the color balance correction may be performed only when the color space characteristic information is not detected.

【0093】また、トーンカーブ補正の場合には、画像
データの輝度値の中央値および分散値から求める補正幅
を変更することで補正パラメータを制御することもでき
るし、更には撮影状況の推定を行って特定の撮影状況の
場合だけ補正を行うようにしてもよい。
In the case of the tone curve correction, the correction parameter can be controlled by changing the correction width obtained from the median value and the variance value of the luminance value of the image data. The correction may be performed only in a specific shooting situation.

【0094】例えば、撮影状況を判定した結果、色空間
特性情報が検出された場合には、画像の種類として逆光
シーンについてのみ補正を行うこととし、色空間特性情
報が検出されない場合には、画像の種類として逆光以外
の日中,夜景,室内などの画像についても補正を行うよ
うにすることができる。
For example, if color space characteristic information is detected as a result of the photographing situation determination, correction is performed only for a backlight scene as an image type, and when color space characteristic information is not detected, image correction is performed. As the type of image, correction can be performed for images other than backlight, such as daytime, night view, and indoor images.

【0095】また、色調補正の代表的な手法として、画
像を小ブロックごとに分析し、どの部分に被写体が撮影
されているかを推定することにより、より高度な色調補
正を行うものもある。しかし、このような被写体推定は
推定エラーも起こりやすいため、概ね大きな改善効果が
得られる反面、一部の画像において画質劣化を伴う危険
性がある。そこで、色空間特性情報が検出された場合に
は、被写体推定を行わず全体的な明るさ情報を基に色調
を補正し、色空間特性情報が検出されない場合にのみ、
被写体推定を行ってダイナミックな色調補正を行うよう
にしてもよい。
Further, as a typical method of color tone correction, there is a method of performing more advanced color tone correction by analyzing an image for each small block and estimating a portion where a subject is photographed. However, such subject estimation tends to cause an estimation error, so that a large improvement effect can be obtained. However, there is a risk that image quality is deteriorated in some images. Therefore, when the color space characteristic information is detected, the color tone is corrected based on the overall brightness information without subject estimation, and only when the color space characteristic information is not detected,
The subject may be estimated to perform dynamic color tone correction.

【0096】図9は第2の実施形態における画像処理装
置200の画像処理方法を説明するためのフローチャー
トである。
FIG. 9 is a flowchart for explaining an image processing method of the image processing apparatus 200 according to the second embodiment.

【0097】図9を参照すると、まず、ステップS20
1では、描画データ解析手段202によりRGB色空間
特性の検出処理を行なう。次に、ステップS202で
は、RGB色空間特性情報が検出されたか否かを判断す
る。
Referring to FIG. 9, first, at step S20
In step 1, the drawing data analysis unit 202 performs a process of detecting RGB color space characteristics. Next, in step S202, it is determined whether RGB color space characteristic information has been detected.

【0098】この結果、色空間特性情報を検出できなか
った場合には、ステップS203に進み、ステップS2
03では画像データから色成分ごとの階調値の度数分布
を算出する。次に、ステップS204では、度数分布か
ら前述した特徴量(例えば、白色輝度,黒点輝度)を計
算する。次に、ステップS204で求めた特徴量に基づ
いて、ステップS205では、画像データを補正する内
容を決定する。補正内容としては、前述のとおり、トー
ンカーブ補正,ダイナミックレンジ補正,色バランス補
正などである。そして、どのような色調補正を行うかが
決まれば、ステップS206で、その色調補正を実現す
るような色変換パラメータを生成する。
As a result, when the color space characteristic information cannot be detected, the process proceeds to step S203, and the process proceeds to step S2.
In step 03, a frequency distribution of gradation values for each color component is calculated from the image data. Next, in step S204, the above-described feature amounts (for example, white luminance and black point luminance) are calculated from the frequency distribution. Next, in step S205, the content for correcting the image data is determined based on the feature amount obtained in step S204. As described above, the correction contents include tone curve correction, dynamic range correction, color balance correction, and the like. Then, when it is determined what kind of color correction is to be performed, a color conversion parameter for realizing the color correction is generated in step S206.

【0099】一方、ステップS202において色空間特
性情報が検出された場合には、ステップS203〜ステ
ップS206とは別の色調補正処理を行って色変換パラ
メータを設定する(ステップS207〜ステップS21
0)。すなわち、ステップS207では、画像データか
ら色成分ごとの階調値の度数分布を計算する。次に、ス
テップS208では、度数分布から前述した特徴量(例
えば、白色輝度,黒点輝度)を計算する。次に、ステッ
プS208で求めた特徴量に基づいて、ステップS20
9では、画像データを補正する内容を決定する。この
際、補正内容としては、ステップS205により決定さ
れる補正内容よりも制限した内容にする。そして、どの
ような色調補正を行うか決まれば、ステップS210
で、その色調補正を実現するような色変換パラメータを
生成する。
On the other hand, if the color space characteristic information is detected in step S202, color conversion parameters are set by performing color tone correction processing different from steps S203 to S206 (steps S207 to S21).
0). That is, in step S207, a frequency distribution of gradation values for each color component is calculated from the image data. Next, in step S208, the above-described feature amounts (for example, white luminance and black point luminance) are calculated from the frequency distribution. Next, based on the feature amount obtained in step S208, step S20
In step 9, contents for correcting the image data are determined. At this time, the content of the correction is limited to the content of the correction determined in step S205. Then, if it is determined what kind of color tone correction is to be performed, step S210
Thus, a color conversion parameter for realizing the color tone correction is generated.

【0100】もちろん、ステップ204で使用する度数
分布とステップS208で使用する度数分布とは同じで
も良いし、ステップS204,S208において算出さ
れる特徴量についても同じであっても良い。
Of course, the frequency distribution used in step 204 and the frequency distribution used in step S208 may be the same, and the feature amounts calculated in steps S204 and S208 may be the same.

【0101】このように、本発明の第2の実施形態で
は、描画データ解析手段においてRGB画像データの色
空間特性情報を抽出できる場合とRGB画像データの色
空間特性情報を抽出できない場合とで、複数種類の補正
内容のうち、互いに異なる補正内容を選択して異なる色
調補正処理をRGB画像データに対して行なうようにな
っているので、描画データの属性に適した色調の補正を
行なうことができる。
As described above, in the second embodiment of the present invention, the case where the color space characteristic information of the RGB image data can be extracted by the drawing data analysis means and the case where the color space characteristic information of the RGB image data cannot be extracted are Since different correction contents are selected from among a plurality of types of correction contents and different color tone correction processes are performed on the RGB image data, it is possible to correct the color tone suitable for the attribute of the drawing data. .

【0102】第3の実施形態 また、この種の画像処理システムにおいて、画像入力装
置(デジタルカメラあるいはスキャナなど)で取り込ん
だRGB画像データに対しては、画像入力装置のプロフ
ァイル情報が付加されて描画データとして保存される
が、RGB画像データに対して色修正作業が行われた場
合には修正作業を行っている画像表示装置のプロファイ
ル情報がRGB画像データに付加されて描画データとし
て保存されることになる。
Third Embodiment In this type of image processing system, RGB image data captured by an image input device (such as a digital camera or a scanner) is added with profile information of the image input device and rendered. When color correction is performed on the RGB image data, profile information of the image display device performing the correction is added to the RGB image data and stored as drawing data. become.

【0103】本発明の第3の実施形態では、上述のよう
に描画データに付加されている画像生成装置の種類(画
像入力装置や画像表示装置)に応じて色調補正処理の制
御を行なうようになっている。すなわち、第3の実施形
態では、画像生成装置の種類が画像入力装置である場合
には、RGB画像データに対して色修正作業が未だなさ
れていないと考えられる一方、画像生成装置の種類が画
像表示装置(例えばディスプレイ)である場合には、画
像表示装置を見ながらユーザがRGB画像データに対し
てすでに色修正作業を行なっている可能性が高いという
ことに着目してなされたものである。
In the third embodiment of the present invention, the color tone correction processing is controlled in accordance with the type of image generating device (image input device or image display device) added to the drawing data as described above. Has become. That is, in the third embodiment, when the type of the image generation device is the image input device, it is considered that the color correction work has not been performed on the RGB image data, while the type of the image generation device is the image input device. In the case of a display device (for example, a display), attention is paid to the fact that it is highly likely that the user has already performed color correction work on the RGB image data while looking at the image display device.

【0104】上記の点に着目し、本発明の第3の実施形
態では、図3の構成例において、描画データ解析手段2
02は、RGB画像データを生成した画像生成装置の種
類を前記描画データから検出する機能を有し、特徴量算
出部302は、RGB画像データから所定の特徴量を求
め、補正内容決定部303は、特徴量算出部302で算
出された特徴量を用いてRGB画像データの補正内容を
決定し、色変換パラメータ設定部304は、描画データ
解析手段202によって得られる画像生成装置の種類に
応じて、色変換処理に用いる色変換パラメータを制御す
るようになっている。
Focusing on the above points, in the third embodiment of the present invention, in the configuration example of FIG.
02 has a function of detecting, from the drawing data, the type of the image generating apparatus that has generated the RGB image data. The feature amount calculation unit 302 obtains a predetermined feature amount from the RGB image data, and the correction content determination unit 303 The correction content of the RGB image data is determined using the feature amount calculated by the feature amount calculation unit 302, and the color conversion parameter setting unit 304 determines, based on the type of the image generation device obtained by the drawing data analysis unit 202, The color conversion parameters used for the color conversion processing are controlled.

【0105】換言すれば、本発明の第3の実施形態で
は、色変換パラメータ設定部304,色変換処理部30
5は、描画データ解析手段202によって検出された画
像生成装置の種類に応じて、補正内容決定部303によ
って決定された補正内容でRGB画像データの色調補正
処理を行なうか否かを切り替えるようになっている。
In other words, in the third embodiment of the present invention, the color conversion parameter setting unit 304 and the color conversion processing unit 30
Reference numeral 5 switches whether or not to perform the color tone correction processing of the RGB image data with the correction content determined by the correction content determination unit 303 according to the type of the image generation device detected by the drawing data analysis unit 202. ing.

【0106】次に、第3の実施形態における描画データ
解析手段202,イメージ用画像処理手段204の全体
的な動作について説明する。
Next, the overall operation of the drawing data analyzing means 202 and the image processing means 204 in the third embodiment will be described.

【0107】まず、描画データ解析手段202は、イメ
ージ描画データからRGB信号の属性などを記述したプ
ロファイル情報を検出して読み取る。
First, the drawing data analysis means 202 detects and reads profile information describing attributes of RGB signals and the like from the image drawing data.

【0108】例えば、Windowsオペレーティング・シス
テムの標準画像データフォーマットであるビットマップ
・フォーマットでは、画像データのヘッダ部分に対応す
るICCプロファイルを記述して画像データのカラー属
性を定義できるようになっている。
For example, in a bitmap format which is a standard image data format of the Windows operating system, an ICC profile corresponding to a header portion of image data can be described to define a color attribute of the image data.

【0109】図10はICCプロファイルのデータ形式
を示す図である。ICCプロファイルは、図10に示す
ようなデータ形式で標準化されており、近年種々の場面
で多用されている。ICCプロファイルは、図10に示
すように、ヘッダ部と、Tagデータの存在する位置を
示すTagテーブルと、Tagデータ(Tagデータの
実体部分)とにより構成されている。ヘッダ部には、使
用するCMM(色変換エンジン)の名前やデバイスの種
類,標準信号の種類以外に、プロファイルの種類が記述
されるようになっている。このプロファイルの種類は、
画像生成装置がスキャナであれば”scnr”, 画像生成装
置が画像表示装置(ディスプレイ)であれば”mntr”と
いうように、画像データを生成する画像生成装置のコー
ドデータが記述されることになっている。
FIG. 10 shows the data format of the ICC profile. The ICC profile has been standardized in a data format as shown in FIG. 10, and is frequently used in various scenes in recent years. As shown in FIG. 10, the ICC profile includes a header portion, a Tag table indicating a position where Tag data exists, and Tag data (substantial portion of Tag data). In the header portion, in addition to the name of CMM (color conversion engine) to be used, the type of device, and the type of standard signal, the type of profile is described. This profile type is
Code data of the image generating apparatus that generates image data is described as "scnr" if the image generating apparatus is a scanner, and "mntr" if the image generating apparatus is an image display apparatus (display). ing.

【0110】また、Tag部分(Tagテーブル,Ta
gデータ)には、色変換に関連する種々の付加データを
必要に応じて細かく設定できるようになっており、デバ
イス信号をXYZ信号やLab信号などの標準信号へ変
換するための色変換パラメータもTagデータとして記
述される。
The Tag portion (Tag table, Tag
g data), various additional data related to color conversion can be set in detail as necessary, and color conversion parameters for converting device signals to standard signals such as XYZ signals and Lab signals are also provided. It is described as Tag data.

【0111】このように、画像データのヘッダ部に記述
されている画像生成装置(RGB画像データを生成した
画像生成装置)の情報を参照して色変換処理を制御する
ことで、より画像に適した色再現を実現することができ
る。
As described above, by controlling the color conversion processing with reference to the information of the image generation device (the image generation device that has generated the RGB image data) described in the header portion of the image data, the image conversion device is more suitable for an image. Color reproduction can be realized.

【0112】すなわち、描画データ解析手段202は、
描画データからプロファイルを検出した場合には、その
プロファイル情報を色変換パラメータ設定部304に与
える。一方、描画データにプロファイルが記述されてい
ないような場合には、未定義であることを意味するコー
ドを色変換パラメータ設定部304に与える。また、イ
メージ描画データ中の画像データの部分は分離されて特
徴量算出部302および色変換処理部305に送られ
る。
That is, the drawing data analysis means 202
When a profile is detected from the drawing data, the profile information is provided to the color conversion parameter setting unit 304. On the other hand, when the profile is not described in the drawing data, a code indicating that the profile is not defined is given to the color conversion parameter setting unit 304. Further, the image data portion in the image drawing data is separated and sent to the feature amount calculation unit 302 and the color conversion processing unit 305.

【0113】色変換処理部305は、入力RGB信号を
標準色信号に変換するための色変換パラメータおよび標
準色信号を出力デバイスの色信号に変換するための色変
換パラメータを使用して色変換処理を行うものであり、
各色変換パラメータは色変換パラメータ設定部304に
設定されているものを用いる。具体的な色変換処理に
は、マスキング変換やメモリマップ補間法などが使用で
き、特に限定されるものではない。
A color conversion processing unit 305 uses a color conversion parameter for converting an input RGB signal into a standard color signal and a color conversion parameter for converting a standard color signal into a color signal of an output device. And do
As each color conversion parameter, the one set in the color conversion parameter setting unit 304 is used. For specific color conversion processing, masking conversion, memory map interpolation, or the like can be used, and there is no particular limitation.

【0114】色変換パラメータ設定部304は、入力R
GB信号を標準信号に変換するための入力用の色変換パ
ラメータおよび標準信号を出力デバイスの色信号に変換
するための出力デバイス用の色変換パラメータを設定す
る。入力用の色変換パラメータは、描画データ解析手段
202からのプロファイル情報および補正内容決定部3
03で決定された補正パラメータを用いて画像データに
適したパラメータとして生成される。また、出力デバイ
ス用の色変換パラメータは、予め画像出力装置に登録さ
れているパラメータを使用する(例えば、画像出力装置
がプリンタである場合には、プリンタ・ドライバに問い
合わせるなどして、予め画像出力装置に登録されている
パラメータを使用する)。
The color conversion parameter setting unit 304 receives the input R
An input device color conversion parameter for converting a GB signal into a standard signal and an output device color conversion parameter for converting a standard signal into an output device color signal are set. The color conversion parameters for input are the profile information from the drawing data analysis unit 202 and the correction content determination unit 3.
It is generated as a parameter suitable for the image data using the correction parameter determined in step S03. As the color conversion parameter for the output device, a parameter registered in the image output device in advance is used (for example, when the image output device is a printer, an image output is previously performed by inquiring of a printer driver or the like). Use the parameters registered in the device).

【0115】図11は色変換パラメータ設定部304に
おける入力用の色変換パラメータの設定動作を説明する
ためのフローチャートである。図11を参照すると、ま
ず、描画データ解析手段202からプロファイル情報を
受信したか否かを判断する(ステップS301)。この
結果、プロファイル情報を受信しないとき(例えば、プ
ロファイルが未定義であるコードを受信した場合)に
は、色変換パラメータ設定部304は、ステップS30
3において、色変換パラメータを例えばパラメータ記憶
用メモリ(図示せず)にセットする。この場合は、入力
RGB信号の色空間特性が不明なため、色変換パラメー
タとしてデフォルト色変換パラメータをROMなどから
読み出して設定する。
FIG. 11 is a flowchart for explaining the operation of setting the input color conversion parameters in the color conversion parameter setting section 304. Referring to FIG. 11, first, it is determined whether or not profile information has been received from the drawing data analysis unit 202 (step S301). As a result, when profile information is not received (for example, when a code with an undefined profile is received), the color conversion parameter setting unit 304 proceeds to step S30.
At 3, the color conversion parameters are set, for example, in a parameter storage memory (not shown). In this case, since the color space characteristics of the input RGB signals are unknown, a default color conversion parameter is read from a ROM or the like as a color conversion parameter and set.

【0116】プロファイルが定義されておらず入力RG
B信号の色空間特性が不明な画像は、厳密な色管理が行
われていない画像データであるため、デフォルトの色変
換パラメータで色変換しても適切な色調にならない可能
性が高い。そこで、この場合には、色変換パラメータ設
定部304は、特徴量算出部302,補正内容決定部3
03によって決定された補正内容を受信し(ステップS
306)、この補正内容を用いてパラメータ記憶メモリ
に設定されている色変換パラメータを更新する(ステッ
プS307)。そして、色変換処理部305は、更新さ
れた色変換パラメータに基づいて色調補正処理,色変換
処理を行なう。すなわち、画像生成装置が判別できない
場合には、色変換パラメータ設定部304,色変換処理
部305は、少なくとも画像データのダイナミックレン
ジ,トーンカーブ,色バランスのいずれかを補正する色
調補正処理を行なう。
If no profile is defined and input RG
An image whose color space characteristic of the B signal is unknown is image data for which strict color management has not been performed. Therefore, there is a high possibility that an appropriate color tone will not be obtained even if color conversion is performed using default color conversion parameters. Therefore, in this case, the color conversion parameter setting unit 304 includes the feature amount calculation unit 302 and the correction content determination unit 3
03 (Step S)
306), the color conversion parameters set in the parameter storage memory are updated using the correction contents (step S307). Then, the color conversion processing unit 305 performs color tone correction processing and color conversion processing based on the updated color conversion parameters. That is, when the image generation device cannot be determined, the color conversion parameter setting unit 304 and the color conversion processing unit 305 perform a color tone correction process for correcting at least one of the dynamic range, the tone curve, and the color balance of the image data.

【0117】一方、ステップS301においてプロファ
イル情報を受信したと判断された場合には、色変換パラ
メータ設定部304は、プロファイル内に記述されてい
るRGB信号の色空間特性情報を読み取り、色変換パラ
メータに設定する(ステップS302)。すなわち、R
GB信号からXYZ信号への変換をマトリックス演算で
行う場合にはマトリックス演算の係数が設定され、ま
た、メモリマップ補間演算で行う場合には補間演算のパ
ラメータが色変換パラメータとして設定される。
On the other hand, if it is determined in step S301 that the profile information has been received, the color conversion parameter setting unit 304 reads the color space characteristic information of the RGB signal described in the profile, and It is set (step S302). That is, R
When the conversion from the GB signal to the XYZ signal is performed by the matrix operation, the coefficient of the matrix operation is set. When the conversion is performed by the memory map interpolation operation, the parameter of the interpolation operation is set as the color conversion parameter.

【0118】次に、ステップS304では、プロファイ
ル・タイプを読み出し、ステップS305では、このプ
ロファイル・タイプが画像入力装置(例えば、スキャ
ナ)を示しているか、画像表示装置(例えば、ディスプ
レイ)を示しているかを判別する。例えば、プロファイ
ル・タイプが”scnr”の場合には、画像入力装置で入力
された画像データであるため、色調の補正が行われてい
ないものと考えることができるので、積極的に色調を補
正して画像出力装置に出力した方が画質を改善できる可
能性が高い。一方、プロファイル・タイプが画像表示装
置を示している場合(この場合のプロファイル・タイプ
は”mntr”)には、PC(パーソナルコンピュータ)上
のアプリケーションで作成されたか、或いは画像入力装
置で入力された画像を色修正して変更/保存した画像で
あるので、RGB信号に忠実に再現する方がオペレータ
にとって好ましいと思われる。
Next, in step S304, the profile type is read, and in step S305, whether the profile type indicates an image input device (for example, a scanner) or an image display device (for example, a display) Is determined. For example, when the profile type is “scnr”, since the image data is input by the image input device, it can be considered that the color tone has not been corrected. Output to an image output device, there is a high possibility that the image quality can be improved. On the other hand, when the profile type indicates the image display device (in this case, the profile type is “mntr”), the profile is created by an application on a PC (personal computer) or input by an image input device. Since the image has been changed / saved by color correction, it is considered that it is preferable for the operator to faithfully reproduce the RGB signal.

【0119】すなわち、ステップS305で画像が画像
表示装置上で作成されたと判断された場合には、ステッ
プS308に進み、色変換処理部305に色変換処理を
行なわせる。すなわち、この場合、色変換処理部305
は、ステップS302で設定された色変換パラメータを
そのまま使用して色変換を行うことにより、測色的に忠
実な色再現を実現する。すなわち、画像生成装置が画像
表示装置である場合には、色変換処理部305は、画像
表示装置の色空間特性と画像出力装置の色空間特性とを
用いて測色値が一致するように色変換処理を行なう。
That is, if it is determined in step S305 that the image has been created on the image display device, the flow advances to step S308 to cause the color conversion processing unit 305 to perform color conversion processing. That is, in this case, the color conversion processing unit 305
Realizes colorimetrically accurate color reproduction by performing color conversion using the color conversion parameters set in step S302 as they are. That is, when the image generation device is an image display device, the color conversion processing unit 305 uses the color space characteristics of the image display device and the color space characteristics of the image output device so that the colorimetric values match. Perform conversion processing.

【0120】また、ステップS305で画像データが画
像入力装置によって入力された画像データであると判断
された場合には、色変換パラメータ設定部304は、特
徴量算出部302,補正内容決定部303によって決定
された補正内容を用いて、プロファイルが含まれない場
合と同様に、色変換パラメータを更新する(ステップS
306,S307)。これにより、色変換処理部305
は、画像データの色調を補正(改善)して色変換を行う
ことができる。すなわち、画像生成装置が画像入力装置
である場合には、色変換処理部305は、少なくとも画
像データのダイナミックレンジ,トーンカーブ,色バラ
ンスのいずれかを補正する色調補正処理を行なう。
If it is determined in step S 305 that the image data is image data input by the image input device, the color conversion parameter setting unit 304 determines whether the feature amount calculation unit 302 and the correction content determination unit 303 have the same. Using the determined correction contents, the color conversion parameters are updated in the same manner as when no profile is included (step S
306, S307). Thereby, the color conversion processing unit 305
Can perform color conversion by correcting (improving) the color tone of image data. That is, when the image generation device is an image input device, the color conversion processing unit 305 performs a color tone correction process for correcting at least one of the dynamic range, the tone curve, and the color balance of the image data.

【0121】このように、第3の実施形態では、描画デ
ータにカラー・プロファイルが記述されていなかった
り、プロファイルに記述されている装置の種類がスキャ
ナやデジタルカメラなどの画像入力装置から取り込まれ
た画像データであることを意味している場合には、特徴
量算出部302,補正内容決定部303を動作させて色
調補正を行うための色変換パラメータを生成して色調補
正処理を行ない、プロファイルに記述されている装置の
種類がディスプレイなどの画像表示装置であることを意
味している場合には、色調補正処理を行なわない。
As described above, in the third embodiment, the color profile is not described in the drawing data, or the type of the device described in the profile is fetched from an image input device such as a scanner or a digital camera. If it means that the data is image data, the feature amount calculation unit 302 and the correction content determination unit 303 are operated to generate color conversion parameters for performing color tone correction, perform color tone correction processing, and generate a profile. If the described device type is an image display device such as a display, the color tone correction process is not performed.

【0122】上述のように、本発明の第3の実施形態の
画像処理システムでは、RGB画像データをオペレータ
が画像表示装置上で閲覧していると判別でき、かつその
画像表示装置の特性が既知の場合にのみ、色調補正処理
を実行しないようにしているため、色変換処理を高速に
実行できるとともに、既に色調補正が行われているよう
な画像に対して不必要な補正を行う危険性を低減でき
る。
As described above, in the image processing system according to the third embodiment of the present invention, it can be determined that the operator is viewing the RGB image data on the image display device, and the characteristics of the image display device are known. Only in the case of, the color correction processing is not performed, so that the color conversion processing can be performed at high speed and the danger of performing unnecessary correction on an image for which the color correction has already been performed. Can be reduced.

【0123】図12は、第3の実施形態の画像処理装置
200の画像処理方法を説明するためのフローチャート
である。図12を参照すると、まず、ステップS401
では、描画データをもとに色調補正が必要か否かを判定
する。色調補正が必要か否かは、図11で説明したよう
に、画像データを生成した画像生成装置が画像表示装置
であるか否かによって判断する。ステップS401で、
色調補正が必要であると判断された場合には、まず、ス
テップS402で画像データから色成分ごとの階調値の
度数分布を計算する。次に、ステップS403で、度数
分布から前述した特徴量(例えば、白色輝度,黒点輝度)
を算出する。次に、ステップS404では、ステップS
403で求めた特徴量に基づいて画像データを補正する
内容を決定する(色調補正の処理方法を設定する)。補
正内容としては、前述のとおり、トーンカーブ補正,ダ
イナミックレンジ補正,色バランス補正などである。そ
して、どのような色調補正を行うかが決まると(補正内
容が決まると)、ステップS405で、その色調補正を
実現するような色変換パラメータを生成する。
FIG. 12 is a flowchart for explaining an image processing method of the image processing apparatus 200 according to the third embodiment. Referring to FIG. 12, first, step S401
Then, it is determined whether color tone correction is necessary based on the drawing data. Whether or not the color tone correction is necessary is determined based on whether or not the image generation device that has generated the image data is an image display device, as described with reference to FIG. In step S401,
If it is determined that color tone correction is necessary, first, in step S402, a frequency distribution of tone values for each color component is calculated from the image data. Next, in step S403, the above-described feature amount (for example, white luminance, black point luminance) is calculated from the frequency distribution.
Is calculated. Next, in step S404, step S404
The content for correcting the image data is determined based on the feature amount obtained in 403 (the processing method of color tone correction is set). As described above, the correction contents include tone curve correction, dynamic range correction, color balance correction, and the like. When it is determined what kind of color tone correction is to be performed (when the correction content is determined), in step S405, a color conversion parameter for realizing the color tone correction is generated.

【0124】一方、ステップS401において、描画デ
ータ中に画像表示装置のRGB色空間特性が検出された
場合には、色調補正が不要と判断されるので、ステップ
S406へ進み、検出されたRGB色空間特性情報を色
変換パラメータに設定する。
On the other hand, if the RGB color space characteristics of the image display device are detected in the drawing data in step S401, it is determined that the color tone correction is not necessary, so the process proceeds to step S406, where the detected RGB color space is detected. The characteristic information is set in the color conversion parameter.

【0125】そして、最終的に生成した色変換係数を使
って色変換処理を行い、画像出力装置104に出力す
る。
Then, color conversion processing is performed using the finally generated color conversion coefficients, and the result is output to the image output device 104.

【0126】以上の方法により、PC(パーソナルコン
ピュータ)上で作成されたり、色修正されたりしている
画像データに対しては、不要な色調補正処理が行われて
しまう危険性を低減できるとともに、色修正されていな
いような低品質の画像データに対しては、色調補正処理
がなされることで、コントラストや色バランスなどが最
適化された鮮明な画像を得られるようになる。
With the above method, the risk of unnecessary color tone correction processing being performed on image data created on a PC (personal computer) or color-corrected can be reduced. By performing color tone correction processing on low-quality image data that has not been color-corrected, a clear image with optimized contrast and color balance can be obtained.

【0127】第4の実施形態 上述した第3の実施形態においては、描画データを解析
して、RGB画像データが画像入力装置で入力された場
合、および、RGB色空間特性情報が不明な場合には、
同様の色調補正処理を行うようにしていた。しかし、R
GB色空間特性情報が不明な画像(例えば、PC(パー
ソナルコンピュータ)で作成されたような画像)に対し
て、画像入力装置で入力した画像と同じ色調補正処理を
行ってしまうと、不適切な補正がなされてしまう恐れが
ある。
Fourth Embodiment In the above-described third embodiment, the drawing data is analyzed, and when the RGB image data is input by the image input device and when the RGB color space characteristic information is unknown. Is
A similar color tone correction process was performed. But R
If an image whose GB color space characteristic information is unknown (for example, an image created by a PC (personal computer)) is subjected to the same color tone correction processing as an image input by the image input device, inappropriate There is a risk that correction will be made.

【0128】そこで、第4の実施形態では、画像データ
のRGB色空間特性情報が定義されていない場合と、画
像入力装置の色空間特性が明確に定義されている場合と
で、異なる色調補正を施すようにする。すなわち、RG
B色空間特性情報が定義されていない場合には、過度の
補正がかからないように、画像入力装置の色空間特性が
明確に定義されている場合に比べて、補正対象とする画
像の種類や補正対象とする特徴量の判定基準を限定する
ようにしている。
Therefore, in the fourth embodiment, different color tone corrections are performed when the RGB color space characteristic information of the image data is not defined and when the color space characteristics of the image input device are clearly defined. To be applied. That is, RG
When the B color space characteristic information is not defined, the type and correction of the image to be corrected are compared with the case where the color space characteristic of the image input device is clearly defined so that excessive correction is not applied. The criterion for determining the target feature amount is limited.

【0129】この第4の実施形態におけるイメージ用画
像処理手段204の構成は、基本的には、図8に示した
ものと同様のものとなる。
The construction of the image processing means 204 for images in the fourth embodiment is basically the same as that shown in FIG.

【0130】次に、第4の実施形態のイメージ用画像処
理手段204の全体的な動作について説明する。
Next, the overall operation of the image processing means 204 according to the fourth embodiment will be described.

【0131】すなわち、まず、描画データ解析手段20
2は、描画データからRGB色空間特性を検出したか否
かの情報を色変換パラメータ設定部430へ送信する。
一方、イメージ描画データの中の画像データの部分は分
離されて、特徴量算出部410,420の両方に送られ
る。
That is, first, the drawing data analysis means 20
2 transmits to the color conversion parameter setting unit 430 information on whether or not the RGB color space characteristics have been detected from the drawing data.
On the other hand, a part of the image data in the image drawing data is separated and sent to both of the feature amount calculation units 410 and 420.

【0132】特徴量算出部410は、描画データ解析手
段202から画像データを受け取って色調補正を行うた
めの特徴量を算出し、算出した特徴量を補正内容決定部
411に与える。補正内容決定部411では、特徴量算
出部410で算出された特徴量を基に画像データをどの
ように補正するかを決定する(すなわち、補正内容を決
定する)。補正内容決定部411で補正内容が決まれ
ば、その結果を色変換パラメータ設定部430に与え
る。
The feature value calculation unit 410 receives the image data from the drawing data analysis unit 202, calculates a feature value for performing color tone correction, and provides the calculated feature value to the correction content determination unit 411. The correction content determination unit 411 determines how to correct the image data based on the feature value calculated by the feature value calculation unit 410 (that is, determines the correction content). When the correction content is determined by the correction content determination unit 411, the result is given to the color conversion parameter setting unit 430.

【0133】同様に、特徴量算出部420は、描画デー
タ解析手段202から画像データを受け取って色調補正
を行うための特徴量を算出し、算出した特徴量を補正内
容決定部421に与える。補正内容決定部421では、
特徴量算出部420で算出された特徴量を基に画像デー
タをどのように補正するかを決定する(すなわち、補正
内容を決定する)。補正内容決定部421で補正内容が
決まれば、その結果を色変換パラメータ設定部430に
与える。
Similarly, the feature value calculation unit 420 receives the image data from the drawing data analysis unit 202, calculates a feature value for performing color tone correction, and provides the calculated feature value to the correction content determination unit 421. In the correction content determining unit 421,
It is determined how to correct the image data based on the feature amount calculated by the feature amount calculation unit 420 (that is, the content of the correction is determined). When the correction content is determined by the correction content determination unit 421, the result is given to the color conversion parameter setting unit 430.

【0134】色変換パラメータ設定部430では、2種
類の補正内容決定部411,421から補正内容に関す
る情報を受け取って、補正を実現するような色変換パラ
メータを生成する。但し、2種類の補正内容決定部41
1,421からの2種類の補正内容のどちらの補正内容
に従って色変換パラメータを生成するかは、描画データ
解析手段202からのプロファイル情報の内容によって
制御する。
The color conversion parameter setting section 430 receives information on correction contents from the two types of correction content determination sections 411 and 421, and generates color conversion parameters for realizing correction. However, two types of correction content determination units 41
Which correction content of the two types of correction content from 421 and 421 is to be used to generate the color conversion parameter is controlled by the content of the profile information from the drawing data analysis means 202.

【0135】すなわち、描画データ解析手段202から
プロファイルが未定義であることを意味するコードを受
信した場合には、色変換パラメータ設定部430は、特
徴量算出部420および補正内容決定部421によって
決定された色調補正を実現する補正パラメータと画像処
理装置200に予め設定されているデフォルト色空間特
性とを入力信号用の色変換パラメータとして色変換処理
部402に与える。
That is, when a code indicating that the profile is undefined is received from the drawing data analysis means 202, the color conversion parameter setting section 430 determines the feature by the feature quantity calculation section 420 and the correction content determination section 421. The correction parameter for realizing the obtained color tone correction and the default color space characteristic preset in the image processing apparatus 200 are provided to the color conversion processing unit 402 as the color conversion parameter for the input signal.

【0136】一方、描画データ解析手段202からのプ
ロファイル情報が画像入力装置のRGB信号である場合
には、色変換パラメータ設定部430は、特徴量算出部
410および補正内容決定部411によって決定された
色調補正を実現する補正パラメータとプロファイル情報
に記述されている画像入力装置のRGB色空間特性情報
とを入力信号用の色変換パラメータとして色変換処理部
402に与える。
On the other hand, when the profile information from the drawing data analysis means 202 is the RGB signal of the image input device, the color conversion parameter setting section 430 is determined by the feature amount calculation section 410 and the correction content determination section 411. A correction parameter for realizing color tone correction and RGB color space characteristic information of the image input device described in the profile information are provided to the color conversion processing unit 402 as color conversion parameters for an input signal.

【0137】また、描画データ解析手段202からのプ
ロファイル情報が画像表示装置のRGB信号である場合
には、色変換パラメータ設定部430は、プロファイル
情報に記述されている画像入力装置のRGB色空間特性
情報を入力信号用の色変換パラメータとして色変換処理
部402に与える。
When the profile information from the drawing data analysis means 202 is an RGB signal of the image display device, the color conversion parameter setting section 430 sets the RGB color space characteristics of the image input device described in the profile information. Information is provided to the color conversion processing unit 402 as a color conversion parameter for an input signal.

【0138】色変換処理部402は、色変換パラメータ
設定部430から与えられた補正パラメータおよび色空
間特性などの色変換パラメータと予め装置内のROMな
どに記録されている出力デバイスの色空間特性情報を使
用して色変換処理を行う。
The color conversion processing unit 402 is provided with a color conversion parameter such as a correction parameter and a color space characteristic provided from the color conversion parameter setting unit 430 and color space characteristic information of an output device which is recorded in advance in a ROM or the like in the apparatus. Is used to perform color conversion processing.

【0139】具体的に、色変換処理部402は、まず、
補正パラメータに従って、RGB画像データに対し、ダ
イナミックレンジ変換,コントラスト変換,色バランス
変換などの階調変換を行った後、RGB色空間特性情報
を用いてRGB画像データを標準信号に変換する。次
に、出力デバイスの色空間特性情報を用いて標準信号を
画像出力装置(例えばプリンタ)104用の色データに
変換する。
More specifically, first, the color conversion processing unit 402
After performing gradation conversion such as dynamic range conversion, contrast conversion, and color balance conversion on the RGB image data according to the correction parameters, the RGB image data is converted into a standard signal using the RGB color space characteristic information. Next, the standard signal is converted into color data for the image output device (for example, a printer) 104 using the color space characteristic information of the output device.

【0140】上記の色変換処理では、階調変換,標準信
号変換,プリンタ変換を順に行ったが、もちろん、最初
に各パラメータを連結して入力RGB画像データを画像
出力装置(例えばプリンタ)の色データに変換するため
のパラメータを作成してから、1パスで画像データを変
換するようにしても良い。
In the above-described color conversion processing, gradation conversion, standard signal conversion, and printer conversion are performed in this order. Of course, the input RGB image data is first connected to convert the input RGB image data into the color of an image output device (eg, a printer). The image data may be converted in one pass after parameters for converting the data are created.

【0141】このように、第4の実施形態では、画像デ
ータのRGB色空間情報が定義されていない場合や、画
像生成装置の種類によって異なる色調補正処理を行う。
As described above, in the fourth embodiment, different color tone correction processing is performed depending on the case where the RGB color space information of the image data is not defined or the type of the image generating apparatus.

【0142】次に、第4の実施形態における色調補正処
理について具体的に説明する。
Next, the tone correction processing in the fourth embodiment will be specifically described.

【0143】前述したように、代表的な色調補正処理と
して、ダイナミックレンジ補正,色バランス補正,トー
ンカーブ補正などの補正処理がなされるが、それらの補
正が必要か否かを判定することについては、さまざまな
判定方式が提案されている。一般には、積極的に補正す
るか、原データからあまり大きく変化しないように補正
するかという考え方によって、方法が異なってくる。
As described above, as typical color tone correction processing, correction processing such as dynamic range correction, color balance correction, and tone curve correction is performed. However, it is determined whether these corrections are necessary. Various determination methods have been proposed. In general, the method differs depending on whether the correction is made positively or the correction is made so as not to change much from the original data.

【0144】第4の実施形態では、画像データがどの画
像生成装置で生成されているのかが不明な場合には、な
るべく原データから大きく変化しないような補正を行
い、画像データが画像入力装置で入力された画像である
ことがはっきりしている場合には積極的な色調補正を行
おうというものである。
In the fourth embodiment, when it is not clear which image generating device is used to generate image data, a correction is made so that the image data does not greatly change from the original data. If it is clear that the image is an input image, aggressive color tone correction is performed.

【0145】具体的に、まず、階調値の頻度分布(ヒス
トグラム)から画像の白色輝度,黒点輝度を特徴量とし
て求める。ダイナミックレンジの補正は、これらの値に
基づいて行う。このとき、拡大幅の制限を前述の2系統
の色調補正で変更する。例えば、補正内容決定部421
では、白色輝度がレベル200以上ならばダイナミック
レンジの拡大を行なうものとし、補正内容決定部411
では、白色輝度がレベル240以上ならばダイナミック
レンジの拡大を行うものとする。
More specifically, first, white luminance and black point luminance of an image are obtained from the frequency distribution (histogram) of gradation values as feature amounts. The dynamic range is corrected based on these values. At this time, the limit of the enlargement width is changed by the above-described two-system color tone correction. For example, the correction content determination unit 421
It is assumed that if the white luminance is at least level 200, the dynamic range is expanded, and the correction content determination unit 411
In this case, if the white luminance is equal to or higher than the level 240, the dynamic range is expanded.

【0146】このような判定を行うことにより、同じ階
調分布を持つ画像であっても、色空間特性情報が検出さ
れた場合には、ダイナミックレンジが大きく補正されな
いようにすることができる。
By making such a determination, it is possible to prevent the dynamic range from being greatly corrected when color space characteristic information is detected, even for images having the same gradation distribution.

【0147】同様に、色バランスの補正では、色かぶり
の判定レベルを変更することにより補正幅を限定するこ
とができる。また、RGB色空間特性情報が定義されて
いない場合には、色バランス補正そのものを行わないよ
うにして、画像入力装置による画像データであることが
明らかな場合にのみ色バランス補正を行うようにしても
よい。
Similarly, in the color balance correction, the correction width can be limited by changing the color cast determination level. When the RGB color space characteristic information is not defined, the color balance correction itself is not performed, and the color balance correction is performed only when it is clear that the image data is obtained by the image input device. Is also good.

【0148】また、トーンカーブ補正の場合には、画像
データの輝度値の中央値および分散値から求める補正幅
を変更することで補正パラメータを制御することもでき
るし、更には撮影状況の推定を行って特定の撮影状況の
場合だけ補正を行うようにしてもよい。
In the case of the tone curve correction, the correction parameters can be controlled by changing the correction width obtained from the median value and the variance of the luminance value of the image data, and further, the photographing state can be estimated. The correction may be performed only in a specific shooting situation.

【0149】例えば、撮影状況を判定した結果、RGB
色空間特性情報が定義されていない場合には、画像の種
類として逆光シーンについてのみ補正を行うこととし、
画像入力装置による画像データであることが明らかな場
合には、画像の種類として逆光以外の日中,夜景,室内
などの画像についても補正を行うようにすることができ
る。
For example, as a result of judging the photographing situation, RGB
When the color space characteristic information is not defined, the correction is performed only for the backlight scene as the image type,
When it is clear that the image data is image data obtained by the image input device, it is possible to perform correction on images of daytime, night view, indoors, etc. other than the backlight as the image type.

【0150】図13は第4の実施形態における画像処理
装置200の画像処理方法を説明するためのフローチャ
ートである。
FIG. 13 is a flowchart for explaining an image processing method of the image processing apparatus 200 according to the fourth embodiment.

【0151】図13を参照すると、まず、ステップS5
01では、画像データにプロファイルなどの色信号属性
情報が含まれているか否かを判定する(色信号属性情報
を検出できたか否かを判定する)。この結果、色信号属
性情報を検出できた場合には、ステップS502へ進
む。
Referring to FIG. 13, first, at step S5
In step 01, it is determined whether or not the image data includes color signal attribute information such as a profile (whether or not the color signal attribute information has been detected). As a result, if the color signal attribute information has been detected, the process proceeds to step S502.

【0152】ステップS502では、色信号属性情報を
読み取って画像データの生成元が画像入力装置か画像表
示装置かを判定する。この結果、画像データの生成元が
画像表示装置であると判定された場合には、ステップS
511へ進み、ステップS511では、ICCプロファ
イルなどの色信号属性情報に記述されているRGB色空
間特性を読み取り、読み取った色空間特性を用いて色変
換パラメータを設定する。
In step S502, the color signal attribute information is read to determine whether the source of the image data is an image input device or an image display device. As a result, when it is determined that the generation source of the image data is the image display device, step S
In step S511, RGB color space characteristics described in color signal attribute information such as an ICC profile are read, and color conversion parameters are set using the read color space characteristics.

【0153】これに対し、ステップS502において、
画像データの生成元が画像入力装置であると判定された
場合には、ステップS503〜S505の色調補正処理
を実行して色変換パラメータを設定する。即ち、まずス
テップS503では、画像データから色成分ごとの階調
値の度数分布を計算する。次に、ステップS504で
は、度数分布から前述した特徴量(例えば、白色輝度,
黒点輝度)を計算する。次に、ステップS505では、
ステップS504で求めた特徴量に基づき、画像データ
を補正する内容を決定する。補正内容としては、前述の
とおり、トーンカーブ補正,ダイナミックレンジ補正,
色バランス補正などである。
In contrast, in step S502,
If it is determined that the source of the image data is the image input device, the color conversion parameters are set by executing the color tone correction processing of steps S503 to S505. That is, first, in step S503, a frequency distribution of gradation values for each color component is calculated from the image data. Next, in step S504, the above-described feature amount (for example, white luminance,
Black point luminance). Next, in step S505,
The content for correcting the image data is determined based on the feature amount obtained in step S504. As described above, the correction contents include tone curve correction, dynamic range correction,
For example, color balance correction.

【0154】そして、どのような色調補正を行うかが決
まれば(補正内容が決定すれば)、ステップS506
で、その色調補正を実現するような色変換パラメータを
生成する。
If it is determined what kind of color tone correction is to be performed (if the correction content is determined), step S506 is performed.
Thus, a color conversion parameter for realizing the color tone correction is generated.

【0155】一方、ステップS501において色信号属
性情報を検出できなかった場合には、ステップS507
〜S509においてステップS503〜S505とは異
なった色調補正処理を行って色変換パラメータを設定す
る。すなわち、ステップS507では、画像データから
色成分ごとの階調値の度数分布を計算する。次に、ステ
ップS508で、度数分布から前述した特徴量(例え
ば、白色輝度,黒点輝度)を計算する。次に、ステップ
S509では、ステップS508で求めた特徴量に基づ
いて画像データを補正する内容を決定する。補正内容と
しては、ステップS505で決定される補正内容よりも
制限した内容にする。
On the other hand, if the color signal attribute information cannot be detected in step S501, the process proceeds to step S507.
In steps S509 to S509, color conversion parameters different from those in steps S503 to S505 are set to set color conversion parameters. That is, in step S507, the frequency distribution of the gradation values for each color component is calculated from the image data. Next, in step S508, the above-described feature amounts (for example, white luminance and black point luminance) are calculated from the frequency distribution. Next, in step S509, the content for correcting the image data is determined based on the feature amount obtained in step S508. The correction content is set to a content that is more limited than the correction content determined in step S505.

【0156】そして、どのような色調補正を行うかが決
まれば(補正内容が決定すれば)、ステップS510
で、その色調補正を実現するような色変換パラメータを
生成する。
When it is determined what kind of color tone correction is to be performed (if the correction content is determined), step S510 is performed.
Thus, a color conversion parameter for realizing the color tone correction is generated.

【0157】なお、上記処理において、ステップS50
3〜S505の色調補正処理と、ステップS507〜S
509の色調補正処理とで使用する度数分布や特徴量が
共通化可能な場合には、これらを共通化することもでき
る。
In the above processing, step S50
Color tone correction processing of 3 to S505 and steps S507 to S507
If the frequency distribution and the feature amount used in the color tone correction processing in step 509 can be shared, they can be shared.

【0158】このように、本発明の第4の実施形態で
は、画像データのRGB色空間特性情報が定義されてい
ない場合と、画像入力装置の色空間特性が明確に定義さ
れている場合とで、異なる色調補正を施すようにしてい
るので、各場合に応じた適切な色調補正を行なうことが
できる。
As described above, in the fourth embodiment of the present invention, the case where the RGB color space characteristic information of the image data is not defined and the case where the color space characteristic of the image input device is clearly defined. Since different color tone corrections are performed, appropriate color tone correction according to each case can be performed.

【0159】図14は図1,図2の画像処理システムの
ハードウェア構成例を示す図である。図14を参照する
と、この画像処理システムは、例えばワークステーショ
ンやパーソナルコンピュータ等で実現され、全体を制御
するCPU21と、CPU21の制御プログラム等が記
憶されているROM22と、CPU21のワークエリア
等として使用されるRAM23と、ハードディスク24
と、RGB画像データを入力するためのデジタルカメラ
101およびスキャナ102と、画像データを表示する
ためのディスプレイ100と、カラープリンタなどの画
像出力装置104とを有している。
FIG. 14 is a diagram showing an example of the hardware configuration of the image processing system shown in FIGS. Referring to FIG. 14, this image processing system is realized by, for example, a workstation or a personal computer, and is used as a CPU 21 for controlling the whole, a ROM 22 storing a control program of the CPU 21, and a work area of the CPU 21. RAM 23 and hard disk 24
And a digital camera 101 and a scanner 102 for inputting RGB image data, a display 100 for displaying image data, and an image output device 104 such as a color printer.

【0160】ここで、CPU21,ROM22,RAM
23,ハードディスク24は、図1,図2のコンピュー
タ103としての機能を有している。なお、この場合、
図1,図2の画像処理装置200の機能も、CPU21
にもたせることができる。
Here, CPU 21, ROM 22, RAM
23 and the hard disk 24 have a function as the computer 103 in FIGS. In this case,
The functions of the image processing apparatus 200 shown in FIGS.
Can be given.

【0161】なお、CPU21におけるこのような画像
処理装置としての機能は、例えばソフトウェアパッケー
ジ(具体的には、CD−ROM等の情報記録媒体)の形で
提供することができ、このため、図14の例では、情報
記録媒体30がセットさせるとき、これを駆動する媒体
駆動装置31が設けられている。
The function as such an image processing device in the CPU 21 can be provided, for example, in the form of a software package (specifically, an information recording medium such as a CD-ROM). In the example, when the information recording medium 30 is set, a medium driving device 31 that drives the information recording medium 30 is provided.

【0162】換言すれば、本発明の画像処理システム
は、イメージスキャナ,ディスプレイ等を備えた汎用の
計算機システムにCD−ROM等の情報記録媒体に記録
されたプログラムを読み込ませて、この汎用計算機シス
テムのマイクロプロセッサに画像処理を実行させる装置
構成においても実施することが可能である。この場合、
本発明の画像処理を実行するためのプログラム(すなわ
ち、ハードウェアシステムで用いられるプログラム)
は、媒体に記録された状態で提供される。プログラムな
どが記録される情報記録媒体としては、CD−ROMに
限られるものではなく、ROM,RAM,フレキシブル
ディスク,メモリカード等が用いられても良い。媒体に
記録されたプログラムは、ハードウェアシステムに組み
込まれている記憶装置、例えばハードディスク24にイ
ンストールされることにより、このプログラムを実行し
て、画像処理機能を実現することができる。
In other words, the image processing system of the present invention causes a general-purpose computer system having an image scanner, a display, and the like to read a program recorded on an information recording medium such as a CD-ROM, and It is also possible to implement the present invention in an apparatus configuration in which a microprocessor executes image processing. in this case,
A program for executing the image processing of the present invention (that is, a program used in a hardware system)
Is provided in a state recorded on a medium. The information recording medium on which the program or the like is recorded is not limited to a CD-ROM, but may be a ROM, a RAM, a flexible disk, a memory card, or the like. The program recorded on the medium is installed in a storage device incorporated in the hardware system, for example, the hard disk 24, so that the program can be executed to realize an image processing function.

【0163】また、本発明の画像処理システムを実現す
るためのプログラムは、媒体の形で提供されるのみなら
ず、通信によって(例えばサーバによって)提供されるも
のであっても良い。
A program for realizing the image processing system of the present invention may be provided not only in the form of a medium but also by communication (for example, by a server).

【0164】また、本発明は、写真フィルムを読み取る
ことによって得られた画像データやデジタルカメラから
得られた画像データなどの入力カラー画像信号を、カラ
ー・プリンタなどの画像出力装置に送出する画像記録信
号に変換する画像処理装置やカラー・プリンタ用のドラ
イバーソフト、画像編集ソフト、更にウェブ・ブラウジ
ング・アプリケーションなどに応用できる。
The present invention also relates to an image recording apparatus for transmitting an input color image signal such as image data obtained by reading a photographic film or image data obtained from a digital camera to an image output device such as a color printer. It can be applied to image processing devices that convert to signals, driver software for color printers, image editing software, and web browsing applications.

【0165】[0165]

【発明の効果】以上に説明したように、請求項1,請求
項2,請求項4,請求項8,請求項10記載の発明によ
れば、RGB画像データを含む描画データを受け取り、
描画データに含まれているRGB画像データの色調を補
正して画像出力装置に出力する機能を備えた画像処理シ
ステムにおいて、前記描画データからRGB画像データ
の色空間特性情報を抽出する描画データ解析手段と、前
記RGB画像データから所定の特徴量を求める特徴量算
出手段と、特徴量算出手段で算出された特徴量を用いて
前記RGB画像データの補正内容を決定する補正内容決
定手段と、色変換処理手段とを具備し、前記色変換処理
手段は、描画データ解析手段において前記RGB画像デ
ータの色空間特性情報を抽出できない場合にのみ、前記
補正内容決定手段によって決定された補正内容でRGB
画像データの色調補正処理を行うので、正確な色再現を
必要とするような画像に対して不要な補正処理が行われ
る危険性を回避することができる。
As described above, according to the first, second, fourth, eighth and tenth aspects of the present invention, drawing data including RGB image data is received.
In an image processing system having a function of correcting a color tone of RGB image data included in drawing data and outputting the corrected color tone to an image output device, a drawing data analyzing means for extracting color space characteristic information of RGB image data from the drawing data A feature value calculating means for obtaining a predetermined feature value from the RGB image data; a correction content determining means for determining the correction content of the RGB image data using the feature value calculated by the feature value calculating means; Processing means, wherein the color conversion processing means uses the correction content determined by the correction content determination means only when the drawing data analysis means cannot extract the color space characteristic information of the RGB image data.
Since the color tone correction processing of the image data is performed, the risk that unnecessary correction processing is performed on an image that requires accurate color reproduction can be avoided.

【0166】特に、請求項2記載の発明によれば、請求
項1記載の画像処理システムにおいて、前記色変換処理
手段は、前記描画データ解析手段によってRGB画像デ
ータの色空間特性を抽出できる場合には、RGB画像デ
ータの色空間特性と画像出力装置の色空間特性とを用い
て測色値が一致するように色変換処理を行うので、好ま
しい色再現と忠実色再現とを両立させることができる。
In particular, according to the second aspect of the present invention, in the image processing system according to the first aspect, the color conversion processing means is provided when the color space characteristics of the RGB image data can be extracted by the drawing data analysis means. Performs color conversion processing using the color space characteristics of the RGB image data and the color space characteristics of the image output device so that the colorimetric values match, so that both desirable color reproduction and faithful color reproduction can be achieved. .

【0167】また、請求項3乃至請求項7,請求項9,
請求項11記載の発明によれば、RGB画像データを含
む描画データを受け取り、描画データに含まれているR
GB画像データの色調を補正して画像出力装置に出力す
る機能を備えた画像処理システムにおいて、前記描画デ
ータからRGB画像データの色空間特性情報を抽出する
描画データ解析手段と、前記RGB画像データから所定
の特徴量を求める特徴量算出手段と、特徴量算出手段で
算出された特徴量を用いて前記RGB画像データに対す
る複数種類の補正内容を決定する補正内容決定手段と、
色変換処理手段とを具備し、前記色変換処理手段は、描
画データ解析手段においてRGB画像データの色空間特
性情報を抽出できる場合とRGB画像データの色空間特
性情報を抽出できない場合とで、複数種類の補正内容の
うち、互いに異なる補正内容を選択して異なる色調補正
処理をRGB画像データに対して行なうので、描画デー
タの属性に適した色調の補正を行なうことができる。
Further, claims 3 to 7, claim 9,
According to the eleventh aspect of the present invention, drawing data including RGB image data is received, and R included in the drawing data is received.
In an image processing system having a function of correcting a color tone of GB image data and outputting the corrected color tone to an image output device, a drawing data analyzing unit for extracting color space characteristic information of RGB image data from the drawing data, Feature value calculating means for obtaining a predetermined feature value; correction content determining means for determining a plurality of types of correction content for the RGB image data using the feature value calculated by the feature value calculating means;
Color conversion processing means, wherein the color conversion processing means determines whether or not the drawing data analysis means can extract the color space characteristic information of the RGB image data and when the color space characteristic information of the RGB image data cannot be extracted. Since different correction contents are selected from among the types of correction contents and different color tone correction processes are performed on the RGB image data, it is possible to correct the color tone suitable for the attribute of the drawing data.

【0168】また、請求項4記載の発明によれば、請求
項1または請求項3記載の画像処理システムにおいて、
前記色変換処理手段は、少なくとも画像データのダイナ
ミックレンジ,トーンカーブ,色バランスのいずれかを
補正する色調補正処理を行なうようになっているので、
デジタルカメラでの撮影時にAEがうまく機能しなかっ
たりフラッシュ光がうまく被写体に照明されなかった
り、逆光時にフラッシュが発光しなかったりしたような
画像を適切に補正できる。
According to the fourth aspect of the present invention, in the image processing system according to the first or third aspect,
Since the color conversion processing means performs at least one of a dynamic range, a tone curve, and a color balance of the image data, the color conversion processing means performs the color tone correction processing.
It is possible to appropriately correct an image in which the AE does not function well, the flash light does not illuminate the subject well when photographing with a digital camera, or the flash does not emit light when the subject is backlit.

【0169】また、請求項5記載の発明によれば、請求
項3記載の画像処理システムにおいて、前記描画データ
解析手段においてRGB画像データの色空間特性を抽出
できる場合には、RGB画像データの色空間特性を抽出
できない場合に比べて、補正内容として、補正対象とす
る画像の種類を限定するので、描画データの記述内容に
応じて、補正の必要性を正確に判定することができる。
According to a fifth aspect of the present invention, in the image processing system according to the third aspect, when the color space characteristics of the RGB image data can be extracted by the drawing data analysis means, the color of the RGB image data can be extracted. Since the type of image to be corrected is limited as the content of the correction as compared with the case where the spatial characteristics cannot be extracted, the necessity of correction can be accurately determined according to the description content of the drawing data.

【0170】また、請求項6記載の発明によれば、請求
項3記載の画像処理システムにおいて、前記描画データ
解析手段においてRGB画像データの色空間特性を抽出
できる場合には、RGB画像データの色空間特性を抽出
できない場合に比べて、補正内容として、補正対象とす
る特徴量の判定基準を限定するので、色空間特性情報を
抽出できる場合には、抽出できない場合に比べて少ない
補正幅を適用するので描画データの記述内容に応じて、
補正量を適切に設定することができる。
According to a sixth aspect of the present invention, in the image processing system according to the third aspect, when the color space characteristics of the RGB image data can be extracted by the drawing data analysis means, the color of the RGB image data can be extracted. As compared with the case where the spatial characteristics cannot be extracted, the criterion for determining the feature amount to be corrected is limited as the correction content. So, according to the description contents of the drawing data,
The correction amount can be set appropriately.

【0171】また、請求項7記載の発明によれば、請求
項3記載の画像処理システムにおいて、前記描画データ
解析手段においてRGB画像データの色空間特性を抽出
できない場合には、画像データを用いて被写体の明るさ
を判定して補正内容を決定し、該補正内容でRGB画像
データの色調補正処理を行ない、RGB画像データの色
空間特性を抽出できる場合には、画像全体の明るさを判
定して補正内容を決定し、該補正内容でRGB画像デー
タの色調補正処理を行なうので、色調補正が必要である
可能性が低い画像に対して被写体の推定エラーによる画
質劣化を少なくできる。
According to the invention of claim 7, in the image processing system of claim 3, if the color space characteristics of the RGB image data cannot be extracted by the drawing data analyzing means, the image data is used. The brightness of the subject is determined to determine the content of the correction, and the color content correction processing of the RGB image data is performed based on the correction content. If the color space characteristics of the RGB image data can be extracted, the brightness of the entire image is determined. Since the correction content is determined by the correction and the color correction process of the RGB image data is performed using the correction content, it is possible to reduce the deterioration of the image quality due to the estimation error of the subject with respect to the image which is unlikely to require the color tone correction.

【0172】また、請求項12乃至請求項21記載の発
明によれば、RGB画像データを生成した画像生成装置
の種類を前記描画データから読み取り、読み取った画像
生成装置の種類に応じて、RGB画像データの色調を補
正するか否かを切り替えるので、正確な色再現を必要と
するような画像に対して不要な補正処理が行われる危険
性を回避することができる。
According to the twelfth aspect of the present invention, the type of the image generating device that has generated the RGB image data is read from the drawing data, and the RGB image data is read in accordance with the type of the read image generating device. Since it is switched whether or not to correct the color tone of the data, it is possible to avoid the risk of performing unnecessary correction processing on an image that requires accurate color reproduction.

【0173】特に、請求項13記載の発明によれば、請
求項12記載の画像処理システムにおいて、前記画像生
成装置が画像表示装置である場合には、前記色変換処理
手段は、色調補正処理を行なわず、画像表示装置の色空
間特性と画像出力装置の色空間特性とを用いて測色値が
一致するように色変換処理を行うようにしており、これ
により、例えばコンピュータ上で作成/修正された画像
が不用意に変更されないようにすることができる。
In particular, according to the invention of claim 13, in the image processing system of claim 12, when the image generation device is an image display device, the color conversion processing means performs a color tone correction process. Instead, a color conversion process is performed using the color space characteristics of the image display device and the color space characteristics of the image output device so that the colorimetric values match, and thereby, for example, creation / correction on a computer It is possible to prevent the changed image from being changed carelessly.

【0174】また、請求項14記載の発明によれば、請
求項12記載の画像処理システムにおいて、前記画像生
成装置が画像入力装置である場合には、前記色変換処理
手段は、補正内容決定手段によって決定された補正内容
に従い、少なくとも画像データのダイナミックレンジ,
トーンカーブ,色バランスのいずれかを補正する色調補
正処理を行なうようになっており、色修正が施されてい
ない画像を特定して適切な色修正を自動的に行うことが
できる。
According to the fourteenth aspect of the present invention, in the image processing system according to the twelfth aspect, when the image generation device is an image input device, the color conversion processing means includes a correction content determination means. At least the dynamic range of the image data,
A color tone correction process for correcting any one of the tone curve and the color balance is performed, and an image that has not been subjected to color correction can be specified and appropriate color correction can be automatically performed.

【0175】また、請求項15記載の発明によれば、請
求項12記載の画像処理システムにおいて、前記画像生
成装置が判別できない場合には、前記色変換処理手段
は、補正内容決定手段によって決定された補正内容に従
い、少なくとも画像データのダイナミックレンジ,トー
ンカーブ,色バランスのいずれかを補正する色調補正処
理を行なうようになっており、これにより、例えば、画
像出力装置が想定している色信号と異なる色空間特性を
もった画像データが入力された場合にも、適切な色修正
を自動的に行うことができる。
According to a fifteenth aspect of the present invention, in the image processing system according to the twelfth aspect, when the image generation device cannot be determined, the color conversion processing means is determined by the correction content determining means. In accordance with the correction content, at least one of the dynamic range, the tone curve, and the color balance of the image data is corrected, so that, for example, a color signal assumed by the image output device is corrected. Even when image data having different color space characteristics is input, appropriate color correction can be automatically performed.

【0176】また、請求項16記載の発明によれば、請
求項12記載の画像処理システムにおいて、前記画像生
成装置が定義されていない場合には、前記画像生成装置
が画像入力装置である場合に比べて、補正対象とする画
像の種類を限定して色調補正処理を行なうので、描画デ
ータの記述内容に応じて、補正の必要性を正確に判定す
ることができる。
According to the sixteenth aspect of the present invention, in the image processing system according to the twelfth aspect, when the image generation device is not defined, the image generation device is an image input device. In comparison, since the color tone correction processing is performed by limiting the type of image to be corrected, the necessity of correction can be accurately determined according to the description content of the drawing data.

【0177】また、請求項17記載の発明によれば、請
求項12記載の画像処理システムにおいて、前記画像生
成装置が定義されていない場合には、前記画像生成装置
が画像入力装置である場合に比べて、補正対象とする特
徴量の基準を限定して色調補正処理を行なうので、描画
データの記述内容に応じて、補正量を適切に設定するこ
とができる。
According to the seventeenth aspect of the present invention, in the image processing system according to the twelfth aspect, when the image generation device is not defined, the image generation device is an image input device. On the other hand, since the color tone correction process is performed by limiting the criterion of the feature amount to be corrected, the correction amount can be appropriately set according to the description content of the drawing data.

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

【図1】本発明に係る画像処理システムの一例を示す図
である。
FIG. 1 is a diagram showing an example of an image processing system according to the present invention.

【図2】図1の画像処理システムにおけるコンピュータ
および画像処理装置の処理機能を説明するための図であ
る。
FIG. 2 is a diagram for explaining processing functions of a computer and an image processing device in the image processing system of FIG. 1;

【図3】本発明の第1,第3の実施形態における描画デ
ータ解析手段,イメージ用画像処理手段の構成例を示す
図である。
FIG. 3 is a diagram illustrating a configuration example of a drawing data analysis unit and an image image processing unit according to the first and third embodiments of the present invention.

【図4】代表的な色調補正方法の例を説明するためのフ
ロチャートである。
FIG. 4 is a flowchart for explaining an example of a typical color tone correction method.

【図5】輝度ヒストグラムの一例を示す図である。FIG. 5 is a diagram illustrating an example of a luminance histogram.

【図6】ルックアップテーブルを示す図である。FIG. 6 is a diagram showing a lookup table.

【図7】第1の実施形態の画像処理装置の画像処理方法
を説明するためのフローチャートである。
FIG. 7 is a flowchart illustrating an image processing method of the image processing apparatus according to the first embodiment.

【図8】本発明の第2,第4の実施形態における描画デ
ータ解析手段,イメージ用画像処理手段の構成例を示す
図である。
FIG. 8 is a diagram showing a configuration example of a drawing data analysis unit and an image image processing unit according to the second and fourth embodiments of the present invention.

【図9】第2の実施形態における画像処理装置の画像処
理方法を説明するためのフローチャートである。
FIG. 9 is a flowchart illustrating an image processing method of the image processing apparatus according to the second embodiment.

【図10】ICCプロファイルのデータ形式を示す図で
ある。
FIG. 10 is a diagram showing a data format of an ICC profile.

【図11】色変換パラメータ設定部における入力用の色
変換パラメータの設定動作を説明するためのフローチャ
ートである。
FIG. 11 is a flowchart illustrating an operation of setting a color conversion parameter for input in a color conversion parameter setting unit.

【図12】第3の実施形態の画像処理装置の画像処理方
法を説明するためのフローチャートである。
FIG. 12 is a flowchart illustrating an image processing method of the image processing apparatus according to the third embodiment.

【図13】第4の実施形態の画像処理装置の画像処理方
法を説明するためのフローチャートである。
FIG. 13 is a flowchart illustrating an image processing method of the image processing apparatus according to the fourth embodiment.

【図14】本発明の画像処理システムのハードウェア構
成例を示す図である。
FIG. 14 is a diagram illustrating an example of a hardware configuration of an image processing system according to the present invention.

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

100 ディスプレイ 101 デジタルカメラ 102 スキャナ 103 コンピュータ 104 画像出力装置 200 画像処理装置 201 バッファメモリ 202 描画データ解析手段 203 グラフィックス用画像処理手段 204 イメージ用画像処理手段 205 テキスト用画像処理手段 206 ラスタイメージ生成手段 207 送信データ生成手段 302 特徴量算出部 303 補正内容決定部 304 色変換パラメータ設定部 305 色変換処理部 410,420 特徴量算出部 411,412 補正内容決定部 430 色変換パラメータ設定部 402 色変換処理部 21 CPU 22 ROM 23 RAM 24 ハードディスク 30 情報記憶媒体 31 媒体駆動装置 REFERENCE SIGNS LIST 100 display 101 digital camera 102 scanner 103 computer 104 image output device 200 image processing device 201 buffer memory 202 drawing data analysis means 203 graphics image processing means 204 image image processing means 205 text image processing means 206 raster image generation means 207 Transmission data generation means 302 Feature amount calculation unit 303 Correction content determination unit 304 Color conversion parameter setting unit 305 Color conversion processing unit 410, 420 Feature amount calculation units 411, 412 Correction content determination unit 430 Color conversion parameter setting unit 402 Color conversion processing unit 21 CPU 22 ROM 23 RAM 24 Hard Disk 30 Information Storage Medium 31 Medium Drive

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B021 AA01 LG07 5B057 CA01 CA08 CA12 CA16 CB01 CB06 CB12 CB16 CC01 CE11 CE17 CH07 5C077 LL19 MP08 PP31 PP32 PP37 PP66 PQ08 PQ19 5C079 HB01 LA01 LA12 LA23 LA31 LB02 NA02 NA03 NA18 NA29 ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5B021 AA01 LG07 5B057 CA01 CA08 CA12 CA16 CB01 CB06 CB12 CB16 CC01 CE11 CE17 CH07 5C077 LL19 MP08 PP31 PP32 PP37 PP66 PQ08 PQ19 5C079 HB01 LA01 LA12 LA23 LA31 LB02 NA02

Claims (21)

【特許請求の範囲】[Claims] 【請求項1】 RGB画像データを含む描画データを受
け取り、描画データに含まれているRGB画像データの
色調を補正して画像出力装置に出力する機能を備えた画
像処理システムにおいて、前記描画データからRGB画
像データの色空間特性情報を抽出する描画データ解析手
段と、前記RGB画像データから所定の特徴量を求める
特徴量算出手段と、特徴量算出手段で算出された特徴量
を用いて前記RGB画像データの補正内容を決定する補
正内容決定手段と、色変換処理手段とを具備し、前記色
変換処理手段は、描画データ解析手段において前記RG
B画像データの色空間特性情報を抽出できない場合にの
み、前記補正内容決定手段によって決定された補正内容
でRGB画像データの色調補正処理を行うことを特徴と
する画像処理システム。
1. An image processing system having a function of receiving drawing data including RGB image data, correcting the color tone of the RGB image data included in the drawing data, and outputting the corrected data to an image output device. Drawing data analysis means for extracting color space characteristic information of the RGB image data, feature quantity calculation means for obtaining a predetermined feature quantity from the RGB image data, and the RGB image using the feature quantity calculated by the feature quantity calculation means A correction content determining unit for determining the correction content of the data; and a color conversion processing unit.
An image processing system comprising: performing color tone correction processing of RGB image data with the correction content determined by the correction content determination means only when color space characteristic information of B image data cannot be extracted.
【請求項2】 請求項1記載の画像処理システムにおい
て、前記色変換処理手段は、前記描画データ解析手段に
よってRGB画像データの色空間特性を抽出できる場合
には、RGB画像データの色空間特性と画像出力装置の
色空間特性とを用いて測色値が一致するように色変換処
理を行うことを特徴とする画像処理システム。
2. The image processing system according to claim 1, wherein the color conversion processing unit determines a color space characteristic of the RGB image data if the drawing data analysis unit can extract a color space characteristic of the RGB image data. An image processing system that performs a color conversion process using a color space characteristic of an image output device so that colorimetric values match.
【請求項3】 RGB画像データを含む描画データを受
け取り、描画データに含まれているRGB画像データの
色調を補正して画像出力装置に出力する機能を備えた画
像処理システムにおいて、前記描画データからRGB画
像データの色空間特性情報を抽出する描画データ解析手
段と、前記RGB画像データから所定の特徴量を求める
特徴量算出手段と、特徴量算出手段で算出された特徴量
を用いて前記RGB画像データに対する複数種類の補正
内容を決定する補正内容決定手段と、色変換処理手段と
を具備し、前記色変換処理手段は、描画データ解析手段
においてRGB画像データの色空間特性情報を抽出でき
る場合とRGB画像データの色空間特性情報を抽出でき
ない場合とで、複数種類の補正内容のうち、互いに異な
る補正内容を選択して異なる色調補正処理をRGB画像
データに対して行なうことを特徴とする画像処理システ
ム。
3. An image processing system having a function of receiving drawing data including RGB image data, correcting the color tone of the RGB image data included in the drawing data, and outputting the corrected data to an image output device. Drawing data analysis means for extracting color space characteristic information of the RGB image data, feature quantity calculation means for obtaining a predetermined feature quantity from the RGB image data, and the RGB image using the feature quantity calculated by the feature quantity calculation means A correction content determining means for determining a plurality of types of correction content for the data; and a color conversion processing means, wherein the color conversion processing means can extract color space characteristic information of the RGB image data by the drawing data analysis means. When the color space characteristic information of the RGB image data cannot be extracted, different correction contents are selected from among a plurality of types of correction contents. An image processing system for performing different color tone correction processing on RGB image data.
【請求項4】 請求項1または請求項3記載の画像処理
システムにおいて、前記色変換処理手段は、少なくとも
画像データのダイナミックレンジ,トーンカーブ,色バ
ランスのいずれかを補正する色調補正処理を行なうよう
になっていることを特徴とする画像処理システム。
4. The image processing system according to claim 1, wherein said color conversion processing means performs color tone correction processing for correcting at least one of a dynamic range, a tone curve, and a color balance of the image data. An image processing system, comprising:
【請求項5】 請求項3記載の画像処理システムにおい
て、前記描画データ解析手段においてRGB画像データ
の色空間特性を抽出できる場合には、RGB画像データ
の色空間特性を抽出できない場合に比べて、補正内容と
して、補正対象とする画像の種類を限定することを特徴
とする画像処理システム。
5. The image processing system according to claim 3, wherein when the color space characteristics of the RGB image data can be extracted by the drawing data analyzing means, the color space characteristics of the RGB image data cannot be extracted. An image processing system wherein the type of image to be corrected is limited as the correction content.
【請求項6】 請求項3記載の画像処理システムにおい
て、前記描画データ解析手段においてRGB画像データ
の色空間特性を抽出できる場合には、RGB画像データ
の色空間特性を抽出できない場合に比べて、補正内容と
して、補正対象とする特徴量の判定基準を限定すること
を特徴とする画像処理システム。
6. The image processing system according to claim 3, wherein when the drawing data analysis means can extract the color space characteristics of the RGB image data, compared to when the color space characteristics of the RGB image data cannot be extracted. An image processing system characterized in that, as correction contents, a criterion for determining a feature amount to be corrected is limited.
【請求項7】 請求項3記載の画像処理システムにおい
て、前記描画データ解析手段においてRGB画像データ
の色空間特性を抽出できない場合には、画像データを用
いて被写体の明るさを判定して補正内容を決定し、該補
正内容でRGB画像データの色調補正処理を行ない、R
GB画像データの色空間特性を抽出できる場合には、画
像全体の明るさを判定して補正内容を決定し、該補正内
容でRGB画像データの色調補正処理を行なうことを特
徴とする画像処理システム。
7. The image processing system according to claim 3, wherein when the drawing data analysis means cannot extract the color space characteristics of the RGB image data, the brightness of the subject is determined using the image data and the correction content is determined. Is determined, and a color tone correction process is performed on the RGB image data with the correction contents.
When the color space characteristics of the GB image data can be extracted, the brightness of the entire image is determined to determine the correction content, and the correction content performs the color tone correction process of the RGB image data. .
【請求項8】 RGB画像データを含む描画データを受
け取り、RGB画像データの色調を補正して画像出力装
置に出力する画像処理方法において、前記描画データに
RGB画像データの色空間特性情報が含まれているか否
かを判別し、色空間特性情報が含まれていない場合に
は、前記RGB画像データから所定の特徴量を求め、該
所定の特徴量を用いてRGB画像データの色調補正を行
うことを特徴とする画像処理方法。
8. An image processing method for receiving drawing data including RGB image data, correcting the color tone of the RGB image data, and outputting the corrected image data to an image output device, wherein the drawing data includes color space characteristic information of the RGB image data. If color space characteristic information is not included, a predetermined characteristic amount is obtained from the RGB image data, and color tone correction of the RGB image data is performed using the predetermined characteristic amount. An image processing method characterized by the following.
【請求項9】 RGB画像データを含む描画データを受
け取り、RGB画像データの色調を補正して画像出力装
置に出力する画像処理方法において、前記描画データに
RGB画像データの色空間特性情報が含まれているか否
かを判別し、色空間特性情報が含まれている場合には、
色空間特性情報が含まれていない場合に比べて、補正範
囲が限定された色調補正を行うことを特徴とする画像処
理方法。
9. An image processing method for receiving drawing data including RGB image data, correcting the color tone of the RGB image data, and outputting the corrected image data to an image output device, wherein the drawing data includes color space characteristic information of the RGB image data. And if the color space characteristic information is included,
An image processing method comprising performing color tone correction with a limited correction range as compared with a case where color space characteristic information is not included.
【請求項10】 RGB画像データを含む描画データを
受け取り、RGB画像データの色調を補正して画像出力
装置に出力する際に、前記描画データにRGB画像デー
タの色空間特性情報が含まれているか否かを判別し、色
空間特性情報が含まれていない場合には、前記RGB画
像データから所定の特徴量を求め、該所定の特徴量を用
いてRGB画像データの色調補正を行う処理をコンピュ
ータに実行させるプログラムを記録したコンピュータ読
み取り可能な記録媒体。
10. When receiving drawing data including RGB image data, correcting the color tone of the RGB image data, and outputting the corrected data to an image output device, whether the drawing data includes color space characteristic information of the RGB image data. It is determined whether the color space characteristic information is not included, and if the color space characteristic information is not included, a predetermined feature amount is obtained from the RGB image data, and the color tone correction of the RGB image data is performed using the predetermined feature amount. A computer-readable recording medium recording a program to be executed by a computer.
【請求項11】 RGB画像データを含む描画データを
受け取り、RGB画像データの色調を補正して画像出力
装置に出力する際に、前記描画データにRGB画像デー
タの色空間特性情報が含まれているか否かを判別し、色
空間特性情報が含まれている場合には、色空間特性情報
が含まれていない場合に比べて、補正範囲が限定された
色調補正を行う処理をコンピュータに実行させるプログ
ラムを記録したコンピュータ読み取り可能な記録媒体。
11. When receiving drawing data including RGB image data, correcting the color tone of the RGB image data, and outputting the corrected image data to an image output device, whether the drawing data includes color space characteristic information of the RGB image data. A program for causing a computer to execute a process of performing color tone correction with a limited correction range when color space characteristic information is included, as compared with a case where color space characteristic information is not included. A computer-readable recording medium on which is recorded.
【請求項12】 RGB画像データを含む描画データを
受け取り、描画データに含まれているRGB画像データ
の色調を補正して画像出力装置に出力する機能を備えた
画像処理システムにおいて、RGB画像データを生成し
た画像生成装置の種類を前記描画データから検出する描
画データ解析手段と、RGB画像データから所定の特徴
量を求める特徴量算出手段と、特徴量算出手段で算出さ
れた特徴量を用いて前記RGB画像データの補正内容を
決定する補正内容決定手段と、色変換処理手段とを具備
し、前記色変換処理手段は、描画データ解析手段によっ
て検出された画像生成装置の種類に応じて、補正内容決
定手段によって決定された補正内容でRGB画像データ
の色調補正処理を行なうか否かを切り替えるようになっ
ていることを特徴とする画像処理システム。
12. An image processing system having a function of receiving drawing data including RGB image data, correcting the color tone of the RGB image data included in the drawing data, and outputting the corrected RGB image data to an image output device. A drawing data analyzing unit that detects a type of the generated image generating apparatus from the drawing data; a feature amount calculating unit that obtains a predetermined feature amount from the RGB image data; and a feature amount calculated by the feature amount calculating unit. A correction content determining unit for determining the correction content of the RGB image data; and a color conversion processing unit, wherein the color conversion processing unit corrects the correction content in accordance with the type of the image generating apparatus detected by the drawing data analysis unit. It is characterized by switching whether or not to perform the color tone correction processing of the RGB image data according to the correction contents determined by the determining means. Image processing system.
【請求項13】 請求項12記載の画像処理システムに
おいて、前記画像生成装置が画像表示装置である場合に
は、前記色変換処理手段は、色調補正処理を行なわず、
画像表示装置の色空間特性と画像出力装置の色空間特性
とを用いて測色値が一致するように色変換処理を行うこ
とを特徴とする画像処理システム。
13. The image processing system according to claim 12, wherein when the image generation device is an image display device, the color conversion processing unit does not perform a color tone correction process.
An image processing system that performs a color conversion process using a color space characteristic of an image display device and a color space characteristic of an image output device so that colorimetric values match.
【請求項14】 請求項12記載の画像処理システムに
おいて、前記画像生成装置が画像入力装置である場合に
は、前記色変換処理手段は、補正内容決定手段によって
決定された補正内容に従い、少なくとも画像データのダ
イナミックレンジ,トーンカーブ,色バランスのいずれ
かを補正する色調補正処理を行なうようになっているこ
とを特徴とする画像処理システム。
14. The image processing system according to claim 12, wherein when the image generation device is an image input device, the color conversion processing means determines at least an image according to the correction content determined by the correction content determination means. An image processing system for performing a color tone correction process for correcting any one of a dynamic range, a tone curve, and a color balance of data.
【請求項15】 請求項12記載の画像処理システムに
おいて、前記画像生成装置が判別できない場合には、前
記色変換処理手段は、補正内容決定手段によって決定さ
れた補正内容に従い、少なくとも画像データのダイナミ
ックレンジ,トーンカーブ,色バランスのいずれかを補
正する色調補正処理を行なうようになっていることを特
徴とする画像処理システム。
15. The image processing system according to claim 12, wherein when the image generation device cannot be determined, the color conversion processing unit determines at least dynamic image data according to the correction content determined by the correction content determination unit. An image processing system for performing a color tone correction process for correcting any one of a range, a tone curve, and a color balance.
【請求項16】 請求項12記載の画像処理システムに
おいて、前記画像生成装置が定義されていない場合に
は、前記画像生成装置が画像入力装置である場合に比べ
て、補正対象とする画像の種類を限定して色調補正処理
を行なうことを特徴とする画像処理システム。
16. The image processing system according to claim 12, wherein when the image generation device is not defined, the type of the image to be corrected is smaller than when the image generation device is an image input device. An image processing system characterized in that a color tone correction process is performed by limiting the color tone.
【請求項17】 請求項12記載の画像処理システムに
おいて、前記画像生成装置が定義されていない場合に
は、前記画像生成装置が画像入力装置である場合に比べ
て、補正対象とする特徴量の基準を限定して色調補正処
理を行なうことを特徴とする画像処理システム。
17. The image processing system according to claim 12, wherein when the image generation device is not defined, the feature amount to be corrected is smaller than when the image generation device is an image input device. An image processing system wherein a color tone correction process is performed by limiting a reference.
【請求項18】 RGB画像データを含む描画データを
受け取り、RGB画像データの色調を補正して画像出力
装置に出力する画像処理方法において、RGB画像デー
タを生成した画像生成装置の種類を前記描画データから
読み取り、読み取った画像生成装置の種類に応じて、R
GB画像データの色調を補正するか否かを切り替えるこ
とを特徴とする画像処理方法。
18. An image processing method for receiving drawing data including RGB image data, correcting the color tone of the RGB image data, and outputting the corrected image data to an image output device, wherein the type of the image generating device that generated the RGB image data is set to the drawing data. , And according to the type of the read image generating apparatus, R
An image processing method characterized by switching whether or not to correct the color tone of GB image data.
【請求項19】 請求項18記載の画像処理方法におい
て、画像生成装置の種類が画像表示装置であるときには
RGB画像データの色調補正処理を行なわず、画像生成
装置の種類が画像入力装置かあるいは不明であるときに
はRGB画像データの色調補正処理を行なうことを特徴
とする画像処理方法。
19. The image processing method according to claim 18, wherein when the type of the image generating device is an image display device, the tone correction processing of the RGB image data is not performed, and the type of the image generating device is an image input device or an unknown type. And performing a color tone correction process on the RGB image data.
【請求項20】 請求項19記載の画像処理方法におい
て、画像生成装置の種類が画像入力装置である場合と不
明である場合とで、異なる色調補正処理を行なうことを
特徴とする画像処理方法。
20. The image processing method according to claim 19, wherein different color tone correction processes are performed when the type of the image generation device is an image input device and when the type is unknown.
【請求項21】 RGB画像データを生成した画像生成
装置の種類を前記描画データから読み取り、読み取った
画像生成装置の種類に応じて、RGB画像データの色調
を補正するか否かを切り替える処理をコンピュータに実
行させるプログラムを記録したコンピュータ読み取り可
能な記録媒体。
21. A computer which reads a type of an image generating device that has generated RGB image data from the drawing data and switches whether or not to correct the color tone of the RGB image data according to the type of the read image generating device. A computer-readable recording medium recording a program to be executed by a computer.
JP2000206852A 2000-07-04 2000-07-04 Image processing system, image processing method, and recording medium Expired - Fee Related JP4150490B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000206852A JP4150490B2 (en) 2000-07-04 2000-07-04 Image processing system, image processing method, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000206852A JP4150490B2 (en) 2000-07-04 2000-07-04 Image processing system, image processing method, and recording medium

Publications (2)

Publication Number Publication Date
JP2002027266A true JP2002027266A (en) 2002-01-25
JP4150490B2 JP4150490B2 (en) 2008-09-17

Family

ID=18703713

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000206852A Expired - Fee Related JP4150490B2 (en) 2000-07-04 2000-07-04 Image processing system, image processing method, and recording medium

Country Status (1)

Country Link
JP (1) JP4150490B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004166147A (en) * 2002-11-15 2004-06-10 Seiko Epson Corp Self-adjustment of image quality according to brightness of object
JP2007293528A (en) * 2006-04-24 2007-11-08 Konica Minolta Photo Imaging Inc Imaging device, image processing device, image processing method and image processing program
JP2008141724A (en) * 2006-11-06 2008-06-19 Fuji Xerox Co Ltd Image processing apparatus, image reproducing system, and image processing program
US8478027B2 (en) 2006-11-06 2013-07-02 Fuji Xerox Co., Ltd. Image processing apparatus, image reproducing system and computer-readable medium
CN103563347A (en) * 2011-05-27 2014-02-05 杜比实验室特许公司 Scalable systems for controlling color management comprising varying levels of metadata
US9532022B2 (en) 2011-12-19 2016-12-27 Dolby Laboratories Licensing Corporation Color grading apparatus and methods
CN110428377A (en) * 2019-07-26 2019-11-08 北京百度网讯科技有限公司 Data extending method, apparatus, equipment and medium
CN112528755A (en) * 2020-11-19 2021-03-19 上海至冕伟业科技有限公司 Intelligent identification method for fire-fighting evacuation facilities

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004166147A (en) * 2002-11-15 2004-06-10 Seiko Epson Corp Self-adjustment of image quality according to brightness of object
JP2007293528A (en) * 2006-04-24 2007-11-08 Konica Minolta Photo Imaging Inc Imaging device, image processing device, image processing method and image processing program
JP2008141724A (en) * 2006-11-06 2008-06-19 Fuji Xerox Co Ltd Image processing apparatus, image reproducing system, and image processing program
US8478027B2 (en) 2006-11-06 2013-07-02 Fuji Xerox Co., Ltd. Image processing apparatus, image reproducing system and computer-readable medium
CN103873738B (en) * 2011-05-27 2016-09-07 杜比实验室特许公司 The scalable system for controlling color management including the metadata grade of change
US11218709B2 (en) 2011-05-27 2022-01-04 Dolby Laboratories Licensing Corporation Scalable systems for controlling color management comprising varying levels of metadata
JP2014523661A (en) * 2011-05-27 2014-09-11 ドルビー ラボラトリーズ ライセンシング コーポレイション Scalable system to control color management including various levels of metadata
US9111330B2 (en) 2011-05-27 2015-08-18 Dolby Laboratories Licensing Corporation Scalable systems for controlling color management comprising varying levels of metadata
CN103563347A (en) * 2011-05-27 2014-02-05 杜比实验室特许公司 Scalable systems for controlling color management comprising varying levels of metadata
CN103563347B (en) * 2011-05-27 2016-10-05 杜比实验室特许公司 The scalable system for controlling color management including the metadata grade of change
CN106101483A (en) * 2011-05-27 2016-11-09 杜比实验室特许公司 The scalable system for controlling color management including the metadata grade of change
US11917171B2 (en) 2011-05-27 2024-02-27 Dolby Laboratories Licensing Corporation Scalable systems for controlling color management comprising varying levels of metadata
US11736703B2 (en) 2011-05-27 2023-08-22 Dolby Laboratories Licensing Corporation Scalable systems for controlling color management comprising varying levels of metadata
CN103873738A (en) * 2011-05-27 2014-06-18 杜比实验室特许公司 Scalable Systems for Controlling Color Management Comprising Varying Levels of Metadata
US9532022B2 (en) 2011-12-19 2016-12-27 Dolby Laboratories Licensing Corporation Color grading apparatus and methods
CN110428377B (en) * 2019-07-26 2023-06-30 北京康夫子健康技术有限公司 Data expansion method, device, equipment and medium
CN110428377A (en) * 2019-07-26 2019-11-08 北京百度网讯科技有限公司 Data extending method, apparatus, equipment and medium
CN112528755A (en) * 2020-11-19 2021-03-19 上海至冕伟业科技有限公司 Intelligent identification method for fire-fighting evacuation facilities

Also Published As

Publication number Publication date
JP4150490B2 (en) 2008-09-17

Similar Documents

Publication Publication Date Title
US7436995B2 (en) Image-processing apparatus, image-capturing apparatus, image-processing method and image-processing program
JP3520859B2 (en) Image file output image adjustment
US7825962B2 (en) Image generation with integrating control data
JP4666090B2 (en) Output image adjustment of image data
EP1558021A2 (en) Image processing method, image processing apparatus and image recording apparatus
JP2005108194A (en) Creation of image quality adjustment information and adjustment of image quality using this information
JP2005210526A (en) Image processing apparatus, method, and program, image pickup device, and image data outputting method and program
JP2005210495A (en) Image processing apparatus, method, and program
JP4150490B2 (en) Image processing system, image processing method, and recording medium
US7301566B2 (en) Adjustment for output image of image data
JP2006203555A (en) Image processing method, image processor and image processing program
JP3950551B2 (en) Image processing method, apparatus, and recording medium
JP2004336521A (en) Image processing method, image processor, and image recording apparatus
WO2005027532A1 (en) Image processing device and image processing method
JP3915755B2 (en) Output image adjustment of image data
JP2002368982A (en) Picture processor, picture processing method and recording medium
JP2003052002A (en) Output image adjustment of image file
JP4320225B2 (en) Image processing for image data
JP2005167929A (en) Image processing using information associated with image data
JP3945960B2 (en) Image processing system, color tone correction apparatus, color tone correction method, and recording medium
JP2004112494A (en) Image processor, image processing method and recording medium
JP2002094810A (en) Picture processor, picture processing method and memory medium having stored programs for the method
WO2004010693A1 (en) Image-quality adjustment of image data
JP4311465B2 (en) Output image adjustment of image data
JP2007318320A (en) Image processor, imaging device, image processing method, and image processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050208

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070425

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070515

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070717

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071204

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080201

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080624

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080630

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

Free format text: PAYMENT UNTIL: 20110704

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120704

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120704

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130704

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees