JP2000013622A - Image processing method, device and recording medium - Google Patents

Image processing method, device and recording medium

Info

Publication number
JP2000013622A
JP2000013622A JP10177131A JP17713198A JP2000013622A JP 2000013622 A JP2000013622 A JP 2000013622A JP 10177131 A JP10177131 A JP 10177131A JP 17713198 A JP17713198 A JP 17713198A JP 2000013622 A JP2000013622 A JP 2000013622A
Authority
JP
Japan
Prior art keywords
image
processing
color
object images
image 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
JP10177131A
Other languages
Japanese (ja)
Other versions
JP4018245B2 (en
Inventor
Akihiko Uekusa
明彦 植草
Nobuo Ogura
伸夫 小倉
Manabu Yamazoe
学 山添
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP17713198A priority Critical patent/JP4018245B2/en
Priority to US09/336,987 priority patent/US6791711B1/en
Publication of JP2000013622A publication Critical patent/JP2000013622A/en
Priority to US10/894,012 priority patent/US7321450B2/en
Application granted granted Critical
Publication of JP4018245B2 publication Critical patent/JP4018245B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To obtain a satisfactory output image by analyzing a relation among plural object images, grouping the object images based on the analyzed result and setting the same color processing condition to object images pertaining to the same group. SOLUTION: Image data showing plural object images are inputted, the relation among the plural object images is analyzed, the plural object images are grouped based on the analyzed result and the same color processing condition is set to the plural object images pertaining to the same group. In this system, for instance, a printer 105 such as an ink jet printer and a monitor 106 are connected to a host computer 100. The computer 100 has application software 101, a printer driver 103, a monitor driver 104 and color matching module 111 as software.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は画像処理を行う画像
処理方法、装置および記録媒体に関するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to an image processing method, apparatus, and recording medium for performing image processing.

【0002】[0002]

【従来の技術】画像データに基づく出力画像をプリンタ
やディスプレイにて良好に出力する場合、出力画像を構
成する複数のオブジェクトの各々に対し、オブジェクト
の種類に応じた色補正処理、色変換処理、二値化処理等
の色処理を行うことが必要となる。一般にコンピュータ
アプリケーションによって作成された画像の印刷やディ
スプレイへの表示はアプリケーションからの描画命令群
をデバイスドライバあるいはデバイスが描画命令を画像
化し、ページ全体の画像データを作成して印刷、表示を
行なう。
2. Description of the Related Art When an output image based on image data is satisfactorily output by a printer or a display, color correction processing, color conversion processing, It is necessary to perform color processing such as binarization processing. Generally, in printing an image created by a computer application and displaying the image on a display, a device driver or device converts a drawing instruction group from the application into an image of the drawing instruction, creates image data of the entire page, and prints and displays the image data.

【0003】ドキュメントを構成する描画命令群は、バ
イスドライバに対してたとえば写真画像部分はイメージ
描画命令、テキスト部分はテキスト描画命令、グラフィ
ックス部分はグラフィックス描画命令が発行され、デバ
イスドライバは命令の種類ごとにそのオブジェクトに適
した色処理を行ない、出力デバイスの出力可能な画像に
変換する。
For example, a drawing command group that constitutes a document is issued to a vice driver, for example, an image drawing command for a photographic image portion, a text drawing command for a text portion, and a graphics drawing command for a graphics portion. Color processing suitable for the object is performed for each type, and the object is converted into an image that can be output by an output device.

【0004】この時、グラフィックス部分には「鮮やか
さ優先の色処理」、テキスト部分は「測色的一致」、写
真部分は「色み優先の色処理」のようにカラーマッチン
グ処理を切り替え、ページ全体の全てのオブジェクトで
良好な出力を得る事ができる。
At this time, the color matching processing is switched to "color processing giving priority to vividness" for the graphics part, "colorimetric matching" for the text part, and "color processing giving priority to tint" for the photograph part. Good output can be obtained for all objects on the entire page.

【0005】近年、システムやアプリケーションによっ
ては、それらオブジェクトに対して「ソースカラースペ
ース」の指定が行なわれ、デバイスドライバはその指定
内容を使用して、より高品位な出力を得ることが可能に
なっている。これは例えばスキャナ入力画像がドキュメ
ントに貼られた場合、その画像のイメージ描画命令にス
キャナのデバイス特性を記述したカラープロファイルを
指定したり、あるいはディスプレイ上でカラーキャリブ
レーション等を行なった場合、編集者の見た目の色を再
現するために使用したモニタの特性を記述したカラープ
ロファイルを指定することができる。これらのカラープ
ロファイルは例えばICCプロファイルであり、これを利
用できるシステムとしてMicrosoft社WindowsのICM, App
le社のColorSyncなどが知られている。
In recent years, depending on the system or application, a "source color space" is specified for these objects, and a device driver can obtain higher quality output using the specified contents. ing. For example, when a scanner input image is pasted on a document, when a color profile describing the device characteristics of the scanner is specified in an image drawing command of the image, or when color calibration or the like is performed on a display, the editor A color profile describing the characteristics of the monitor used to reproduce the apparent color of the monitor can be specified. These color profiles are, for example, ICC profiles. As a system that can use these color profiles, ICM, App of Microsoft Windows
leSync's ColorSync is known.

【0006】また、写真画像において、オリジナルの画
像イメージ自体が劣悪であった場合には、当然美しい高
品位の出力を得る事ができない。例えば近年普及したデ
ジタルカメラで撮影した画像なども露出が不適当であっ
たとすれば、画像レタッチソフトを用いて、原稿画像の
露出を補正する非線形色バランス処理等の画像補正処理
を行っている。
In the case of a photographic image, if the original image itself is inferior, a beautiful high-quality output cannot be naturally obtained. For example, if the exposure of an image captured by a digital camera that has become widespread in recent years is also inappropriate, image correction processing such as non-linear color balance processing for correcting exposure of a document image is performed using image retouching software.

【0007】[0007]

【発明が解決しようとする課題】メモリの使用効率と処
理速度を最適化をしようとする比較的高級なアプリケー
ションにおいては図8のように大きなイメージを内部的
に分割して複数のイメージ描画命令で処理する事があ
る。例えばAdobe PhotoShop v4.0などでこの処理が行わ
れていることが良く知られている。
In a relatively high-grade application for optimizing the memory use efficiency and processing speed, a large image is internally divided as shown in FIG. May be processed. For example, it is well known that this processing is performed by Adobe PhotoShop v4.0.

【0008】したがって、例えば原稿画像の露出を補正
する処理などの原稿画像の色分布に応じて処理条件を求
める処理をオブジェクト画像毎に行おうとすると、以下
のような問題が生じる。
Therefore, if a process for obtaining a processing condition in accordance with the color distribution of a document image, such as a process for correcting the exposure of a document image, is performed for each object image, the following problem occurs.

【0009】本来1つのイメージに対してアプリケーシ
ョンによって内部的に分割されたパーツ毎に異なった色
処理条件が設定されてしまい、出力画像において各パー
ツの境界に色調の不連続が生じてしまう場合がある。
Different color processing conditions are originally set for each part internally divided by an application with respect to one image, and color tone discontinuity may occur at the boundary of each part in an output image. is there.

【0010】本願第1の発明は上述の点に鑑みてなされ
たものであり、本来1つのイメージに対しては同一の色
処理条件を設定することにより良好な出力画像を得るこ
とができるようにすることを目的とする。
[0010] The first invention of the present application has been made in view of the above-mentioned point, and a good output image can be obtained by setting the same color processing condition for one image. The purpose is to do.

【0011】また、原稿画像の露出を補正する非線形色
バランス処理等の画像補正処理を自動的に設定する場合
は、原稿画像の色分布を解析することが必要である。従
来は、処理の高速化をはかるために、画像条件にかかわ
らず一定のサンプリング条件により画像データをサンプ
リングしていた。しかしながら、様々な画像データサイ
ズの画像が入力される昨今のシステムにおいて従来の方
法を用いると、画像データのサンプル数が足りず最適な
処理条件を設定することができない、または画像データ
のサンプリング数が多くなりすぎ処理時間に時間がかか
るという問題が生じる。すなわち、従来の方法では、最
適な処理条件の設定を効率的に設定することができな
い。
When automatically setting image correction processing such as non-linear color balance processing for correcting exposure of a document image, it is necessary to analyze the color distribution of the document image. Conventionally, in order to speed up processing, image data has been sampled under a fixed sampling condition regardless of image conditions. However, if a conventional method is used in a recent system in which images of various image data sizes are input, the number of image data samples is not enough to set an optimal processing condition, or the number of image data samples is reduced. There is a problem that it takes too much time to process. That is, the conventional method cannot set the optimum processing conditions efficiently.

【0012】本願第2の発明は、サンプリング条件を画
像データサイズに応じて設定することにより、色処理条
件を効率よく求められるようにすることを目的とする。
A second object of the present invention is to set a sampling condition according to an image data size so that a color processing condition can be efficiently obtained.

【0013】[0013]

【課題を解決するための手段】本願第1の発明は、オブ
ジェクト画像に応じた色処理を行う画像処理方法であっ
て、複数のオブジェクト画像を示す画像データを入力
し、前記複数のオブジェクト画像間の関係を解析し、前
記解析結果に基づき複数のオブジェクト画像をグループ
化し、前記同一のグループに属する複数のオブジェクト
画像に対して同一の色処理条件を設定することを特徴と
する。
According to a first aspect of the present invention, there is provided an image processing method for performing color processing according to an object image, comprising the steps of: inputting image data representing a plurality of object images; Is analyzed, a plurality of object images are grouped based on the analysis result, and the same color processing condition is set for the plurality of object images belonging to the same group.

【0014】本願第2の発明は、入力画像を示す画像デ
ータを入力し、前記入力画像の画像データサイズに応じ
てサンプリング処理条件を設定し、前記設定されたサン
プリング条件で前記入力された画像データをサンプリン
グし、前記サンプリングされた画像データを解析するこ
とによって処理条件を求めることを特徴とする。
According to a second aspect of the present invention, image data representing an input image is input, a sampling processing condition is set according to the image data size of the input image, and the input image data is input under the set sampling condition. And processing conditions are obtained by analyzing the sampled image data.

【0015】[0015]

【発明の実施の形態】(第1の実施形態)以下、図面を
参照して本発明に係る発明の実施の形態の一例を詳細に
説明する。本実施形態におけるシステムの概略の1例を
図1に示す。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS (First Embodiment) An embodiment of the present invention according to the present invention will be described below in detail with reference to the drawings. FIG. 1 shows a schematic example of a system according to the present embodiment.

【0016】ホストコンピュータ100には、例えばイ
ンクジェットプリンタなどのプリンタ105とモニタ1
06が接続されている。ホストコンピュータ100は、
ワープロ、表計算、インターネットブラウザ等のアプリ
ケーションソフトウエア101と、該アプリケーション
によってOS102に発行される出力画像を示す各種描画
命令群(イメージ描画命令、テキスト描画命令、グラフ
ィックス描画命令)を処理して印刷データを作成するプ
リンタドライバ103、アプリケーションが発行する各
種描画命令群を処理してモニタ106に表示を行なうモ
ニタドライバ104、およびドライバがアプリケーショ
ンの要求に応じてカラーマッチング処理を行うカラーマ
ッチングモジュール111をソフトウエアとして持つ。
The host computer 100 includes a printer 105 such as an ink jet printer and a monitor 1.
06 is connected. The host computer 100
Processes and prints application software 101 such as a word processor, spreadsheet, Internet browser, etc., and various drawing commands (image drawing command, text drawing command, graphics drawing command) indicating an output image issued to the OS 102 by the application. The software includes a printer driver 103 for creating data, a monitor driver 104 for processing various drawing commands issued by the application and displaying it on the monitor 106, and a color matching module 111 for performing color matching processing in response to a request from the application. Have as wear.

【0017】ホストコンピュータ100は、これらソフ
トウエアが動作可能な各種ハードウエアとして中央演算
処理装置CPU108、ハードディスクドライバHD10
7、ランダムアクセスメモリRAM109、リードオンリ
ーメモリROM110等を備える。
The host computer 100 includes a central processing unit CPU 108 and a hard disk driver HD 10 as various hardware on which the software can operate.
7, a random access memory RAM 109, a read only memory ROM 110, and the like.

【0018】図1で示される実施形態として、例えば一
般的に普及しているIBM ATコンパチのパーソナルコンピ
ュータにMicrosoft Windows95をOSとして使用し、任意
の印刷可能なアプリケーションをインストールし、モニ
タとプリンタを接続した形態が1実施形態として考えら
れる。
In the embodiment shown in FIG. 1, for example, Microsoft Windows 95 is used as an OS on a commonly used IBM AT compatible personal computer, an arbitrary printable application is installed, and a monitor and a printer are connected. This embodiment is considered as one embodiment.

【0019】ホストコンピュータ100では、モニタに
表示された表示画像にもとづき、アプリケーション10
1で、文字などのテキストに分類されるテキストデー
タ、図形などのグラフィックスに分類されるグラフィッ
クスデータ、自然画などに分類されるイメージ画像デー
タなどを用いて出力画像データを作成する。そして、出
力画像データを印刷出力するときには、アプリケーショ
ン101からOS102に印刷出力要求を行ない、グラフ
ィックスデータ部分はグラフィックス描画命令、イメー
ジ画像データ部分はイメージ描画命令で構成される出力
画像を示す描画命令群をOS102に発行する。OS102
はアプリケーションの出力要求を受け、出力プリンタに
対応するプリンタドライバ103に描画命令群を発行す
る。プリンタドライバ103はOS102から入力した印
刷要求と描画命令群を処理しプリンタ105で印刷可能
な印刷データを作成してプリンタ105に転送する。プ
リンタ105がラスタープリンタである場合は、プリン
タドライバ103では、OSからの描画命令を順次RGB2
4ビットページメモリにラスタライズし、全ての描画命
令をラスタライズした後にRGB24ビットページメモリの
内容をプリンタ105が印刷可能なデータ形式、例えば
CMYKデータに変換を行ないプリンタに転送する。
In the host computer 100, based on the display image displayed on the monitor, the application 10
In step 1, output image data is created using text data classified as text such as characters, graphics data classified as graphics such as figures, image image data classified as natural images, and the like. When printing out the output image data, the application 101 issues a print output request to the OS 102, and the graphics data portion is a graphics drawing command, and the image image data portion is a drawing command indicating an output image composed of an image drawing command. The group is issued to the OS 102. OS102
Receives an output request from the application and issues a rendering command group to the printer driver 103 corresponding to the output printer. The printer driver 103 processes a print request and a drawing command group input from the OS 102, creates print data printable by the printer 105, and transfers the print data to the printer 105. When the printer 105 is a raster printer, the printer driver 103 sequentially sends drawing commands from the OS to the RGB2 printer.
After rasterizing into a 4-bit page memory and rasterizing all drawing commands, the data in the RGB 24-bit page memory can be printed by the printer 105 in a data format, for example,
Convert to CMYK data and transfer to printer.

【0020】次に、プリンタドライバ103で行われる
印刷処理について説明する。
Next, the printing process performed by the printer driver 103 will be described.

【0021】プリンタドライバ103で行われる印刷処
理には、大別すると以下の5つの処理がある。
The printing process performed by the printer driver 103 is roughly classified into the following five processes.

【0022】(1)識別処理 OS102から入力したオブジェクト画像の描画命令の種
類を判別することにより、該描画命令で示されるオブジ
ェクトが写真画像部分、テキスト部分グラフィックス部
分のいずれであるかを識別する。
(1) Identification Processing By determining the type of an instruction for drawing an object image input from the OS 102, it is determined whether the object indicated by the drawing instruction is a photograph image portion or a text portion graphics portion. .

【0023】(2)画像補正処理 画像補正処理は撮影条件などの影響によって崩れている
色バランスを補正する。
(2) Image Correction Processing The image correction processing corrects a color balance that has been destroyed due to the influence of photographing conditions and the like.

【0024】写真画像に対して輝度のヒストグラムを作
成し、非線形色バランス補正条件を求める。そして、該
写真画像に対して非線形色バランス補正を行うことによ
り写真画像の色バランス、コントラスト、彩度を良好に
補正する。
A luminance histogram is created for the photographic image, and a nonlinear color balance correction condition is obtained. Then, the color balance, contrast, and saturation of the photographic image are satisfactorily corrected by performing nonlinear color balance correction on the photographic image.

【0025】以下、図11〜13を用いて画像補正処理方法
を説明する。
Hereinafter, an image correction processing method will be described with reference to FIGS.

【0026】本実施形態の画像補正処理では色バランス
補正とコントラスト補正および彩度補正処理を行う。
In the image correction processing of this embodiment, color balance correction, contrast correction, and saturation correction processing are performed.

【0027】(色バランス補正)画像の中からハイライ
トポイントとシャドーポイントを決定する。その際は、
例えば、入力信号の各色信号R,G,Bの重み付け加算
した明度信号について累積度数ヒストグラムを作成し、
その累積度数ヒストグラムにおいて、予め設定した所定
の累積度数に対応する明度信号の上限値をハイライトポ
イント、下限値をシャドーポイントとして決定する。
(Color Balance Correction) A highlight point and a shadow point are determined from an image. In that case,
For example, a cumulative frequency histogram is created for a lightness signal obtained by weighting and adding each of the color signals R, G, and B of the input signal,
In the cumulative frequency histogram, an upper limit value of a brightness signal corresponding to a predetermined cumulative frequency set in advance is determined as a highlight point, and a lower limit value is determined as a shadow point.

【0028】画像のハイライトポイント及びシャドーポ
イントの明度を有する画素の色差信号(C1,C2) C1=R−Y C2=B−Y を格納する。そして、その平均値をそれぞれハイライト
ポイントの色差量(C1(HL),C2(HL))、シ
ャドーポイントの色差量(C1(SD),C2(S
D))とする。
The color difference signals (C1, C2) C1 = RY-C2 = BY of the pixels having the brightness of the highlight point and the shadow point of the image are stored. Then, the average values are respectively used as the color difference amounts (C1 (HL), C2 (HL)) at the highlight point and the color difference amounts (C1 (SD), C2 (S
D)).

【0029】このハイライトポイントの色差量及びシャ
ドーポイントの色差量によって図12(b)に示すよう
に、入力された画像の色立体軸I(、即ち、無彩色軸)
を推測することができる。
Based on the color difference amount of the highlight point and the color difference amount of the shadow point, as shown in FIG.
Can be inferred.

【0030】色バランスがずれていない理想的な画像の
色立体は図12(a)に示すように色立体軸Iが明度軸
Yに合っている。
As shown in FIG. 12A, the color solid of an ideal image in which the color balance is not shifted has the color solid axis I matched with the lightness axis Y.

【0031】よって、本実施形態の色バランス補正で
は、入力されたオブジェクト画像の色立体軸I(ハイラ
イト及びシャドーポイントで定義される)を明度軸Yに
変換する回転行列及び平行移動量を求め、該回転行列及
び平行移動量を用いて入力されたオブジェクト画像を補
正することにより入力された画像の色バランスを補正す
る。
Therefore, in the color balance correction of the present embodiment, a rotation matrix and a translation amount for converting the color solid axis I (defined by highlight and shadow point) of the input object image into the lightness axis Y are obtained. The color balance of the input image is corrected by correcting the input object image using the rotation matrix and the translation amount.

【0032】なお、回転行列は回転軸とその角度が決ま
れば簡単に求めることができる。
The rotation matrix can be easily obtained if the rotation axis and its angle are determined.

【0033】図12のように入力画像の各画素の(C
1,C2,Y)を3次元色空間忠で変換し図12(c)
のような(C1’,C2’,Y’)にする。このように
して、該画像の色バランスを3次元の色空間中で補正す
る。
As shown in FIG. 12, (C) of each pixel of the input image
1, C2, Y) in a three-dimensional color space, and FIG.
(C1 ', C2', Y '). In this way, the color balance of the image is corrected in a three-dimensional color space.

【0034】(コントラスト及び彩度の調整)次にコン
トラスト及び彩度の調整について説明する。つまり該画
像の露出オーバー・アンダーを簡易的に判定し、それに
応じて輝度信号にガンマをかける方法を説明する。
(Adjustment of Contrast and Saturation) Next, adjustment of contrast and saturation will be described. That is, a method of simply determining whether the image is overexposed or underexposed and applying gamma to the luminance signal accordingly will be described.

【0035】コントラストの調整は、該画像の露出状態
に応じたガンマ補正によりシャドーポイントの輝度を
“0”あるいはそれに近い値(例えば“10”)、ハイ
ライトポイントの輝度を“255”あるいはそれに近い
値(例えば“245”)に調整する。該画像の露出のオ
ーバー・アンダーを簡易的に判定しそれに応じたガンマ
をかける際の一実施例を示す。
To adjust the contrast, the brightness of the shadow point is set to "0" or a value close to it (for example, "10") and the brightness of the highlight point is set to "255" or close to it by gamma correction according to the exposure state of the image. It is adjusted to a value (for example, “245”). An example in which over-under of the exposure of the image is simply determined and gamma corresponding to the over-under is applied will be described.

【0036】まず、画像の色立体軸と輝度軸の最小距離
となる点、つまり図12(b)におけるT,T’を求め
る。これは幾何学的な関係から簡単に求めることができ
る。
First, a point which is the minimum distance between the color solid axis and the luminance axis of the image, that is, T and T 'in FIG. This can be easily obtained from the geometric relationship.

【0037】そして、T’がTとなるようにコントラス
トを調整する。つまり図13に示すように(T,T’)
を変曲点としY’がT’より小さい場合は直線aでY”
に補正し、T’より大きい場合は直線bによってY”に
補正する。なお、該画像の軸が輝度軸と並行になる場合
などは、T自体がナンセンスとなるので、このような特
殊なケースはI2で補正すればよい。
Then, the contrast is adjusted so that T ′ becomes T. That is, as shown in FIG. 13, (T, T ′)
If Y ′ is smaller than T ′, Y ′
If the axis of the image is parallel to the luminance axis, T itself becomes nonsense. For example, when the axis of the image is parallel to the luminance axis, T itself becomes nonsense. May be corrected by I2.

【0038】このT,T’による補正の効果は、とくに
露出のオーバーあるいはアンダーの画像に作用すると考
えられる。露出がオーバーになるのは空などの明るいと
ころに全体が引っ張られるわけだが、この際デジタルカ
メラを代表する入力機器では、高輝度色抑圧が行われ、
高輝度部の彩度がおとされる。
The effect of the correction by T and T 'is considered to act particularly on an overexposed or underexposed image. Overexposure means that the whole is pulled into a bright place such as the sky, but at this time, input devices such as digital cameras perform high-brightness color suppression,
The saturation of the high luminance part is reduced.

【0039】すなわち、該画像の色立体軸を図14
(a)に示すように、彩度と輝度を軸とする2次元平面
で考えると高輝度の部分で、もっとも無彩色に近いとこ
ろがあらわれる。
That is, the color solid axis of the image is shown in FIG.
As shown in (a), when considered on a two-dimensional plane having the saturation and luminance as axes, a portion of high luminance appears to be closest to an achromatic color.

【0040】逆に、アンダーの画像に対しては低輝度色
抑圧がかかるため図12(b)のようになる。従って、
このT,T’の値によって簡易的に該画像がオーバーな
のか、アンダーなのか判定できる。
Conversely, low luminance color suppression is applied to an under image, so that the result is as shown in FIG. Therefore,
It is possible to easily determine whether the image is over or under based on the values of T and T '.

【0041】また、実際の画像で色立体の輝度軸を輝度
−彩度平面で考えると露出オーバーの画像に関しては例
えば、図14(c)のようになる。逆にアンダーの画像
に関しては例えば、図14(d)のようになる。
When the luminance axis of a color solid is considered on a luminance-chroma plane in an actual image, an overexposed image is as shown in FIG. 14C, for example. Conversely, an under image is, for example, as shown in FIG.

【0042】そもそも本来あるべき(理想的な状態の)
色立体からなんらかの撮影状況や入力時(A/D変換
時)の影響で、実際の色立体がずれるのだと考えれば、
T,T’の位置がもっともズレの小さい場所と考えられ
る。従って、本実施形態はこれを戻してやることで簡易
的に適切なグレー、つまり全体の明るさ補正を行うもの
である。
In the first place there should be (in an ideal state)
If you think that the actual color solid deviates from the color solid due to some shooting conditions or input (A / D conversion),
The positions of T and T 'are considered to be the places where the deviation is the smallest. Therefore, in this embodiment, appropriate gray is simply corrected by returning this, that is, the overall brightness is corrected.

【0043】彩度調整は、非常に簡単に行うことがで
き、例えば、彩度を20%あげる場合は C1”=1.2×C1’ C2”=1.2×C2’ という処理を行うことにより彩度補正を行うことができ
る。これは、
The saturation adjustment can be performed very easily. For example, when increasing the saturation by 20%, the processing of C1 ″ = 1.2 × C1 ′ C2 ″ = 1.2 × C2 ′ is performed. Can perform the saturation correction. this is,

【0044】[0044]

【外1】 で定義されることによる。[Outside 1] By being defined by.

【0045】なお、彩度調整の度合いは、プリンタドラ
イバのユーザーインターフェース上で設定されたユーザ
の指示に基づき決定されるようにしても構わない。
The degree of saturation adjustment may be determined based on a user's instruction set on the user interface of the printer driver.

【0046】以上説明したように、本願実施形態の画像
補正処理は輝度色差空間上で行う。
As described above, the image correction processing according to the embodiment of the present invention is performed on the luminance / color difference space.

【0047】したがって、画像補正処理で用いる補正パ
ラメータは、入力したRGB信号を輝度色差信号に変換す
るパラメータ1と、輝度色差空間上で色バランス補正、
コントラスト補正、彩度補正を行うパラメータ2と、輝
度色差信号をRGB信号に変換するパラメータ3に基づき作
成される3次元LUTである。
Therefore, the correction parameters used in the image correction processing include a parameter 1 for converting an input RGB signal into a luminance / chrominance signal, a color balance correction in a luminance / chrominance space,
This is a three-dimensional LUT created based on parameter 2 for performing contrast correction and saturation correction and parameter 3 for converting a luminance / color difference signal into an RGB signal.

【0048】パラメータ2は、色バランス補正で説明し
た回転行列、コントラスト補正で説明した図13に示すよ
うな輝度成分を変換するテーブル、そして彩度補正で説
明した色バランス補正された色差信号を補正する係数で
構成される。
Parameter 2 is a rotation matrix described in color balance correction, a table for converting luminance components as shown in FIG. 13 described in contrast correction, and a color difference signal corrected in color balance described in chroma correction. It is composed of coefficients that

【0049】そして、回転行列および輝度成分を変換す
るテーブルは、オブジェクト画像の輝度成分のヒストグ
ラムに基づき求められる。
The table for converting the rotation matrix and the luminance component is obtained based on the histogram of the luminance component of the object image.

【0050】(3)カラーマッチング処理 描画命令に含まれる入力色情報に応じたソースプロファ
イルと、プリンタに対応するプリンタプロファイルを用
いてカラーマッチングモジュール111により行われ、入
力色情報をプリンタに依存したプリンタ色情報に変換す
る。
(3) Color Matching Processing The color matching module 111 performs a color matching process using a source profile corresponding to the input color information included in the drawing command and a printer profile corresponding to the printer. Convert to color information.

【0051】入力プロファイルは、描画命令の関数のヘ
ッダ部分にプロファイルが付加されている場合は、付加
されているプロファイルを用いる。プロファイルが付加
されていない場合は、ホストコンピュータ100において
設定されているシステムモニタに対応するプロファイル
を用いたり、またはプリンタドライバによって設定に応
じたプロファイルを用いる。
When a profile is added to the header part of the function of the drawing command, the added profile is used as the input profile. If no profile is added, a profile corresponding to the system monitor set in the host computer 100 is used, or a profile corresponding to the setting by the printer driver is used.

【0052】プリンタの色再現範囲はモニタの色再現範
囲に比べて狭い。したがって入力色情報で示される色を
プリンタで忠実に再現できない場合がある。そこで、カ
ラーマッチング処理では入力色情報が示す画像の種類に
応じたカラーマッチング処理方法を用いて入力色情報を
プリンタの色再現範囲内の色を示すプリンタ色情報に変
換する。
The color reproduction range of the printer is narrower than the color reproduction range of the monitor. Therefore, the color indicated by the input color information may not be able to be faithfully reproduced by the printer. Therefore, in the color matching processing, the input color information is converted into printer color information indicating colors within the color reproduction range of the printer by using a color matching processing method corresponding to the type of the image indicated by the input color information.

【0053】カラーマッチング処理方法としては、「色
み優先(perceptual)」、「鮮やかさ優先(Saturatio
n)」、「測色的一致(Colorimetric)」という3つの方法
をサポートしている。
As a color matching processing method, “color priority (perceptual)”, “vividness priority (Saturatio)
n) "and" Colorimetric ".

【0054】「色み優先」は、写真部分に適したカラー
マッチング処理方法であり、画像の色あい及び色の階調
性を重視し、プリンタの色再現範囲外の色の階調を保存
するように画像全体をプリンタの色再現範囲内にマッピ
ングする。
“Color tone priority” is a color matching processing method suitable for a photographic part, which emphasizes the color tone and color gradation of an image and preserves the gradation of colors outside the color reproduction range of the printer. The entire image is mapped within the color reproduction range of the printer.

【0055】「鮮やかさ優先」はグラフィック部分に適
したカラーマッチング処理方法であり、画像が有する鮮
やかな色の再現を重視し、プリンタの色再現範囲外の色
の彩度成分をできるだけ保存するようにプリンタの色再
現範囲内にマッピングする。
"Vividness priority" is a color matching processing method suitable for a graphic portion, which emphasizes the reproduction of vivid colors of an image and preserves the chroma components of colors outside the color reproduction range of the printer as much as possible. In the color gamut of the printer.

【0056】「測色的一致」はユーザがアプリケーショ
ン上で特定色を指定することにより生成される文字やロ
ゴ等のテキスト画像に適したカラーマッチング処理であ
る。このカラーマッチング処理方法では特定色を忠実に
再現すべく色差(ΔE)を最小にするようにマッピング
する。
"Colorimetric matching" is a color matching process suitable for a text image such as a character or a logo generated by a user designating a specific color on an application. In this color matching processing method, mapping is performed so as to minimize the color difference (ΔE) in order to faithfully reproduce a specific color.

【0057】(4)ラスタライズ処理 画像補正処理およびカラーマッチング処理が行われた色
情報に基づき描画命令からプリンタの解像度に応じたRG
Bラスターデータを生成し、RGB24ビットページメモリ
に順次ラスタライズする。
(4) Rasterization processing Based on the color information on which the image correction processing and the color matching processing have been performed, the RG corresponding to the resolution of the printer is obtained from the drawing command.
B raster data is generated and rasterized sequentially in an RGB 24-bit page memory.

【0058】(5)プリンタ用色処理 RGBラスターデータに対して輝度/濃度変換処理、マス
キング処理、ガンマ処理、N値化処理を行い、プリンタ
で使用する記録剤CMYKに応じたCMYKデータに変換する。
(5) Printer Color Processing The RGB raster data is subjected to brightness / density conversion processing, masking processing, gamma processing, and N-value processing, and is converted into CMYK data corresponding to the recording material CMYK used in the printer. .

【0059】以下、図面を用いて本願実施形態にかかる
プリンタドライバの処理の流れについて図2及び図3を用
いて説明する。
Hereinafter, the flow of processing of the printer driver according to the embodiment of the present invention will be described with reference to FIGS. 2 and 3.

【0060】プリンタドライバは印刷ページイメージを
構成する印刷データ(描画命令群)をアプリケーショ
ン、あるいはOSに2回要求する。1回目、2回目の要求
に対して、アプリケーションはページを出力するのに必
要な全ての描画命令群セットを発行する。
The printer driver requests the application or the OS twice for print data (drawing command group) constituting the print page image. In response to the first and second requests, the application issues all drawing command group sets necessary to output a page.

【0061】図2は1回目の印刷データ処理フローを示
し、図3は2回目の処理フローを示す。
FIG. 2 shows the first print data processing flow, and FIG. 3 shows the second print data processing flow.

【0062】1回目の印刷データ処理フローにおいて印
刷データの解析を行ない画像補正処理に必要な情報を収
集し、画像補正処理実行の準備を行なう。2回目の印刷
データ処理フローにおいて、先に準備した画像補正処理
実行の準備結果を用いて、イメージ描画命令のうち画像
補正処理が必要と判定された部分にのみ画像補正処理を
行なうとともに、カラーマッチング補正処理を行い、描
画命令をページメモリにラスタライズし、印刷画像を作
成してプリンタに転送する。
In the first print data processing flow, print data is analyzed to collect information necessary for image correction processing, and preparations for execution of image correction processing are made. In the second print data processing flow, the image correction processing is performed only on the portion of the image drawing command determined to require the image correction processing, using the preparation result of the execution of the image correction processing prepared earlier, and color matching is performed. A correction process is performed, the drawing command is rasterized in a page memory, a print image is created, and the print image is transferred to a printer.

【0063】図3が示す1回目の印刷データ処理フロー
について説明する。
The first print data processing flow shown in FIG. 3 will be described.

【0064】S10にてアプリケーションあるいはOSから
1つづつ描画命令を受け取り、S20にて描画命令の内容
の解析を行ない、該描画命令で示されるオブジェクト画
像の種類の識別を行う。描画命令がテキストやグラフィ
ックスなどイメージ描画命令と異なる場合には、該オブ
ジェクト画像の種類が写真でないと判断しS30に進み、
1回目の処理フローにおいては何も行なわず(S4
0)、S100に進む。
At step S10, drawing commands are received one by one from the application or the OS. At step S20, the contents of the drawing command are analyzed, and the type of the object image indicated by the drawing command is identified. If the drawing command is different from the image drawing command such as text or graphics, it is determined that the type of the object image is not a photograph, and the process proceeds to S30.
In the first processing flow, nothing is performed (S4
0), and proceed to S100.

【0065】S20にて印刷データがイメージ描画命令
であった場合はS50に進む。本実施形態で使用する画
像補正処理は撮影条件などの影響によって崩れている色
バランスを補正する処理であるため、対象となるのは写
真画像である。一般的に写真画像は24ビットRGBのオ
ブジェクト画像である事が多く、それより小さなビット
深さ(例えば、8ビットパレット)のイメージ画像は原
画が写真でない場合が多く、補正処理の対象として適切
でない。このためS60にてイメージ描画命令の関数の
ヘッダを参照し、イメージのビット深さが24ビット以
上である場合のみS70に進み、それ以外は処理対象外
と判定してS100に進む。
If it is determined in step S20 that the print data is an image drawing command, the flow advances to step S50. The image correction process used in the present embodiment is a process for correcting a color balance that has been destroyed due to the influence of shooting conditions or the like, and thus is a photographic image. Generally, photographic images are often 24-bit RGB object images, and image images with a smaller bit depth (for example, an 8-bit palette) are often not original photographs, and are not appropriate for correction processing. . For this reason, the header of the function of the image drawing command is referred to in S60, and the process proceeds to S70 only when the bit depth of the image is 24 bits or more.

【0066】次にS70においてイメージ描画命令の関
数のヘッダを参照し、Intentの指定を受けていた場合は
その値を参照し、自然画写真に適正とされる「色み優
先」のIntentが指定されていた場合に処理対象としてS8
0に進む。しかしながら、画像のビット深さが24ビッ
トであっても例えば「測色的一致」が指定されている場
合は画像内容は会社のロゴであったり、また「彩度優
先」が指定されている場合は、インターネットのホーム
ページにあるjpeg画像のバナーイメージであったりし
て、自然画写真ではない場合があるため処理対象外とし
てS100に進む。
Next, in step S70, the header of the function of the image drawing command is referred to, and if the Intent has been designated, the value is referred to, and the "color priority" Intent which is appropriate for the natural picture is designated. S8 as processing target if
Go to 0. However, even if the bit depth of the image is 24 bits, for example, if "colorimetric match" is specified, the image content is a company logo, or if "saturation priority" is specified May be a banner image of a jpeg image on the Internet homepage, and may not be a natural image photograph, so that processing is not performed and the process proceeds to S100.

【0067】次にS80にてイメージ描画命令によって
渡されたオブジェクト画像の内容のサンプリングを行な
う。本実施形態で使用する補正ロジックではオブジェク
ト画像の輝度ヒストグラムの概要が得られれば十分であ
るため、ある程度以上の大きさを持つオブジェクト画像
である場合、その全ての画素をサンプリングする必要は
なく、ある程度間引きしながらのサンプリングを行なっ
ても結果の品位は変わらない。従って、S80にてオブジ
ェクト画像の大きさから判定して、サンプリングの間引
き率を求め、間引きサンプリングを行なう事で処理速度
を速くする。
Next, in S80, the contents of the object image passed by the image drawing command are sampled. In the correction logic used in the present embodiment, it is sufficient to obtain an outline of the luminance histogram of the object image. Therefore, when the object image has a certain size or more, it is not necessary to sample all the pixels. The quality of the result does not change even if sampling is performed while thinning is performed. Therefore, in S80, the processing speed is increased by determining the sampling thinning rate based on the size of the object image and performing the thinning sampling.

【0068】例えばオブジェクト画像のサイズが100
x100ピクセルであれば全ての画素をサンプリングし
て輝度ヒストグラムを作成するが、200x200ピク
セルであるならば、1ラインおきに処理し、さらに各処
理ラインにおいても1画素おきにサンプリングする。
For example, if the size of the object image is 100
If it is x100 pixels, all pixels are sampled to create a luminance histogram, but if it is 200x200 pixels, processing is performed every other line, and sampling is performed every other pixel in each processing line.

【0069】例えば、オブジェクト画像の幅をW、高さ
をHとし、縦横の間引き率をSkipX, SkipYとした場合、 SkipX = (W / 100) + 1 SkipY = (H / 100) + 1 のような方法で間引き率を得る事ができる。
For example, if the width of an object image is W, the height is H, and the thinning ratio in the vertical and horizontal directions is SkipX and SkipY, then SkipX = (W / 100) +1 SkipY = (H / 100) +1 In a simple way.

【0070】間引き率の求め方はこれに特定するもので
は無く、使用する補正ロジックに適した値を適用すれば
良い。
The method of obtaining the thinning rate is not limited to this, and a value suitable for the correction logic to be used may be applied.

【0071】次にS90にて、RAMに図4に示すテーブ
ル〔 〕に1つエントリを作成し、S80で作成したサンプ
リング処理結果と、イメージ描画命令に含まれていた描
画命令情報を格納する。
Next, in S90, one entry is created in the table [] shown in FIG. 4 in the RAM, and the sampling processing result created in S80 and the drawing command information included in the image drawing command are stored.

【0072】テーブル〔 〕に格納される描画命令情報I
mageInfoの内容の例を図5に示す。
Drawing command information I stored in table []
FIG. 5 shows an example of the contents of mageInfo.

【0073】ImageInfoの内容はイメージ描画命令が指
示したオブジェクト画像の描画位置X, Y,幅 W,高さ H、
オブジェクト画像のビット深さ、CMSによって指定され
たSource Color Space情報およびCMSによって指定され
たカラーマッチング Intent指定値等である。
The contents of ImageInfo are the drawing position X, Y, width W, height H,
The bit depth of the object image, the Source Color Space information specified by the CMS, the color matching Intent specified by the CMS, and the like.

【0074】該ImageInfoに含まれるSource Color Spac
e情報の内容の例を図6に示す。
Source Color Spac included in the ImageInfo
FIG. 6 shows an example of the content of the e information.

【0075】Source Color Spaceの内容はオブジェクト
画像のRGB24ビット値が想定するガンマ値、ホワイト
ポイント値、および該RGB24ビット値が依存する特性
を示す各種情報が格納されているICCプロファイルであ
る。
The content of the Source Color Space is an ICC profile that stores a gamma value and a white point value assumed by the RGB 24-bit value of the object image and various information indicating characteristics on which the RGB 24-bit value depends.

【0076】S100にて全ての描画命令に対して上述
の処理が終了するまで、S10からS100の処理を繰り
返し、全ての印刷データの処理が終了したらS110に
進む。
The processing from S10 to S100 is repeated until the above processing is completed for all the drawing commands in S100, and when the processing of all the print data is completed, the process proceeds to S110.

【0077】S110に到った時には、図4に示すテー
ブルに出力ページに含まれる画像補正処理対象のオブジ
ェクト画像を示すイメージ描画命令の数だけエントリが
作成されている。各々のエントリには各オブジェクト画
像の描画命令情報ImageInfoとサンプリング情報HistInf
oが格納されている。S110ではテーブルの全てのエ
ントリの描画命令情報ImageInfoを相互に比較判定し
て、アプリケーションによって1つのイメージを分割し
て複数のイメージ描画命令になっている物のグループ化
を行なう。
When the process reaches S110, entries are created in the table shown in FIG. 4 by the number of image drawing instructions indicating the object image to be subjected to the image correction processing included in the output page. Each entry has drawing instruction information ImageInfo and sampling information HistInf of each object image.
o is stored. In S110, the rendering command information ImageInfo of all the entries in the table are compared with each other, and one image is divided by the application to group objects that are a plurality of image rendering commands.

【0078】アプリケーションで作成されたドキュメン
トの1例を図8に示す。この例では1つのテキストオブ
ジェクト、2つのグラフィックスオブジェクト、6つの
イメージオブジェクトによってページが構成されてい
る。
FIG. 8 shows an example of a document created by the application. In this example, a page is composed of one text object, two graphics objects, and six image objects.

【0079】このうち、テキストオブジェクトとグラフ
ィックスオブジェクトは、図2ーS20においてS30
へ分岐されておりテーブルにエントリが作成されていな
い。また、図8イメージ1は8ビットパレットイメージ
であるため、図3ーS60の判定でNOと判定され、テー
ブルにエントリが作成されていない。イメージ2、3、
4、5、6の計5つのイメージ描画命令は図3-S80
に進み、テーブルにエントリが作成されている。
Of these, the text object and the graphics object correspond to S30 in FIG.
To the table and no entry is created in the table. Further, since image 1 in FIG. 8 is an 8-bit palette image, the determination in step S60 of FIG. 3 is NO, and no entry is created in the table. Images 2, 3,
A total of five image drawing commands 4, 5, and 6 are shown in FIG.
To create an entry in the table.

【0080】すなわち、図8に示されたページでは、図
2−S110に到った時には、テーブルに計5つのエントリ
が作成されている。
That is, in the page shown in FIG. 8, when the process reaches S110 in FIG. 2, a total of five entries are created in the table.

【0081】図8のアプリケーションの使用者はドキュ
メント作成時に3つのイメージを貼り込んでおり、1つ
はイメージ1であり、1つはアプリケーションによって
内部的にイメージ2とイメージ3に分割された物であ
り、1つはアプリケーションによって内部的にイメージ
4、イメージ5、イメージ6に分割された物である。
The user of the application shown in FIG. 8 pastes three images at the time of document creation. One is image 1, and one is internally divided into image 2 and image 3 by the application. One is internally divided into image 4, image 5, and image 6 by an application.

【0082】アプリケーションによっては貼り込まれた
オブジェクト画像をそのまま内部的にも1つのオブジェ
クト画像として扱い、出力時も1つのイメージ描画命令
を発行する物も多い。しかしメモリの使用効率と処理速
度を最適化をしようとする比較的高級なアプリケーショ
ンにおいては図8のように大きなイメージを内部的に分
割して複数のイメージ描画命令で処理する事がある。例
えばAdobe PhotoShopv4.0などでこの処理が行われてい
ることが良く知られている。
In some applications, the pasted object image is treated as one object image internally as it is, and one image drawing command is issued at the time of output. However, in a relatively high-grade application for optimizing the use efficiency and processing speed of a memory, a large image may be internally divided and processed by a plurality of image drawing commands as shown in FIG. For example, it is well known that this process is performed by Adobe PhotoShopv4.0 or the like.

【0083】本実施形態では、補正処理対象イメージ描
画命令に対して独立にヒストグラムを作成しているの
で、図8のページの場合図2-S110に到った時には、
本来1つのイメージに対して、アプリケーションによっ
て内部的に分割されたパーツ毎に異なったヒストグラム
が作成されてしまう。
In the present embodiment, since a histogram is created independently for the image rendering command for correction processing, in the case of the page of FIG.
Essentially, a different histogram is created for one part of an image, for each part internally divided by the application.

【0084】例えば図8の「風景」の写真部分において
は、イメージ4部分は「明るい空」が多く、イメージ6
部分は「暗い地面」が多い。それぞれのヒストグラムの
結果から導き出される補正パラメータはおのずと異なっ
た物となってしまう。
For example, in the photograph portion of “landscape” in FIG. 8, the image 4 portion has many “bright sky” and the image 6 portion
The part is often "dark ground". Correction parameters derived from the results of the respective histograms are naturally different.

【0085】したがって、各ヒストグラムから補正パラ
メータを求め画像補正を行った場合、各パーツに対して
異なった補正パラメータを用いて画像補正処理を施すこ
とになる。この結果、出力画像において本来1つのイメ
ージであるはずの領域において、各パーツの境目に色調
のずれが生じる場合がある。
Therefore, when correction parameters are obtained from each histogram and image correction is performed, image correction processing is performed on each part using different correction parameters. As a result, in an area where an output image should be a single image, a color tone shift may occur at a boundary between parts.

【0086】本来1つのイメージに対して、アプリケー
ションが内部的に分割したパーツ毎にバラバラな補正処
理を行うことは出力画像の画質の点から不適当である。
Originally, it is inappropriate for the application to perform various correction processes for each internally divided part of one image from the viewpoint of the image quality of the output image.

【0087】この弊害を避けるためにはイメージ4、イ
メージ5、イメージ6が、元は1つのイメージオブジェ
クト画像であり、それぞれがその構成要素の一部を成す
グループである事を認識し、該グループのヒストグラム
を合成することが必要である。そして、該グループの複
数のヒストグラムを合成し、グループ全体に対する合成
ヒストグラムを得、該合成ヒストグラムからグループ全
体に適用する補正パラメータを算出し、グループ全体に
対して同じ1つの補正パラメータによる画像補正処理を
行なう必要がある。
In order to avoid this problem, it is recognized that the image 4, the image 5 and the image 6 are originally one image object image, and each of them is a group forming a part of the constituent elements. Needs to be synthesized. Then, a plurality of histograms of the group are combined to obtain a combined histogram for the entire group, a correction parameter to be applied to the entire group is calculated from the combined histogram, and image correction processing using the same one correction parameter is performed for the entire group. You need to do it.

【0088】S110によってテーブルに格納されたエ
ントリのグループ化を行なう方法は様々な方法が考えら
れる。
Various methods are conceivable for grouping the entries stored in the table in S110.

【0089】簡単な1例を上げる。テーブルの全てのエ
ントリのImageInfoを相互に参照し、描画位置情報X,Y,
W,Hから判定して互いに隣接すると判定されたエントリ
を同じグループと判定する。
A simple example will be given. ImageInfo of all entries in the table are mutually referred to, and the drawing position information X, Y,
Entries determined to be adjacent to each other as determined from W and H are determined to be in the same group.

【0090】例えば図9のイメージ4とイメージ5は、
それぞれのXとW値が一致し、かつイメージ4のY+Hとイ
メージ5のYが一致するので、お互いが上下に隣接して
いる事が分かる。同様にイメージ5とイメージ6も上下
に隣接することも分かり、結果として、イメージ4、イ
メージ5、イメージ6は1つのグループとして見た目に
1つ画像を構成していると判定できる。
For example, image 4 and image 5 in FIG.
Since the respective X and W values match, and the Y + H of the image 4 matches the Y of the image 5, it can be seen that they are vertically adjacent to each other. Similarly, it can be understood that the image 5 and the image 6 are vertically adjacent to each other, and as a result, it can be determined that the image 4, the image 5, and the image 6 visually constitute one image as one group.

【0091】図9にこの判定結果として、グループIDが
確定したテーブルの内容を示す。
FIG. 9 shows the contents of the table in which the group ID is determined as a result of this determination.

【0092】インデックス0、1は図8のイメージ2、
3のエントリであり、両者は同じグループID=0が設定さ
れるインデックス2、3、4、は図8のイメージ4、
5、6であり、同じグループID=1が設定される。
Indexes 0 and 1 correspond to image 2 in FIG.
The index 2, 3, and 4, in which the same group ID = 0 is set, are the entries of image 4, FIG.
5, 6 and the same group ID = 1 is set.

【0093】この判定により、tableには5つのエント
リがあるが、グループは2つに分類される。
According to this determination, the table has five entries, but the group is classified into two.

【0094】グループ化を行なう他の方法として、画像
位置以外にも、ImageInfoのビット深さの一致を条件に
追加したり、指定されたSource Color Spaceの一致をさ
らに条件に追加する事でより厳密なグループ化が可能で
ある。
As another method of performing grouping, in addition to the image position, more strictness can be obtained by adding a match of the bit depth of ImageInfo to the condition or a match of the specified Source Color Space to the condition. Grouping is possible.

【0095】例えば、アプリケーションの使用者によっ
て、サイズの等しい2つのオブジェクト画像をたまたま
上下に隣接してドキュメントのレイアウトが行なわれた
場合、描画位置情報だけでグループ化を行なうと2つの
別のイメージが1つのグループと判定されてヒストグラ
ムの合成が行なわれ、適切な補正パラメータが得られな
い場合がある。しかしながら、それら2つのオブジェク
ト画像が異なる入力デバイスから得られた場合には、例
えば1つにはA社のデジタルカメラのSource Color Spac
eが指定されており、またもう1つにはB社のスキャナの
Source Color Spaceが指定されている。したがって、指
定されたSource Color Spaceの一致を判定することによ
り、別の独立したイメージである事を認識できる。
For example, when a document is laid out by a user of an application so that two object images having the same size happen to be vertically adjacent to each other, two different images can be formed by grouping only the drawing position information. In some cases, the groups are determined to be one group, and the histograms are combined, and an appropriate correction parameter may not be obtained. However, if the two object images are obtained from different input devices, for example, one of the source color spac
e is specified, and the other is
Source Color Space is specified. Therefore, by judging the coincidence of the designated Source Color Space, it can be recognized that the image is another independent image.

【0096】他のグループ化認識方法としては、例えば
プリンタドライバがイメージ分割を行なうアプリケーシ
ョンの名前の一覧をデータベースとして備え、印刷時に
印刷を行なっているアプリケーションの名前を取り出
し、イメージ分割を行なわないアプリケーションである
場合にはグループ化を行なわない方法もある。
As another grouping recognizing method, for example, a printer driver prepares a list of names of applications that perform image division as a database, extracts the name of the application that is performing printing at the time of printing, and obtains an application that does not perform image division. In some cases, grouping is not performed.

【0097】他のグループ化認識方法としては、例え
ば、印刷画像をプレビュウ画面としてモニタに表示し、
グループ化の結果をユーザの目で確認して、誤認識があ
る場合にはユーザの手作業で明示的に各イメージのグル
ープIDを指定させるインターフェイスを備える事が考え
られる。印刷画像をプレビュウ画面に出す手法に関して
は、市場製品であるCanon BJ Printer Driverへの印刷
出力をプレビュウしテキスト部分の色をユーザが変更す
るためのアプリケーションである「ColorAdvisor」の手
法が一般的に良く知られている。
As another grouping recognition method, for example, a print image is displayed on a monitor as a preview screen,
It is conceivable to provide an interface for confirming the grouping result with the eyes of the user and, when there is an erroneous recognition, explicitly specifying the group ID of each image manually by the user. Regarding the method of displaying the print image on the preview screen, the method of “ColorAdvisor”, which is an application for previewing the print output to the market product Canon BJ Printer Driver and changing the color of the text part by the user, is generally good. Are known.

【0098】他のグループ化認識方法として、アプリケ
ーションによっては分割したイメージが隣接ではなく相
互にのりしろ部分を持って重なり合っている例があるの
で、これに対応するために、ImageInfoの描画位置情報
から判定して「相互に重なっている部分がある場合には
同じグループに属する」とする方法もある。
As another grouping recognition method, there is an example in which the divided images overlap each other with an overlapping portion instead of adjacent ones depending on the application. In order to cope with this, judgment is made based on the drawing position information of ImageInfo. There is also a method of saying, "If there are overlapping parts, they belong to the same group."

【0099】グループ化の方法は使用するアプリケーシ
ョンに応じて任意に切り換えてもよく、分割されたイメ
ージの各パーツのエントリに同じグループIDを割りつけ
られる方法であれば、どのような手法であっても構わな
い。
The method of grouping may be arbitrarily switched according to the application to be used. Any method can be used as long as the same group ID can be assigned to the entry of each part of the divided image. No problem.

【0100】S110において、例えば図9のグループ
IDのようにグループ化処理が完了したら、次にS110
において、同じグループIDを持つサンプリング情報Hist
Infoの合成処理を行う。サンプリング情報の合成処理で
は、同一の輝度に対する頻度情報を単に加算する。例え
ば、グループID=0を有するインデックス0と1のエン
トリがそれぞれ図10のHistgram1とHistgram2をHistIn
fo内の「輝度ヒストグラム」に持っていた場合、2つの
ヒストグラムを合成して図10ののHistgram0(HistIn
fo0)を得る。
At S110, for example, the group shown in FIG.
When the grouping process is completed as in the case of ID, the next
In the sampling information Hist with the same group ID
Performs Info composition processing. In the synthesis processing of the sampling information, frequency information for the same luminance is simply added. For example, the entries of indexes 0 and 1 having group ID = 0 are Histgram1 and Histgram2 in FIG.
If the “histogram” in the “fo” has the “luminance histogram”, the two histograms are synthesized and Histgram 0 (HistIn
fo0).

【0101】この結果、テーブルのインデックス0と1
は合成されて同じ内容のサンプリング情報HistInfo0を
持つようになる(図9)。
As a result, the indexes 0 and 1 of the table
Are combined to have the same sampling information HistInfo0 (FIG. 9).

【0102】同様にインデックス2、3、4の3つのヒ
ストグラムも合成され、3者とも合成された同じ内容の
サンプリング情報HistInfo1を持つようになる(図
9)。
Similarly, the three histograms of indexes 2, 3, and 4 are also synthesized, and all three have the synthesized sampling information HistInfo1 having the same contents (FIG. 9).

【0103】次にS130において、グループ化された
イメージの輝度ヒストグラムから、上述した画像補正処
理で用いる補正パラメータを算出し、算出結果をテーブ
ルのエントリのHistInfoに格納する。
Next, in S130, a correction parameter used in the above-described image correction processing is calculated from the luminance histogram of the grouped images, and the calculation result is stored in HistInfo of the entry of the table.

【0104】以上で、図3に示す第1回目の印刷データ
処理フローを終了し、プリンタドライバはOSあるいはア
プリケーションに第2回目の印刷データ送信を依頼す
る。
Thus, the first print data processing flow shown in FIG. 3 is completed, and the printer driver requests the OS or the application to transmit the second print data.

【0105】第2回目の印刷データ処理フローを図3に
示す。
FIG. 3 shows the second print data processing flow.

【0106】第1回目の印刷データ処理フロー同様にS
200にてアプリケーションあるいはOSから1つづつ印
刷データ(描画命令)を受け取り、S210にて描画命令
の内容の解析を行ない、描画命令がテキストやグラフィ
ックスなどイメージ描画命令でない場合には、S22
0、S260へと進みオブジェクトの種別に応じたカラ
ーマッチング処理を行ない、S270にてページメモリ
にラスタライズする。
As in the first print data processing flow, S
At step 200, print data (drawing command) is received one by one from the application or the OS. At step S210, the contents of the drawing command are analyzed. If the drawing command is not an image drawing command such as text or graphics, step S22 is executed.
0, the process proceeds to S260, performs a color matching process according to the type of the object, and performs rasterization in the page memory in S270.

【0107】S210にてイメージ描画命令の場合は、
S230へ進む。
In the case of an image drawing command in S210,
Proceed to S230.

【0108】S240において、該イメージ描画命令が
テーブルにエントリされたオブジェクトであるか否か
を、その描画位置、オブジェクト画像のビット深さ、Co
lorSpace情報、Intent値をテーブルのエントリのImageI
nfoに格納した情報と比較し、全てが一致する物を検索
する。エントリに登録されていない場合は、S260に
進みカラーマッチング処理を行ない、S270にてペー
ジメモリにラスタライズする。
In S240, whether the image drawing command is an object entered in the table is determined by its drawing position, bit depth of object image,
lorSpace information, Intent value of table entry ImageI
Compare with the information stored in nfo and search for the one that matches all. If it is not registered in the entry, the process proceeds to S260, where a color matching process is performed, and in S270, rasterization is performed on the page memory.

【0109】S240においてテーブルに一致エントリ
が存在した場合、S250に進む。S250においてIm
ageInfoがすべて一致するテーブルのエントリが持つHis
tInfoに格納された補正処理パラメータを使用し、イメ
ージ描画命令によって描画要求されたオブジェクト画像
に対して画像補正処理を行う。
If a matching entry exists in the table in S240, the process proceeds to S250. Im in S250
His of entry of table where ageInfo matches all
Using the correction processing parameters stored in tInfo, image correction processing is performed on the object image requested to be drawn by the image drawing command.

【0110】S250において、補正処理の施されたオ
ブジェクト画像に対してS260において写真に対応す
るカラーマッチング処理である「色味優先」のカラーマ
ッチング処理を行ない、S270にてページメモリにラ
スタライズする。
In S250, the color image processing of “color priority”, which is the color matching processing corresponding to the photograph, is performed on the object image subjected to the correction processing in S260, and rasterized in the page memory in S270.

【0111】S280にて全ての印刷データの処理が行
なったか否かの判定を行ない、ページ全部の印刷データ
の処理が終わるまで前記S200ーS280の処理を繰
り返す。
In S280, it is determined whether or not all the print data has been processed, and the above-described processing in S200 to S280 is repeated until the processing of the print data for all pages is completed.

【0112】S280にて全ての印刷データの処理が終
了したと判定されると、次にS290に進み、ページメ
モリに作成された印刷画像データに対してプリンタ用色
処理を行い、プリンタが出力可能な画像に変換する。
If it is determined in step S280 that the processing of all print data has been completed, the flow advances to step S290 to perform printer color processing on the print image data created in the page memory, so that the printer can output. To a nice image.

【0113】S300にてプリンタが出力可能な画像に
変換された印刷画像をプリンタの処理可能な印刷データ
に加工して転送する。これは通常ラスタープリンタでは
1ラスタラインづつデータ圧縮を行ない簡単なプリンタ
コマンドにパックして転送する。
At S300, the print image converted into an image that can be output by the printer is processed into print data that can be processed by the printer and transferred. Normally, in a raster printer, data is compressed one raster line at a time and packed into a simple printer command for transfer.

【0114】(第2の実施形態)実施形態1では、印刷
処理におけるカラーマッチング処理をプリンタドライバ
の色処理の1つとして行っている。本実施形態では、色
編集などを行うアプリケーション101がカラーマッチン
グモジュールを用いて入力画像にカラーマッチング処理
を行う場合の処理を説明する。
(Second Embodiment) In the first embodiment, the color matching process in the printing process is performed as one of the color processes of the printer driver. In the present embodiment, a process will be described in which the application 101 that performs color editing or the like performs color matching processing on an input image using a color matching module.

【0115】アプリケーションにおいて、入力画像に対
して予めカラーマッチング処理が行われていることは、
ユーザがアプリケーションを用いて画像に対して色補正
を完成させていると考えられる。したがって、プリンタ
において画像補正処理およびカラーマッチング処理を行
うことは、ユーザが満足した色補正を崩す可能性があり
不適切である。
In the application, the fact that the color matching processing has been performed on the input image in advance is as follows.
It is considered that the user has completed color correction on the image using the application. Therefore, performing the image correction processing and the color matching processing in the printer is inappropriate because the color correction satisfied by the user may be lost.

【0116】そこで、本実施形態では、プリンタドライ
バが入力したオブジェクト画像を示す描画命令の関数の
ヘッダに、すでにカラーマッチング処理が行われている
ことを示す情報が含まれている時は、該オブジェクト画
像に対して第1の実施形態で説明した画像補正処理およ
びカラーマッチング処理を行わないようにする。
Therefore, in the present embodiment, when the header of the function of the drawing command indicating the object image input by the printer driver includes information indicating that the color matching processing has already been performed, the object The image correction processing and the color matching processing described in the first embodiment are not performed on the image.

【0117】第2の実施形態によれば、アプリケーショ
ンで行われた色処理に基づきプリンタドライバの色処理
を制御することができ、高品質の画像を出力することが
できる。
According to the second embodiment, the color processing of the printer driver can be controlled based on the color processing performed by the application, and a high-quality image can be output.

【0118】(変形例)上記実施形態では画像補正処理
としてヒストグラムに基づく画像補正処理(色バランス
補正、コントラスト補正、彩度補正)を行っているが、
本願実施形態におけるサンプリング処理方法およびグル
ープ化処理方法は他の画像処理にも適用することができ
る。
(Modification) In the above embodiment, the image correction processing (color balance correction, contrast correction, saturation correction) based on the histogram is performed as the image correction processing.
The sampling processing method and the grouping processing method in the embodiment of the present application can be applied to other image processing.

【0119】たとえば、本願実施形態ではプロファイル
に予め格納されているカラーマッチング方法を用いてカ
ラーマッチング処理を行っているが、カラーマッチング
処理条件を入力画像に応じて動的に作成することも特開
平04-260121に提案されている。本願実施形態における
サンプリング処理方法およびグループ化処理方法を動的
に入力画像に応じたカラーマッチング処理方法を設定す
る際に適用することにより、良好なカラーマッチング処
理条件を高率良く求めることができる。
For example, in the embodiment of the present invention, color matching processing is performed using a color matching method stored in advance in a profile. However, it is also possible to dynamically create color matching processing conditions according to an input image. 04-260121. By applying the sampling processing method and the grouping processing method in the embodiment of the present application to dynamically set a color matching processing method according to an input image, good color matching processing conditions can be obtained at high efficiency.

【0120】また、上記実施形態ではアプリに2回印刷
要求を出しているが、本発明はこれに限らず、1回目の
印刷要求で入力した描画命令を記憶し、2回目の印刷要
求を必要としないようにしても構わない。
In the above embodiment, the print request is issued twice to the application. However, the present invention is not limited to this. The drawing command input in the first print request is stored, and the second print request is required. You may not make it.

【0121】また、上記実施形態ではプリンタドライバ
内で画像補正処理を行う形態を説明したが、本発明をモ
ニタドライバで行うことも当然可能である。さらには、
上記画像補正処理を色修正アプリケーションで行うこと
も可能である。
Further, in the above-described embodiment, the mode in which the image correction processing is performed in the printer driver has been described. However, the present invention can naturally be performed by the monitor driver. Moreover,
The image correction processing can be performed by a color correction application.

【0122】また、上記実施形態ではプリンタドライバ
としてラスタードライバを用いて説明したが、ポストス
クリプトなどのページ記述言語対応のプリンタドライバ
にも適用することができる。
Although the above embodiment has been described using a raster driver as a printer driver, the present invention can be applied to a printer driver compatible with a page description language such as PostScript.

【0123】また、本発明は複数の機器(たとえばホス
トコンピュータ、インタフェース機器、リーダ、プリン
タ等)から構成されるシステムに適用しても一つの機器
(たとえば複写機、ファクシミリ装置)からなる装置に
適用してもよい。
The present invention can be applied to a system composed of a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.) or to an apparatus composed of one device (for example, a copying machine or a facsimile machine). May be.

【0124】また、上記実施形態では明度のヒストグラ
ムを作成したが、輝度などの他の明るさを示す成分に基
づきヒストグラムを作成しても構わない。
In the above-described embodiment, the brightness histogram is created. However, the histogram may be created based on other brightness components such as luminance.

【0125】また、上記実施形態のカラーマッチング処
理において描画関数のヘッダ部分にプロファイルが付加
されていると述べたが、描画関数のヘッダ部分には単に
メモリに格納されているプロファイルを読み出すための
情報が格納されているだけでも構わない。
Also, in the color matching processing of the above-described embodiment, it has been described that the profile is added to the header part of the drawing function, but the header part of the drawing function is simply information for reading the profile stored in the memory. May be stored.

【0126】また、プリンタドライバのユーザインター
フェイス上から上記画像補正処理を行うか否かマニュア
ルで指示できるようにしても構わない。
Further, it may be possible to manually instruct whether or not to perform the image correction processing on the user interface of the printer driver.

【0127】また前述した実施形態の機能を実現する様
に各種のデバイスを動作させる様に該各種デバイスと接
続された装置あるいはシステム内のコンピュータに、前
記実施形態機能を実現するためのソフトウエアのプログ
ラムコードを供給し、そのシステムあるいは装置のコン
ピュータ(CPUあるいはMPU)を格納されたプログラムに
従って前記各種デバイスを動作させることによって実施
したものも本発明の範疇に含まれる。
In addition, software for realizing the functions of the above-described embodiments is provided to a device or a computer in a system connected to the various devices so as to operate the various devices so as to realize the functions of the above-described embodiments. The present invention also includes a program code supplied and executed by operating a computer (CPU or MPU) of the system or apparatus according to a stored program to operate the various devices.

【0128】またこの場合、前記ソフトウエアのプログ
ラムコード自体が前述した実施形態の機能を実現するこ
とになり、そのプログラムコード自体、及びそのプログ
ラムコードをコンピュータに供給するための手段、例え
ばかかるプログラムコードを格納した記憶媒体は本発明
を構成する。
In this case, the program code of the software implements the functions of the above-described embodiment, and the program code itself and means for supplying the program code to the computer, for example, the program code The storage medium in which is stored constitutes the present invention.

【0129】かかるプログラムコードを格納する記憶媒
体としては例えばフロッピーディスク、ハードディス
ク、光ディスク、光磁気ディスク、CD-ROM,、磁気テー
プ、不揮発性のメモリカード、ROM等を用いることが出
来る。
As a storage medium for storing such a program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, magnetic tape, nonvolatile memory card, ROM or the like can be used.

【0130】またコンピュータが供給されたプログラム
コードを実行することにより、前述の実施形態の機能が
実現されるだけではなく、そのプログラムコードがコン
ピュータにおいて稼働しているOS(オペレーティングシ
ステム)、あるいは他のアプリケーションソフト等と共
同して前述の実施形態の機能が実現される場合にもかか
るプログラムコードは本発明の実施形態に含まれること
は言うまでもない。
When the computer executes the supplied program code, not only the functions of the above-described embodiment are realized, but also the OS (operating system) running on the computer or another program code. Needless to say, the program code is included in the embodiment of the present invention even when the functions of the above-described embodiment are realized in cooperation with application software or the like.

【0131】更に供給されたプログラムコードが、コン
ピュータの機能拡張ボードやコンピュータに接続された
機能拡張ユニットに備わるメモリに格納された後そのプ
ログラムコードの指示に基づいてその機能拡張ボードや
機能格納ユニットに備わるCPU等が実際の処理の一部ま
たは全部を行い、その処理によって前述した実施形態の
機能が実現される場合も本発明に含まれることは言うま
でもない。
Further, the supplied program code is stored in a memory provided in a function expansion board of a computer or a function expansion unit connected to the computer, and then stored in the function expansion board or the function storage unit based on an instruction of the program code. It is needless to say that the present invention includes a case where a provided CPU or the like performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0132】[0132]

【発明の効果】本願第1の発明によれば、本来1つのイ
メージに対しては同一の色処理条件を設定することによ
り良好な出力画像を得ることができる。
According to the first aspect of the present invention, a good output image can be obtained by setting the same color processing conditions for one image.

【0133】本願第2の発明によれば、サンプリング条
件を画像データサイズに応じて設定することにより、色
処理条件を効率よく求めることができる。
According to the second aspect of the present invention, the color processing conditions can be efficiently obtained by setting the sampling conditions according to the image data size.

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

【図1】システムの構成の1例を示すブロック図。FIG. 1 is a block diagram showing an example of a system configuration.

【図2】1回目の印刷データ処理フローを示すフローチ
ャート。
FIG. 2 is a flowchart illustrating a first print data processing flow;

【図3】2回目の印刷データ処理フローを示すフローチ
ャート。
FIG. 3 is a flowchart illustrating a second print data processing flow.

【図4】テーブルの構成例を示す図。FIG. 4 is a diagram showing a configuration example of a table.

【図5】Image Info値の構成例を示す図。FIG. 5 is a diagram showing a configuration example of an Image Info value.

【図6】Source Color Spaceの構成例を示す図。FIG. 6 is a diagram illustrating a configuration example of a Source Color Space.

【図7】Histgram Info値の構成例を示す図。FIG. 7 is a diagram showing a configuration example of a Histogram Info value.

【図8】入力画像の1例を示す図。FIG. 8 is a diagram showing an example of an input image.

【図9】1回目の処理フロー終了時のテーブルの1例を示
す図。
FIG. 9 is a diagram showing an example of a table at the end of a first processing flow.

【図10】ヒストグラムの合成処理を説明する図。FIG. 10 is a diagram illustrating a histogram combining process.

【図11】ハイライト/シャドーの輝度の求め方を説明
する図。
FIG. 11 is a view for explaining how to obtain highlight / shadow luminance;

【図12】色バランス補正の原理を説明する図。FIG. 12 is a diagram illustrating the principle of color balance correction.

【図13】コントラスト調整を説明する図。FIG. 13 is a diagram illustrating contrast adjustment.

【図14】輝度−彩度平面でみた露出オーバー/アンダ
ーの特徴を説明する図。
FIG. 14 is a view for explaining characteristics of overexposure / underexposure as viewed in a luminance-chroma plane.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 山添 学 東京都大田区下丸子3丁目30番2号キヤノ ン株式会社内 Fターム(参考) 5B057 CA01 CA18 CB01 CB16 CE11 CE17 DC23 5C077 LL04 LL19 LL20 MP06 MP08 PP06 PP32 PP35 PP37 PP52 PP53 PP65 PQ22 TT02 5C079 HA13 HB01 LA02 LA06 LA12 LA19 LB02 MA01 NA03 NA04 NA05 PA03  ────────────────────────────────────────────────── ─── Continuing on the front page (72) Inventor: Manabu Yamazoe F30 terms within Canon Inc. 3-30-2 Shimomaruko, Ota-ku, Tokyo 5B057 CA01 CA18 CB01 CB16 CE11 CE17 DC23 5C077 LL04 LL19 LL20 MP06 MP08 PP06 PP32 PP35 PP37 PP52 PP53 PP65 PQ22 TT02 5C079 HA13 HB01 LA02 LA06 LA12 LA19 LB02 MA01 NA03 NA04 NA05 PA03

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 オブジェクト画像に応じた色処理を行う
画像処理方法であって、 複数のオブジェクト画像を示す画像データを入力し、 前記複数のオブジェクト画像間の関係を解析し、 前記解析結果に基づき複数のオブジェクト画像をグルー
プ化し、 前記同一のグループに属する複数のオブジェクト画像に
対して同一の色処理条件を設定することを特徴とする画
像処理方法。
1. An image processing method for performing color processing according to an object image, comprising: inputting image data indicating a plurality of object images; analyzing a relationship between the plurality of object images; An image processing method, comprising: grouping a plurality of object images; and setting the same color processing condition for the plurality of object images belonging to the same group.
【請求項2】 さらに、グループ化された複数のオブジ
ェクト画像の色分布に応じて色処理条件を求めることを
特徴とする請求項1記載の画像処理方法。
2. The image processing method according to claim 1, further comprising determining a color processing condition according to a color distribution of the plurality of grouped object images.
【請求項3】 さらに、前記各オブジェクト画像ごとに
ヒストグラムを作成し、 前記グループ化の結果に基づき、複数のヒストグラムを
合成することを特徴とする請求項1記載の画像処理方
法。
3. The image processing method according to claim 1, further comprising: creating a histogram for each of the object images; and combining a plurality of histograms based on a result of the grouping.
【請求項4】 前記オブジェクト画像は描画命令で示さ
れ、 前記解析は前記描画命令のヘッダ情報に基づき行うこと
を特徴とする請求項1記載の画像処理方法。
4. The image processing method according to claim 1, wherein the object image is indicated by a drawing command, and the analysis is performed based on header information of the drawing command.
【請求項5】 入力画像を示す画像データを入力する入
力手段と、 前記入力画像の画像データサイズに応じてサンプリング
処理条件を設定し、 前記設定されたサンプリング条件で前記入力された画像
データをサンプリングし、 前記サンプリングされた画像データを解析することによ
って処理条件を求めることを特徴とする画像処理方法。
5. An input unit for inputting image data representing an input image, a sampling processing condition being set according to an image data size of the input image, and a sampling of the input image data under the set sampling condition. An image processing method for obtaining processing conditions by analyzing the sampled image data.
【請求項6】 画像データは描画命令で示され、該描画
命令に含まれるヘッダ情報に基づき画像データサイズを
求めることを特徴とする請求項5記載の画像処理方法。
6. The image processing method according to claim 5, wherein the image data is represented by a drawing command, and the image data size is obtained based on header information included in the drawing command.
【請求項7】 オブジェクト画像に応じた色処理を行う
画像処理装置であって、 複数のオブジェクト画像を示す画像データを入力する入
力し、 前記複数のオブジェクト画像間の関係を解析する解析手
段と、 前記解析結果に基づき複数のオブジェクト画像をグルー
プ化するグループ化手段と、 前記同一のグループに属する複数のオブジェクト画像に
対して同一の色処理条件を設定する設定手段と、 前記設定された色処理条件に基づき前記オブジェクト画
像を色処理する色処理手段とを有することを特徴とする
画像処理装置。
7. An image processing apparatus for performing color processing according to an object image, comprising: inputting image data representing a plurality of object images; and analyzing means for analyzing a relationship between the plurality of object images. Grouping means for grouping a plurality of object images based on the analysis result; setting means for setting the same color processing condition for the plurality of object images belonging to the same group; and the set color processing condition A color processing unit for performing color processing on the object image based on the image processing.
【請求項8】 さらに、前記色処理されたオブジェクト
画像を記録媒体上に形成することを特徴とする請求項7
記載の画像処理装置。
8. The image processing apparatus according to claim 7, wherein the color-processed object image is formed on a recording medium.
The image processing apparatus according to any one of the preceding claims.
【請求項9】 入力画像を示す画像データを入力する入
力手段と、 前記入力画像の画像データサイズに応じてサンプリング
処理条件を設定する設定手段と、 前記設定されたサンプリング条件で前記入力された画像
データをサンプリングするサンプリング手段と、 前記サンプリングされた画像データを解析することによ
って処理条件を求める手段を有することを特徴とする画
像処理装置。
9. An input unit for inputting image data indicating an input image; a setting unit for setting a sampling processing condition according to an image data size of the input image; and the input image based on the set sampling condition. An image processing apparatus comprising: sampling means for sampling data; and means for obtaining a processing condition by analyzing the sampled image data.
【請求項10】 オブジェクト画像に応じた色処理を行
う画像処理方法を実現するための記録媒体を記録する記
録媒体であって、 複数のオブジェクト画像を示す画像データを入力し、 前記複数のオブジェクト画像間の関係を解析し、 前記解析結果に基づき複数のオブジェクト画像をグルー
プ化し、 前記同一のグループに属する複数のオブジェクト画像に
対して同一の色処理条件を設定するプログラムを記録す
ることを特徴とする記録媒体。
10. A recording medium for recording a recording medium for realizing an image processing method for performing color processing according to an object image, comprising: inputting image data indicating a plurality of object images; Analyzing a relationship between the images, grouping a plurality of object images based on the analysis result, and recording a program for setting the same color processing condition for the plurality of object images belonging to the same group. recoding media.
【請求項11】 処理条件を設定する処理を実現するた
めのプログラムを記録する記録媒体であって、 入力画像の画像データサイズに応じてサンプリング処理
条件を設定し、 前記設定されたサンプリング条件で前記入力された画像
データをサンプリングし、 前記サンプリングされた画像データを解析することによ
って処理条件を求めるプログラムを記録することを特徴
とする記録媒体。
11. A recording medium for recording a program for realizing a process for setting a processing condition, wherein a sampling process condition is set in accordance with an image data size of an input image, and A recording medium recording a program for obtaining processing conditions by sampling input image data and analyzing the sampled image data.
JP17713198A 1998-06-24 1998-06-24 Image processing method, apparatus, and recording medium Expired - Fee Related JP4018245B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP17713198A JP4018245B2 (en) 1998-06-24 1998-06-24 Image processing method, apparatus, and recording medium
US09/336,987 US6791711B1 (en) 1998-06-24 1999-06-21 Image processing method, image processing apparatus, and recording medium
US10/894,012 US7321450B2 (en) 1998-06-24 2004-07-20 Image processing method, image processing apparatus, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17713198A JP4018245B2 (en) 1998-06-24 1998-06-24 Image processing method, apparatus, and recording medium

Publications (2)

Publication Number Publication Date
JP2000013622A true JP2000013622A (en) 2000-01-14
JP4018245B2 JP4018245B2 (en) 2007-12-05

Family

ID=16025728

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17713198A Expired - Fee Related JP4018245B2 (en) 1998-06-24 1998-06-24 Image processing method, apparatus, and recording medium

Country Status (1)

Country Link
JP (1) JP4018245B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001307109A (en) * 2000-04-27 2001-11-02 Canon Inc Method and device for processing image and recording medium
US6891970B1 (en) 1999-11-18 2005-05-10 Canon Kabushiki Kaisha Image processing apparatus and method
JP2007020182A (en) * 2005-07-08 2007-01-25 Xerox Corp Method for prepress-time color match verification and correction
JP2009302818A (en) * 2008-06-12 2009-12-24 Fujifilm Corp Image reproduction system and method
JP2013510024A (en) * 2009-11-10 2013-03-21 マンローラント・アーゲー How to adjust the printing process
WO2014058927A1 (en) * 2012-10-09 2014-04-17 Google Inc. Color correction based on multiple images

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6891970B1 (en) 1999-11-18 2005-05-10 Canon Kabushiki Kaisha Image processing apparatus and method
JP2001307109A (en) * 2000-04-27 2001-11-02 Canon Inc Method and device for processing image and recording medium
JP2007020182A (en) * 2005-07-08 2007-01-25 Xerox Corp Method for prepress-time color match verification and correction
JP2009302818A (en) * 2008-06-12 2009-12-24 Fujifilm Corp Image reproduction system and method
JP2013510024A (en) * 2009-11-10 2013-03-21 マンローラント・アーゲー How to adjust the printing process
US9774763B2 (en) 2009-11-10 2017-09-26 Manroland Web Systems Gmbh Method for controlling a printing process
WO2014058927A1 (en) * 2012-10-09 2014-04-17 Google Inc. Color correction based on multiple images
US9002109B2 (en) 2012-10-09 2015-04-07 Google Inc. Color correction based on multiple images
US9247106B2 (en) 2012-10-09 2016-01-26 Google Inc. Color correction based on multiple images

Also Published As

Publication number Publication date
JP4018245B2 (en) 2007-12-05

Similar Documents

Publication Publication Date Title
JP2001186365A (en) Picture processing method, picture processor and recording medium
US6608926B1 (en) Image processing method, image processing apparatus and recording medium
US7321450B2 (en) Image processing method, image processing apparatus, and recording medium
US7885459B2 (en) Image processing method and apparatus therefor
AU2002300994B2 (en) Method and Apparatus for Processing Image Data, Storage Medium and Program
JP5032911B2 (en) Image processing apparatus and image processing method
JP4725057B2 (en) Generation of image quality adjustment information and image quality adjustment using image quality adjustment information
US7146045B2 (en) Image processing method and apparatus and storage medium
US20050185837A1 (en) Image-processing method, image-processing apparatus and image-recording apparatus
US20010035989A1 (en) Method, apparatus and recording medium for color correction
JP2001216498A (en) Method and device for processing image signal and medium with recorded image signal processing program
JP2007208956A (en) Image processing apparatus, image forming apparatus, control method of image processing apparatus, image processing program, and computer-readable storage medium
US7333136B2 (en) Image processing apparatus for carrying out tone conversion processing and color correction processing using a three-dimensional look-up table
JP2005190435A (en) Image processing method, image processing apparatus and image recording apparatus
US20080062484A1 (en) Image processing device and image processing method
JP3950551B2 (en) Image processing method, apparatus, and recording medium
JP2005192162A (en) Image processing method, image processing apparatus, and image recording apparatus
JP4018245B2 (en) Image processing method, apparatus, and recording medium
JP3990816B2 (en) Image processing method, apparatus, and recording medium
JP4095234B2 (en) Image processing method, apparatus, and recording medium
JP2003234916A (en) Image processing apparatus, image processing method, printer, image processing program and medium recording image processing program
JP3817371B2 (en) Image processing method, apparatus, and recording medium
JP4402041B2 (en) Image processing method and apparatus, and storage medium
JP2000013595A (en) Image processing method, device and recording medium
JP4818459B2 (en) Image processing method and apparatus

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050117

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050125

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050328

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050426

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050901

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070820

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070920

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100928

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110928

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110928

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120928

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120928

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130928

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees