JP2007251618A - Image processing apparatus, image processing method and image processing program - Google Patents
Image processing apparatus, image processing method and image processing program Download PDFInfo
- Publication number
- JP2007251618A JP2007251618A JP2006072589A JP2006072589A JP2007251618A JP 2007251618 A JP2007251618 A JP 2007251618A JP 2006072589 A JP2006072589 A JP 2006072589A JP 2006072589 A JP2006072589 A JP 2006072589A JP 2007251618 A JP2007251618 A JP 2007251618A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- color
- color space
- distribution
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Abstract
Description
本発明は、色変換処理を実行する画像処理装置、画像処理方法および画像処理プログラムに関する。 The present invention relates to an image processing apparatus, an image processing method, and an image processing program that execute color conversion processing.
従来より、画像出力機器にて所望の画像を出力する際の処理の一部として、ある表色空間によって表される画像データ(例えば、レッド(R)、グリーン(G)、ブルー(B)の各階調値で表現される画像データ)を、他の表色空間によって表現される画像データ(例えば、印刷装置で使用されるインク種類毎の記録量を規定したインクデータ)に変換して出力する色変換処理が行われている。上記色変換処理は、変換前の表色空間による画像データと変換後の表色空間による画像データとの変換関係を変換前の表色空間における代表的な座標毎に規定した色変換テーブルを参照して行うのが一般的である。 Conventionally, as a part of processing when a desired image is output by an image output device, image data represented by a certain color space (for example, red (R), green (G), blue (B) The image data expressed by each gradation value) is converted into image data expressed by another color space (for example, ink data defining the recording amount for each ink type used in the printing apparatus) and output. Color conversion processing is performed. The above color conversion process refers to a color conversion table that defines the conversion relationship between image data in the color space before conversion and image data in the color space after conversion for each representative coordinate in the color space before conversion. It is common to do this.
ここで従来より、色変換の対象とした入力画像データを、上記色変換テーブルにおいて変換関係を規定している上記代表的な座標点のうち近隣の座標点に振分け(この振分け処理をプレ変換と言う。)、振分け先の座標点に対応付けられた変換後の画像データを読み出すことで上記色変換を実現することがあった(特許文献1参照。)
プリンタなどの画像出力機器にて所望の画像を出力する場合、ユーザは、出力画像上において不規則な乱れのある作風(ノイズ感のある作風)を実現することを望む場合がある。しかし、従来の色変換処理においては、画像データをある表色空間から他の表色空間へと変換するだけであるため、上記ノイズ感のある作風を画像上に実現することはできなかった。また、ユーザがレタッチソフトなどを利用して上記色変換前の画像データをモニターに表示させ、これにノイズフィルタを適用することで好みの作風を実現するということも行われていた。しかし、かかる作業はユーザにとって多くの作業時間と操作の習熟を要求するものであった。 When a desired image is output by an image output device such as a printer, the user may desire to realize a style with irregular disturbances (style with noise) on the output image. However, in the conventional color conversion process, since the image data is only converted from one color space to another color space, the noise-like style cannot be realized on the image. In addition, the user has displayed image data before color conversion on a monitor using retouch software or the like and applied a noise filter to the image data to realize a favorite style. However, such work requires a lot of work time and operation skill for the user.
本発明は上記課題に鑑みてなされたものであり、出力画像においてユーザが望む作風を適切かつ容易に実現することの可能な画像処理装置、画像処理方法および画像処理プログラムを提供することを目的とする。 The present invention has been made in view of the above problems, and an object thereof is to provide an image processing apparatus, an image processing method, and an image processing program capable of appropriately and easily realizing a style desired by a user in an output image. To do.
上記目的を達成するため、本発明にかかる画像処理装置では、第1表色空間によって各画素の色が階調表現された第1画像データと第2表色空間によって各画素の色が階調表現された第2画像データとの対応関係を代表階調値について規定した色変換テーブルを参照して、第1画像データを第2画像データに変換する。画像データ取得手段は、所定の画像を表した第1画像データを取得する。そして、取得された第1画像データを対象として上記色変換テーブルを参照して上記変換を行う前に、画像データ振分け手段は、上記取得した第1画像データを、所定の振分け規則に基づいて第1表色空間における近隣の代表階調値のいずれかに振分ける処理を実行する。 In order to achieve the above object, in the image processing apparatus according to the present invention, the first image data in which the color of each pixel is represented by gradation in the first color space and the color of each pixel in the second color space are represented by gradation. The first image data is converted into the second image data with reference to a color conversion table that defines the correspondence relationship with the expressed second image data for the representative gradation value. The image data acquisition unit acquires first image data representing a predetermined image. Then, before performing the conversion with reference to the color conversion table for the acquired first image data, the image data distribution unit converts the acquired first image data based on a predetermined distribution rule. A process of distributing to one of the representative representative gradation values in one color space is executed.
当該振分けは、振分け前後において画像データの階調数を低減させるのものであり、単純に第1画像データを近隣の代表階調値に振分けた場合には、振分け前の画像データの滑らかな階調変化に対する振分け後の画像データの階調変化は階段状となってしまい、これでは画質が低下するばかりでなく、ユーザが望む上記不規則な乱れといった独特の作風も実現されない。そこで、画像データ振分け手段は、上記振分け規則に対してノイズ成分を付与することで振分け規則に乱れを生じさせる。そして、色変換手段が、上記乱れが生じている振分け規則に従って第1画像データを振分けた先の第1表色空間における代表階調値に対応する第2画像データを、上記色変換テーブルを参照して読み出す。 The distribution is to reduce the number of gradations of the image data before and after the distribution. When the first image data is simply distributed to the neighboring representative gradation values, a smooth level of the image data before the distribution is obtained. The gradation change of the image data after the distribution with respect to the tone change is stepped. This not only deteriorates the image quality but also does not realize a unique style such as the irregular disturbance desired by the user. Therefore, the image data distribution unit causes a disturbance to the distribution rule by adding a noise component to the distribution rule. Then, the color conversion means refers to the color conversion table for the second image data corresponding to the representative gradation value in the first color space where the first image data is distributed in accordance with the distribution rule in which the disturbance occurs. And read.
つまり本発明によれば、第1画像データの振分け処理を行う際に振分け規則にノイズ成分を与えてその振分け規則を乱す。そのため、色変換の結果取得される第2画像データにおいては、上述した階段状の階調変化という現象が抑制されるとともに、変換元の第1画像データが表現する画像と比較してその画像に乱れが生じた状態となり、ノイズ感のある独特の作風を実現することができる。また、ノイズ成分の付与は上記色変換に際して併せて自動的に行われるため、従来のように、画像にノイズ的効果を加えるためにユーザに多くの作業時間と習熟度を要求するということもない。 That is, according to the present invention, when the first image data distribution process is performed, a noise component is given to the distribution rule to disturb the distribution rule. Therefore, in the second image data acquired as a result of the color conversion, the phenomenon of the stepwise gradation change described above is suppressed, and the image is compared with the image represented by the first image data of the conversion source. Disturbance has occurred and a unique style with a sense of noise can be achieved. In addition, since the addition of the noise component is automatically performed together with the color conversion, it does not require a large amount of work time and proficiency from the user in order to add a noise effect to the image as in the past. .
本発明の具体的な構成として、上記画像データ振分け手段は、第1表色空間の各階調値に対応して振分け先の代表階調値を表す振分け先データを記述した上記振分け規則を備えるとしてもよい。そして、上記振分けの際に、振分け先データに上記ノイズ成分を付与することによって振分け先データの値を増減させるとしてもよい。かかる構成によれば、上記振分け先データがノイズ成分の大きさに応じてランダムに変化するため、上記取得した第1画像データを振分け規則に応じて代表階調値に振分けると、振分けの結果に乱れが生じ、その結果、変換後の第2画像データにおいてノイズ感のある独特の作風が実現される。 As a specific configuration of the present invention, the image data distribution unit includes the distribution rule that describes distribution destination data representing a representative gradation value of a distribution destination corresponding to each gradation value in the first color space. Also good. Then, at the time of the distribution, the value of the distribution destination data may be increased or decreased by adding the noise component to the distribution destination data. According to such a configuration, since the distribution destination data changes randomly according to the magnitude of the noise component, when the acquired first image data is distributed to the representative gradation value according to the distribution rule, the result of the distribution As a result, a unique style with a sense of noise is realized in the converted second image data.
本発明の他の構成として、上記画像データ振分け手段は、上記所定の画像についての印刷条件を取得するとともに、この取得した印刷条件に対応したノイズ成分を生成して上記振分け規則に対して付与するとしてもよい。つまり、ノイズ成分の大きさを印刷条件によって異ならせ、印刷条件に合った大きさのノイズ成分を与えることで、よりユーザの満足のいく作風が実現される。画像データ振分け手段は、印刷条件を画像処理装置が備えるUI(ユーザインターフェース)などを介して取得することができる。 As another configuration of the present invention, the image data distribution unit acquires a printing condition for the predetermined image, generates a noise component corresponding to the acquired printing condition, and assigns it to the distribution rule. It is good. In other words, by making the size of the noise component different depending on the printing condition and providing the noise component having a size that matches the printing condition, a more satisfying style of the user is realized. The image data distribution unit can acquire the printing conditions via a UI (user interface) provided in the image processing apparatus.
より具体的には、上記画像データ振分け手段は、印刷条件として少なくとも印刷に用いる印刷用紙の大きさを取得し、この取得した印刷用紙の大きさに応じて、生成するノイズ成分を変化させるとしてもよい。さらに、画像データ振分け手段は、上記印刷条件として、印刷に用いる印刷用紙の種類や、印刷に用いるインク種類の組合せや、印刷時の出力解像度などといった各種印刷条件の一部或いは全てを取得し、かかる印刷条件に応じた大きさのノイズ成分を生成するとしてもよい。
このように本発明によれば、印刷用紙の大きさ、印刷用紙の種類、印刷に用いるインク種類の組合せ、出力解像度などと言った具体的な印刷条件の違いに応じて最適なノイズ成分を上記振分け規則に付与することで、印刷条件に応じて適度に不規則な乱れを生じさせた画像を実現することが可能となる。
More specifically, the image data distribution unit may acquire at least the size of the printing paper used for printing as the printing condition, and change the generated noise component according to the acquired size of the printing paper. Good. Further, the image data distribution means acquires part or all of various printing conditions such as the type of printing paper used for printing, the combination of ink types used for printing, the output resolution at the time of printing, and the like as the printing conditions. A noise component having a magnitude corresponding to the printing condition may be generated.
As described above, according to the present invention, the optimum noise component is selected according to the difference in specific printing conditions such as the size of the printing paper, the type of printing paper, the combination of ink types used for printing, and the output resolution. By assigning to the distribution rule, it is possible to realize an image in which irregular irregularities are appropriately generated according to the printing conditions.
これまでは、画像処理装置というカテゴリーによって発明を説明したが、上記画像処理装置の内容は、その各手段が実行する手順としても把握でき、画像処理方法の発明としても把握できる。
また同様に、上記画像処理装置の内容は、その各手段が実行する手順をコンピュータに実行させる画像処理プログラムの発明としても把握できる。
So far, the invention has been described by the category of image processing apparatus. However, the contents of the image processing apparatus can be grasped as a procedure executed by each means, and can be grasped as an invention of an image processing method.
Similarly, the contents of the image processing apparatus can be grasped as an invention of an image processing program that causes a computer to execute a procedure executed by each means.
下記の順序に従って本発明の実施形態を説明する。
(1)画像処理装置の概略
(2)色修正プロファイルについて
(3)画像処理の内容
(4)まとめ
Embodiments of the present invention will be described in the following order.
(1) Outline of image processing device (2) Color correction profile (3) Contents of image processing (4) Summary
(1)画像処理装置の概略
図1は、本発明にかかる画像処理装置として機能するコンピュータの概略構成を示している。同図において、コンピュータ10には、内部バス10aによって接続されたCPU11とRAM12とHDD13とUSBインターフェイス(I/F)14と入力機器インターフェイス(I/F)15とビデオインターフェイス(I/F)16とが備えられており、HDD13には各種プログラムデータ13aと複数の画像データ13bと色変換ルックアップテーブル(LUT)13cとプレ変換テーブル13eと色修正プロファイル13dとが記憶されている。色変換LUT13cは、特許請求の範囲に言う色変換テーブルに対応する。
(1) Overview of Image Processing Device FIG. 1 shows a schematic configuration of a computer that functions as an image processing device according to the present invention. In FIG. 1, a
CPU11は、このプログラムデータ13aを読み出して、同プログラムデータ13aに基づいた処理をRAM12をワークエリアとして利用しながら実行する。USBインターフェイス(I/F)14にはインクジェット方式のプリンタ20が接続されており、入力機器インターフェイス15にはマウス40およびキーボード50が接続されている。さらに、ビデオインターフェイス(I/F)16にはディスプレイ60が接続されている。
The
図2は、コンピュータ10にて実行されるプログラムのソフトウェア構成を示している。同図においては、上記プログラムデータ13aの一つであるプリンタドライバPが図示しないオペレーティングシステム(O/S)上にて実行されている。プリンタドライバPは、画像データ取得部P1と、表色空間判定部P2と、色修正部P3と、色変換部P4と、ハーフトーン処理部P5と、印刷データ生成部P6とから構成されている。
FIG. 2 shows a software configuration of a program executed on the
画像データ取得部P1は、O/S上で実行されている他のアプリケーションからの印刷実行指示に応じて、同アプリケーションから画像データを受け取ったり、HDD13に格納されている画像データ13bを取得したりする。本実施形態においては、アプリケーションはAdobeRGB(AdobeはAdobe systems社の登録商標。以下においてaRGBと表記する。)表色空間やsRGB表色空間におけるRGB値(以下、それぞれRaGaBa,RsGsBsと表記する。)によって各画素の色が階調表現された画像データを出力することが可能となっている。従って、HDD13には各画素の色がaRGB表色空間かsRGB表色空間のいずれかで階調表現された画像データ13bが混在する。なお、各画素の色がRaGaBa値で表現された画像データ13bを単にaRGB表色空間の画像データ13bと言い、各画素の色がRsGsBs値で表現された画像データ13bを単にsRGB表色空間の画像データ13bと言うものとする。
The image data acquisition unit P1 receives image data from the other application or acquires
画像データ13bは各画素の階調データが格納されるボディと当該画像データ13bの付帯的な情報を格納するヘッダとから構成されており、当該画像データがどの表色空間であるかという表色空間情報はこのヘッダに格納されている。
The
表色空間判定部P2は、画像データ取得部P1が取得した画像データ13bのヘッダを解析し、当該画像データ13bの表色空間がsRGB表色空間かaRGB表色空間のいずれであるかを判定する。例えば、画像データ13bがaRGB表色空間をサポートするデジタルスチルカメラによって撮像されたものである場合には、表色空間判定部P2は当該画像データ13bがaRGB表色空間の画像データ13bであると判別する。
The color space determination unit P2 analyzes the header of the
色修正部P3は、画像データ13bがsRGB表色空間の画像データである場合に色修正プロファイル13dを参照して当該画像データ13bを修正し、aRGB表色空間の画像データ13bに変換する。色修正プロファイル13dは修正前後の階調データの対応関係を規定したテーブル(色修正LUT)を備えている。また本発明では、色修正プロファイル13dは色修正LUTに加え、上記プレ変換テーブル13eに与えるノイズ成分Nの大きさを決定するためのノイズ情報αが記述されている。色修正プロファイル13dの詳細については後述する。
When the
色変換部P4は、aRGB表色空間の画像データ13bを対象とし、色変換LUT13cを参照して、当該画像データ13bをインク表色空間の画像データ13b(インクデータ)に変換する。色変換部P4がaRGB表色空間の画像データ13bをインク表色空間へと色変換することにより、プリンタ20にて使用するインク種類毎のインク記録量を特定することが可能となり、プリンタ20にて画像データ13bに対応する印刷画像を出力することが可能となる。なお本実施形態では、色変換部P4は、色変換LUT3cを参照した色変換処理の前段階において、ノイズ成分Nを付加することによってその振分け規則に乱れが生じた状態となったプレ変換テーブル13eを用いて、aRGB表色空間の画像データ13bの各画素の階調値を他の階調値に振分けるプレ変換を実行する。この意味で色変換部P4は、特許請求の範囲に言う画像データ振分け手段と色変換手段とに対応する。色変換部P4による処理については後に詳述する。
The color conversion unit P4 targets the
ハーフトーン処理部P6は、色変換によって得られたインク表色空間の画像データ13bを取得し、ハーフトーン処理を行う。ハーフトーン処理においては、インク表色空間の画像データ13bに基づいて、各画素毎かつ各インク種類毎にインク滴を吐出させるか否かを特定するハーフトーンデータを生成する。例えば、ハーフトーンデータの生成には誤差拡散法やディザ法等を適用することができる。また、プリンタ20にて複数の大きさのインク滴を吐出することが可能な場合には、インク吐出の可否と併せて、吐出する場合のインク滴の大きさも特定したハーフトーンデータを生成する。印刷データ生成部P7はプリンタ20における印刷順にハーフトーンデータを並べ替え、順次プリンタ20が処理可能な形式の印刷データを生成する。
The halftone processing unit P6 acquires the
(2)色修正プロファイルについて
色修正プロファイル13dについて説明する。図3は色修正プロファイル13dのデータ構造を概略的に示している。色修正プロファイル13dは、概略、色修正プロファイル13dについての付帯的な情報を格納するヘッダ13d1領域と、色修正LUTを記述したボディ領域13d2と、ノイズ情報αを記述したノイズ情報領域13d3とからなる。
(2) Color Correction Profile The
まず、色修正LUTについて説明する。色修正LUTは、修正前のRsGsBs値と修正後のRmGmBm値(色修正LUTを参照して修正した後の階調データをRmGmBmと表記する。)の対応関係を規定している。色修正LUTは、すべてのRsGsBs値の組合わせ(RGBを夫々256階調で表現する場合には256の3乗個の組合せ)について対応する修正後のRmGmBm値を規定してもよいが、代表的なRsGsBs値に対応する修正後のRmGmBm値を規定し、補間演算によって修正後のRmGmBm値を算出するようにしてもよい。修正後のRmGmBm値はaRGB表色空間における座標を表している。従って、色修正LUTを参照して修正を行うことにより、sRGB表色空間の画像データ13bをaRGB表色空間の画像データ13bに変換することができる。
First, the color correction LUT will be described. The color correction LUT defines a correspondence relationship between an RsGsBs value before correction and an RmGmBm value after correction (gradation data after correction with reference to the color correction LUT is expressed as RmGmBm). The color correction LUT may prescribe the corrected RmGmBm values corresponding to all combinations of RsGsBs values (256 cube combinations when RGB is expressed in 256 gradations). A corrected RmGmBm value corresponding to a typical RsGsBs value may be defined, and the corrected RmGmBm value may be calculated by interpolation calculation. The corrected RmGmBm value represents the coordinates in the aRGB color space. Therefore, the
図4は、aRGB表色空間の色域とsRGB表色空間の色域とプリンタ20が再現可能な色域とをL*a*b*表色空間(以下、「*」は省略。)にて示しており、同色域をL軸およびa軸(赤方向)を含むように切断した平面断面を示している。同図において、a軸(赤方向)の高彩度領域において、プリンタ20が表現可能な色域よりもsRGB表色空間の色域が高明度L側に広くなっている。また、色空間の設計上、高彩度領域においてaRGB表色空間の色域の方がsRGB表色空間よりも高明度L側に広くなっている。sRGB表色空間において彩度が最も高くなる最大点Osにおいて、aRGB表色空間の色域との差が最も大きくなっており、彩度が低下するほど色域の差が小さくなっている。
FIG. 4 shows the color gamut of the aRGB color space, the color gamut of the sRGB color space, and the color gamut that can be reproduced by the
図4においては、色修正LUTによって修正されるRsGsBs値の修正量をベクトルhによって示している。ベクトルhによってsRGB表色空間の色域の外縁付近の色の明度Lが上方修正され、sRGB表色空間の色域に収まっていたRsGsBs値が、sRGB表色空間の色域の外側かつaRGB表色空間の色域の内側のLab値に対応するRmGmBm値に修正されることが示されている。また、ベクトルhはa軸方向の成分を有しておらず、L軸と平行である。すなわち、修正前のRsGsBs値と修正後のRmGmBm値では彩度が一致しており、色修正LUTによる修正を行っても彩度を維持することができる。 In FIG. 4, the correction amount of the RsGsBs value corrected by the color correction LUT is indicated by a vector h. The brightness h of the color near the outer edge of the color gamut of the sRGB color space is upwardly corrected by the vector h, and the RsGsBs value that has fallen in the color gamut of the sRGB color space is outside the color gamut of the sRGB color space and the aRGB table. It is shown that the RmGmBm value corresponding to the Lab value inside the color gamut of the color space is corrected. Further, the vector h has no component in the a-axis direction and is parallel to the L axis. That is, the saturation is the same between the RsGsBs value before correction and the RmGmBm value after correction, and the saturation can be maintained even if correction is performed by the color correction LUT.
なお、上記においてはa軸(赤方向)上の修正態様を示したが、他の色相においてはsRGB表色空間とaRGB表色空間とが再現できる色域との関係が異なることも考えられる。例えば、a軸(緑方向)の高彩度領域においてはsRGB表色空間の色域の方がaRGB表色空間の色域よりも高明度側に大きくなり、sRGB表色空間によって表現されていた色をaRGB表色空間によって表現可能な色に修正するためには明度Lを下方修正する必要がある。このように、sRGB表色空間の色域とaRGB表色空間の色域(さらにはプリンタ20が再現できる色域)とは一致せず、かつ注目する色領域によっても変動するため、これらの関係に応じて適切な修正量や修正方向を設定しておくことが望ましい。 In the above description, the correction mode on the a-axis (red direction) is shown. However, in other hues, the relationship between the sRGB color space and the color gamut in which the aRGB color space can be reproduced may be different. For example, in the high saturation region of the a-axis (green direction), the color gamut of the sRGB color space is larger on the higher lightness side than the color gamut of the aRGB color space, and the color expressed by the sRGB color space is In order to correct to a color that can be expressed by the aRGB color space, the lightness L needs to be corrected downward. In this way, the color gamut of the sRGB color space and the color gamut of the aRGB color space (and the color gamut that can be reproduced by the printer 20) do not match and vary depending on the color region of interest. It is desirable to set an appropriate correction amount and correction direction according to the situation.
図5は、色修正LUT作成の流れを模式的に示している。
はじめにsRGB表色空間の設計仕様に基づいてsRGB表色空間における各RsGsBs値に対応するLab値を算出する。これによりsRGB表色空間の色域をLab表色空間にて特定することができる。次に、各RsGsBs値に対応するLab値に対して所定の修正量を与えて修正する。本実施形態の場合、sRGB表色空間の色域の外縁付近のRsGsBs値に対応するLab値がaRGB表色空間の色域の外縁付近に位置するようにLab値を修正する。すなわち、sRGB表色空間の色域の外縁付近のRsGsBs値がaRGB表色空間の色域の外縁付近のLab値と対応づけられるように修正される。図4に示す例では、高彩度の赤色がベクトルhで示される明度Lの修正を受け、aRGB表色空間の色域の外縁付近に修正されることとなる。
FIG. 5 schematically shows the flow of creating a color correction LUT.
First, a Lab value corresponding to each RsGsBs value in the sRGB color space is calculated based on the design specification of the sRGB color space. As a result, the color gamut of the sRGB color space can be specified in the Lab color space. Next, the Lab value corresponding to each RsGsBs value is corrected by giving a predetermined correction amount. In the present embodiment, the Lab value is corrected so that the Lab value corresponding to the RsGsBs value near the outer edge of the color gamut of the sRGB color space is located near the outer edge of the color gamut of the aRGB color space. That is, the RsGsBs value near the outer edge of the color gamut of the sRGB color space is corrected so as to be associated with the Lab value near the outer edge of the color gamut of the aRGB color space. In the example shown in FIG. 4, the high saturation red color is corrected near the outer edge of the color gamut of the aRGB color space by receiving the correction of the lightness L indicated by the vector h.
次に、aRGB表色空間において修正後のLab値に対応する色座標をRmGmBm値として特定する。aRGB表色空間とLab表色空間との対応関係はaRGB表色空間の設計仕様によって特定することができるため、aRGB表色空間において修正後のLab値に対応する色座標をRmGmBm値として特定することができる。以上の処理を行うことにより、もとのRsGsBs値に対応するaRGB表色空間のRmGmBm値を特定することができ、これらの対応関係を記述することにより色修正LUTを作成することができる。 Next, the color coordinates corresponding to the corrected Lab value in the aRGB color space are specified as the RmGmBm value. Since the correspondence relationship between the aRGB color space and the Lab color space can be specified by the design specification of the aRGB color space, the color coordinates corresponding to the corrected Lab value in the aRGB color space are specified as RmGmBm values. be able to. By performing the above processing, the RmGmBm value of the aRGB color space corresponding to the original RsGsBs value can be specified, and a color correction LUT can be created by describing these correspondences.
次に、ノイズ情報領域13d3に記述されたノイズ情報αについて説明する。
上述したように、色修正プロファイル13dには上記色修正LUTだけでなくノイズ情報αも併せて記述しておくことで、プレ変換テーブル13eへのノイズ成分Nの付加を可能としている。本実施形態では、ノイズ成分Nを以下の式(1)により生成する。
N=rand×α …(1)
ここでrandは、乱数を発生させる関数を表し、例えば、rand=[−1,1]という一様乱数とすれば、−1〜1の数字をランダムに発生させる。なお、ノイズ成分Nの生成には正規乱数を採用するとしてもよい。
Next, the noise information α described in the noise information area 13d3 will be described.
As described above, not only the color correction LUT but also the noise information α is described in the
N = rand × α (1)
Here, rand represents a function for generating a random number. For example, if rand = [− 1, 1] is a uniform random number, numbers −1 to 1 are randomly generated. Note that a normal random number may be adopted for generation of the noise component N.
ノイズ情報αは乱数に乗算される係数であり、この値を変えることによって、ランダムな値として発生するノイズ成分Nの大きさを変えることができる。本実施形態では、色修正プロファイル13d中の所定の情報は各タグに対応させて記述しているが、ノイズ情報αについても独自のタグ(EMSTag)に対応させて記述している。
また、本実施形態では、色修正プロファイル13dに記述するノイズ情報αは一つではなく、画像の印刷条件の違いに応じて複数のノイズ情報αを記述している。印刷条件の一つとしては、画像印刷に使用する印刷用紙の大きさが考えれる。
The noise information α is a coefficient multiplied by a random number. By changing this value, the magnitude of the noise component N generated as a random value can be changed. In the present embodiment, the predetermined information in the
In the present embodiment, the noise information α described in the
より具体的には、印刷用紙のサイズが大きいほどノイズ情報αも大きな値に設定している。つまり、用紙サイズが大きい場合には、ある程度ノイズ成分Nを大きくしなければ画像においてノイズ感のある作風をしっかりと表現できず、反対に小さい用紙においてはノイズ成分Nが大きすぎると画像の荒れも大きくなり過ぎるからである。同図においては、タグEMSに対応させて、ノイズ情報α1、α2…αnというように各用紙サイズに対応した異なるノイズ情報を記録している。例えば、A3サイズ用のノイズ情報をα1、A4サイズ用のノイズ情報をα2とした場合には、α1>α2となる。 More specifically, the noise information α is set to a larger value as the size of the printing paper is larger. In other words, if the paper size is large, the noise-like style cannot be expressed firmly in the image unless the noise component N is increased to some extent. On the contrary, if the noise component N is too large on a small paper, the image may be rough. Because it becomes too big. In the figure, different noise information corresponding to each paper size, such as noise information α1, α2,... Αn, is recorded in association with the tag EMS. For example, if the noise information for A3 size is α1 and the noise information for A4 size is α2, then α1> α2.
なお、ノイズ成分Nを生成する際に考慮する印刷条件は、印刷用紙の大きさに限られず、印刷用紙の種類や、プリンタ20が使用するインク種類の組合せ(インク種類の数)や、印刷時の出力解像度などの一部または全てを、上記印刷用紙の大きさに替えて或いは加えて考慮するようにしてもよい。
印刷用紙の種類について考慮する場合には、色修正プロファイル13dの特定のタグに、印刷用紙の種類毎に異なる複数のノイズ情報αを記録しておく。例えば、画像印刷に、光沢紙、マット紙、普通紙という各種用紙を選択可能である場合を想定すると、かかる各種用紙毎に異なるノイズ情報αを設定しておく。ここでは、用紙の特性とノイズの目立ちやすさを考慮して、光沢紙に対応するノイズ情報α<マット紙に対応するノイズ情報α<普通紙に対応するノイズ情報α、という関係となるように各ノイズ情報αを設定する。
Note that the printing conditions considered when generating the noise component N are not limited to the size of the printing paper, but the type of printing paper, the combination of ink types used by the printer 20 (number of ink types), and the printing time. A part or all of the output resolution may be considered instead of or in addition to the size of the printing paper.
When considering the type of printing paper, a plurality of noise information α different for each type of printing paper is recorded in a specific tag of the
プリンタ20が使用するインク種類の組合せを考慮する場合には、色修正プロファイル13dの特定のタグに、インク種類の組合せ毎に異なる複数のノイズ情報αを記録しておく。本実施形態では、プリンタ20はCMYK(シアン、マゼンダ、イエロー、ブラック)の4種のインクセットを使用するものとするが、プリンタのモデルによってはLc(ライトシアン)、Lm(ライトマゼンダ)等を加えた6種のインクセットや、さらに他の種類のインクを加えた8種のインクセットを使用する場合がある。本実施形態では基本的に、使用するインク種類の数が多い場合ほどノイズ情報αも大きな値を対応させて設定しておく。
When considering the combination of ink types used by the
印刷時の出力解像度を考慮する場合には、色修正プロファイル13dの特定のタグに、出力画解像度毎に異なる複数のノイズ情報αを記録しておく。本実施形態では基本的に、出力解像度が高いほどノイズ情報αも大きな値を対応させて記録しておく。これは、出力解像度が小さい場合には画像のノイズ感も目立ちやすく、一方、出力解像度が高い場合にはノイズ感が目立ちにくいからである。
上記のような色修正LUTおよびノイズ情報αを備えた色修正プロファイル13dを予め生成しHDD13に保存した上で、以下のような画像処理が実行される。
When considering the output resolution at the time of printing, a plurality of noise information α different for each output image resolution is recorded in a specific tag of the
After the
(3)画像処理の流れ
図6は、上記プリンタドライバPが実行する画像処理の内容をフローチャートにより示している。
まず、ステップS(以下、ステップの記載を省略。)100においては、画像データ取得部P1が画像データ13bを取得する。画像データ取得部P1は、元画像の画像データ13bと印刷画像の大きさ(出力解像度)を取得し、これらの相対比から得られたサイズ変換比に応じて画像データ13bのサイズ変換を実行してもよい。つまり、必要に応じて画素の補間または間引きを行う。
(3) Flow of Image Processing FIG. 6 is a flowchart showing the content of image processing executed by the printer driver P.
First, in step S (hereinafter step description is omitted) 100, the image data acquisition unit P1 acquires the
S110においては、表色空間判定部P2が画像データ13bのヘッダを解析し、当該画像データ13bの表色空間がaRGB表色空間かsRGB表色空間のいずれかであるかを判定する。
S120においては、画像データ13bがaRGB表色空間かsRGB表色空間のいずれかであるかによって処理を分岐させる。画像データ13bがsRGB表色空間の画像データである場合にはS130に進む。
In S110, the color space determination unit P2 analyzes the header of the
In S120, the process is branched depending on whether the
S130では、色修正部P3が上記色修正プロファイル13dに記述された色修正LUTを参照してsRGB表色空間の画像データ13bのRsGsBs値をそれぞれ修正し、aRGB表色空間の画像データ13bに変換する。
S140では、色変換部P4がaRGB表色空間の画像データ13bを色変換する。
In S130, the color correction unit P3 corrects the RsGsBs value of the
In S140, the color conversion unit P4 performs color conversion on the
図7は、S140における色変換処理の詳細をフローチャートにより示している。
先ず、S141では、色変換部P4は、ノイズ成分Nの生成に使用するノイズ情報αを選択するために画像の印刷条件を取得する。つまり、色変換部P4は、キーボード50やマウス40等を操作してユーザがUIを介して設定した各種印刷条件のうち、ノイズ情報αを選択するために必要な印刷条件を取得する。本実施形態では、色修正プロファイル13dにおけるノイズ情報領域13d3の特定のタグには、印刷用紙の大きさ毎に異なるノイズ情報α1〜αnが記録されている。そこで色変換部P4は、ユーザが印刷のために設定した用紙の大きさを取得する。
FIG. 7 is a flowchart showing details of the color conversion process in S140.
First, in S <b> 141, the color conversion unit P <b> 4 acquires image printing conditions in order to select the noise information α used to generate the noise component N. That is, the color conversion unit P4 acquires a printing condition necessary for selecting the noise information α among various printing conditions set by the user via the UI by operating the
S142では、色変換部P4は、上記取得した印刷条件(印刷用紙の大きさ)に対応するノイズ情報αを、色修正プロファイル13dのノイズ情報領域13d3から選択して読み出す。
S143では、色変換部P4は、上記プレ変換テーブル13eをHDD13から読み出す。
In S142, the color conversion unit P4 selects and reads out the noise information α corresponding to the acquired printing condition (printing paper size) from the noise information area 13d3 of the
In S143, the color conversion unit P4 reads the pre-conversion table 13e from the
図8は、プレ変換テーブル13eを模式的に表した図である。プレ変換テーブル13eは、n階調で表される入力側の画像データを当該nより少ない階調数で表される画像データに変換するものであり、入力側の各階調値と、この各階調値の振分け先の階調値を所定の桁部分にて表すデータ(振分け先データ)との対応関係(振分け規則)を規定している。具体的には、プレ変換テーブル13eは、RaGaBaの各成分が0〜255の256階調で表現された画像データを、0〜63の64階調で表現される画像データに階調変換する。かかる変換により得られた64階調表現の画像データは、RaGaBaの代表座標毎にインクデータとの対応関係を記録している色変換LUT13cにおけるいずれかの代表座標と一致する。
FIG. 8 is a diagram schematically showing the pre-conversion table 13e. The pre-conversion table 13e converts input-side image data represented by n gradations into image data represented by a number of gradations smaller than n, and each gradation value on the input side and each gradation It defines a correspondence relationship (distribution rule) with data (distribution destination data) representing the gradation value of the value distribution destination in a predetermined digit part. Specifically, the pre-conversion table 13e performs gradation conversion of image data in which each component of RaGaBa is expressed in 256 gradations from 0 to 255 to image data expressed in 64 gradations from 0 to 63. The image data expressed in 64 gradations obtained by such conversion coincides with any representative coordinate in the
プレ変換テーブル13eにて規定している振分け先データについて説明する。0〜255の各入力階調値にそれぞれ対応する振分け先データは、振分け先の階調値を表す参照桁(2桁目以上)と、振分け先の階調値を表さない非参照桁(1桁目)とから構成されている。0〜255の入力階調値については変換前の階調数(256)を変換後の階調数(64)で除算して得た数(4階調)毎に複数の階調ブロックに区切ることができる。そこで、プレ変換テーブル13eでは、上記のように区切った各階調ブロックに対し、低階調側のブロックから順に0〜63の数字を対応付け、この対応付けた数字を参照桁における値(参照桁値)としている。この結果、同図に示すように、入力階調値0〜3に対応する参照桁値は0、入力階調値4〜7に対応する参照桁値は1、入力階調値8〜11に対応する参照桁値は2…というようになる。
The distribution destination data defined in the pre-conversion table 13e will be described. The distribution destination data corresponding to each of the input gradation values from 0 to 255 includes a reference digit (second digit or more) indicating the gradation value of the distribution destination and a non-reference digit (not indicating the gradation value of the distribution destination). 1st digit). Input gradation values of 0 to 255 are divided into a plurality of gradation blocks for each number (four gradations) obtained by dividing the number of gradations before conversion (256) by the number of gradations after conversion (64). be able to. Therefore, in the pre-conversion table 13e, each gradation block partitioned as described above is associated with
しかし、上記参照桁値をそのまま用いて階調変換を行った場合には、その変換結果があまりにも規則的に過ぎ、色変換後のインクデータによる画質も低下するばかりでなく、ユーザが望む画像上における不規則な乱れ感といった作風も表現できない。そこで、本実施形態では、参照桁の下位に1桁割り当てこれを非参照桁として振分け先データを構成し、当該振分け先データに対してノイズ成分Nを付与することで参照桁値を増減可能としている。 However, when gradation conversion is performed using the reference digit value as it is, the conversion result is too regular, and not only the image quality by the ink data after color conversion is deteriorated but also the image desired by the user. It cannot express the style of irregular turbulence above. Therefore, in this embodiment, one digit is assigned to the lower order of the reference digit, and this is used as a non-reference digit to configure the distribution destination data. By adding a noise component N to the distribution destination data, the reference digit value can be increased or decreased. Yes.
各振分け先データの非参照桁への数字の与え方は特に限定されないが、一例として本実施形態では、ある階調ブロックに対応する各振分け先データの参照桁値がiである場合に当該階調ブロックにおける各振分け先データがそれぞれ示す値がi×10以上かつ(i+1)×10未満の範囲に収まるように、各振分け先データの非参照桁の値(非参照桁値)を漸次的に増加させて規定している。 The method of assigning numbers to the non-reference digits of each distribution destination data is not particularly limited. As an example, in this embodiment, when the reference digit value of each distribution destination data corresponding to a certain gradation block is i, The non-reference digit values (non-reference digit values) of each distribution destination data are gradually set so that the values indicated by the respective distribution destination data in the key block fall within the range of i × 10 or more and less than (i + 1) × 10. It is specified to increase.
S144では、色変換部P4は、プレ変換テーブル13eの各振分け先データ毎に、上記読み出したノイズ情報αと上記式(1)とによってノイズ成分Nを算出し、生成したノイズ成分Nをその非参照桁値に付与することにより、プレ変換テーブル13eによる振分け規則に変化を生じさせる。ノイズ成分Nはこれを算出する度に正負も含めてランダムな値となるし、乗算するノイズ情報αの大きさによっても値が異なってくる。従って、非参照桁値へのノイズ成分Nの加算によって、非参照桁の上位の桁すなわち参照桁の値を繰り上げたり繰り下げたりできる。 In S144, the color conversion unit P4 calculates the noise component N by using the read noise information α and the above equation (1) for each distribution destination data of the pre-conversion table 13e, and the generated noise component N is calculated as the non-conversion noise component N. By assigning the value to the reference digit value, the distribution rule by the pre-conversion table 13e is changed. Each time the noise component N is calculated, it becomes a random value including positive and negative, and the value varies depending on the magnitude of the noise information α to be multiplied. Therefore, by adding the noise component N to the non-reference digit value, the upper digit of the non-reference digit, that is, the value of the reference digit can be raised or lowered.
例えば、入力階調値“10”に対応する振分け先データ“26(参照桁値=2、非参照桁値=6)”の場合、付与されるノイズ成分Nが“+1”であれば、参照桁値は変化せず“2”のままであるが、ノイズ成分Nが“−8”であれば、参照桁値は一つ繰り下がって“1”となるし、ノイズ成分Nが“+8”であれば、参照桁値は一つ繰り上がって“3”となる。ノイズ成分Nがさらに大きい値であれば、参照桁値もさらに大きく上下する。つまり、ランダムな値をとるノイズ成分Nを上記のように振分け先データに加算することで、プレ変換テーブル13eによる階調振分けの規則性に乱れを生じさせることができる。ノイズ成分Nの生成および加算は全振分け先データをそれぞれ対象として行う。なお、ノイズ成分Nの加算結果にかかわらず、参照桁値が取り得る最小値は0、最大値は63とする。 For example, in the case of distribution destination data “26 (reference digit value = 2, non-reference digit value = 6)” corresponding to the input gradation value “10”, if the applied noise component N is “+1”, the reference is made. The digit value does not change and remains “2”. However, if the noise component N is “−8”, the reference digit value is moved down to “1”, and the noise component N is “+8”. If so, the reference digit value is incremented by one to “3”. If the noise component N is a larger value, the reference digit value is also increased or decreased further. That is, by adding the noise component N having a random value to the distribution destination data as described above, it is possible to disturb the regularity of gradation distribution by the pre-conversion table 13e. The generation and addition of the noise component N are performed for all distribution destination data. Regardless of the addition result of the noise component N, the minimum value that can be taken by the reference digit value is 0 and the maximum value is 63.
なお、色修正プロファイル13dにおいてノイズ情報αが、印刷用紙の大きさではなく、印刷用紙の種類、プリンタ20が使用するインク種類の組合せ、印刷時の出力解像度のいずれかに応じて記録されている場合には、色変換部P4は、S141において、ユーザがUIを介して設定した各種印刷条件のうち印刷用紙の種類または出力解像度を取得するか、或いは、USBI/F14を介したプリンタ20との双方向通信によってプリンタ20が使用しているインク種類の組合せを示す情報を取得する。そして、S142においては、上記取得した、印刷用紙の種類またはプリンタ20が使用するインク種類の組合せまたは印刷時の出力解像度に対応するノイズ情報αをノイズ情報領域13d3から選択して読み出す。
In the
また、色修正プロファイル13dにおいてノイズ情報αが、印刷用紙の大きさや、印刷用紙の種類や、プリンタ20が使用するインク種類の組合せや、印刷時の出力解像度といった各印刷条件毎にそれぞれ複数記録されている場合には、色変換部P4は、S141において、印刷用紙の大きさや、印刷用紙の種類や、プリンタ20が使用するインク種類の組合せや、印刷時の出力解像度といった各印刷条件毎を取得するとともに、S142では、この取得した各印刷条件に基づいて、色修正プロファイル13dのノイズ情報領域13d3から各印刷条件毎に一つずつノイズ情報αを読み出す。そして、読み出した複数のノイズ情報αを例えば平均などして一つのノイズ情報を算出し、同算出後のノイズ情報に基づいてノイズ成分Nを生成する。
In the
S145では、色変換部P4は、処理対象とする画素を一つ選択する。
S146では、色変換部P4は、上記選択した画素において夫々256階調で表現されているRaGaBa値を対象として、階調振分けの規則性に乱れが生じた状態となっているプレ変換テーブル13e(ノイズ付与後のプレ変換テーブル13eと言う。)を参照して階調変換する。つまり、Ra,Ga,Baの各階調値を、その値に応じて、ノイズ付与後のプレ変換テーブル13eにおける振分け先データの参照桁値に変換し、この変換後の値をRa´,Ga´,Ba´とする。
In S145, the color conversion unit P4 selects one pixel to be processed.
In S146, the color conversion unit P4 targets the RaGaBa values expressed in 256 gradations in each of the selected pixels, and the pre-conversion table 13e (in which the regularity of gradation distribution is disturbed) The tone conversion is performed with reference to the pre-conversion table 13e after applying noise. That is, Ra, Ga, Ba gradation values are converted into reference digit values of the distribution destination data in the pre-conversion table 13e after the addition of noise according to the values, and the converted values are converted into Ra ', Ga'. , Ba ′.
S147では、色変換部P4は、色変換LUT13cを参照して、上記変換後のRa´Ga´Ba´を、インク種類毎のインク記録量を規定したインクデータに変換する。
上述したようにプリンタ20はCMYKのインクを使用する。そのため色変換LUT13cでは、RaGaBa値による複数の代表座標(代表階調値)とCMYK値(CYMK毎の階調値)との等色対応が規定されている。ここで、色変換LUT13cにおいては、aRGB表色空間の各色成分RaGaBaに対応した3軸上にそれぞれ略等間隔で64個の格子点を設定することにより特定される64の3乗個の代表座標毎に、CMYK値を対応付けて記録している。従って、上記ノイズ付与後のプレ変換テーブル13eを参照して得られる変換後のRa´Ga´Ba´は、上記代表座標のいずれかに該当することとなる。色変換部P4は、上記変換後のRa´Ga´Ba´によって一義的に特定される代表座標に対応するCMYK値を色変換LUT13cから読み出し、この読み出したCMYK値を、S145において選択した画素に対応するインクデータとする。
In S147, the color conversion unit P4 refers to the
As described above, the
S148では、色変換部P4は、画像データを構成する全画素について選択しS145以下の処理を実行したか否か判断し、未選択の画素がある場合にはその未選択の画素を選択してS145以下の処理を繰り返し、一方、全画素を選択し終えた場合には図6の150の処理に進む。 In S148, the color conversion unit P4 selects all the pixels constituting the image data, determines whether or not the processing of S145 and subsequent steps has been executed, and if there is an unselected pixel, selects the unselected pixel. The processing from S145 is repeated, and if all pixels have been selected, the processing proceeds to 150 in FIG.
なお上記では、色変換LUT13cは、RaGaBa値による代表座標とCMYK値との等色対応を規定しているとしたが、厳密には、略等色関係を維持しつつaRGB表色空間とプリンタ20が再現可能な色域との色域調整が行われるような対応関係が規定されている。図4で示したように、aRGB表色空間の色域とプリンタ20が再現可能な色域とにはずれがある。一般的に入力側のaRGB表色空間の色域の方が出力側のプリンタ20の色域よりも広い領域においては、同領域において色抑圧を行うことにより、プリンタ20の色域に収まるように色域を調整する。反対に入力側のaRGB表色空間の色域の方が出力側のプリンタ20の色域よりも狭い領域においては、同領域において色伸長を行うことにより、プリンタ20の色域を広く利用するように色域を調整する。つまり、上記色変換LUT13cは、上記色抑圧や色伸張といった色域調整をも伴った、RaGaBa値とCMYK値との対応関係を規定している。
In the above description, the
図4においては、色修正LUTによって修正されるLab表色空間における修正量をベクトルhによって表しているとともに、色変換LUT13cによって色域調整される際の修正量もベクトルkによって表している(ただし実際には、ベクトルkによる修正対象の色は、プレ変換テーブル13eによる変換後の画像データのLab表色空間における色である。)。このベクトルhとベクトルkによると、もとのsRGB表色空間の色域の外縁付近に位置する色のRsGsBs値に対応するLab値がS130の色修正にてaRGB表色空間の外縁付近まで修正(ベクトルh)され、さらにS140の色変換にてプリンタ20が表現可能な色域の外縁付近に修正(ベクトルk)されることとなる。すなわち、色修正LUTを用いることにより、もとのsRGB表色空間の色域の外縁付近に位置する色に対応するLab値を、色変換後の表色空間においても色域の外縁付近に位置させることができ、プリンタ20が表現可能な色域を有効に広く使用することができる。
In FIG. 4, the correction amount in the Lab color space corrected by the color correction LUT is represented by a vector h, and the correction amount when the color gamut is adjusted by the
ここで、S130にて色修正を行わないと、ベクトルhによる色修正がされないで、色変換にてベクトルkにて色域調整がされることとなる。すると、図4において、もともとsRGB表色空間の色域の外縁付近にある赤色のRsGsBs値が、プリンタ20が表現可能な色域の外縁付近よりも大幅に内側に修正された上でCMYK値への等色変換が行われることとなる。この場合、プリンタ20が表現可能な色域の外縁付近が使用されないこととなり、印刷画像の色域が制限されることとなる。
Here, if color correction is not performed in S130, color correction using the vector h is not performed, and color gamut adjustment is performed using the vector k in color conversion. Then, in FIG. 4, the red RsGsBs value that is originally near the outer edge of the color gamut of the sRGB color space is corrected to the CMYK value after being significantly corrected to the inner side of the vicinity of the outer edge of the color gamut that can be expressed by the
以上のように、色変換処理後のインクデータが得られたら、インクデータに対してハーフトーン処理部P5がハーフトーン処理を行い(S150)、さらに、印刷データ生成部P6が印刷データに変換する処理を行う(S160)。これにより、プリンタ20に対して印刷データを出力することができ、同印刷データに基づいてプリンタ20が実際に印刷を行うことができる。
As described above, when the ink data after the color conversion process is obtained, the halftone processing unit P5 performs the halftone process on the ink data (S150), and the print data generation unit P6 converts the print data into print data. Processing is performed (S160). Accordingly, print data can be output to the
本発明においては、色変換対象としたRaGaBa値を色変換LUT13cにおける略近隣の代表座標に振分け、振分け先の代表座標に対応付けられたCMYK値を読み出し、これを上記色変換対象としたRaGaBa値に対応するCMYK値とする。そのため、色変換対象としたRaGaBa値の近隣の代表座標におけるRaGaBa‐CMYK値の関係を参照して補間演算を行う色変換処理と比較して演算量が少なく、色変換処理自体が高速化される。
In the present invention, the RaGaBa value as the color conversion target is assigned to the representative coordinates in the vicinity of the
(4)まとめ
このように本発明によれば、複数の代表座標毎に色変換関係を規定した色変換LUT13cを参照した色変換の前段階として、色変換対象となる画像データの各画素をプレ変換テーブル13eに従って近隣の代表座標に振分ける場合に、上記プレ変換テーブル13eに規定した振分け先データに対してランダムな値を取るノイズ成分Nを付与するため、上記プレ変換テーブル13eによる振分け規則に乱れを生じさせることができる。よって、各画素毎の色変換の結果にもある程度の乱れが生じ、色変換によって得られたインクデータに基づいて印刷される画像においては、ユーザが所望するノイズ感のある独特の作風を実現することができる。
(4) Summary As described above, according to the present invention, each pixel of image data to be color-converted is pre-processed as a pre-stage of color conversion with reference to the
また、本発明によれば、プレ変換テーブル13eを用いた上記振分けを行うことで、自動的に画像にノイズ感を表出させることが可能であるため、従来のように、印刷画像にノイズ的効果を加えるためにユーザに多くの作業時間と習熟度を要求するということもない。また、上記色修正プロファイル13dには、印刷用紙の大きさを始めとする各種印刷条件に応じて最適な大きさのノイズ成分Nを生成するためのノイズ情報αを記録してある。そのため本発明においては、印刷条件を様々に変化させても、常に適度にノイズ感のある作風となった画像を自動的に取得することが可能となる。
Further, according to the present invention, by performing the above-described distribution using the pre-conversion table 13e, it is possible to automatically express the noise feeling in the image. There is no requirement for the user to spend a lot of work time and proficiency to add effects. In the
また、上記色修正プロファイル13dにおいて、上記色修正LUTとノイズ情報αとが併せて記録されていることに大きな価値がある。つまり、上記プレ変換テーブルおよび、aRGB表色空間とプリンタが扱う表色空間との色の変換対応関係を規定した色変換LUTを持つコンピュータなど所定の装置に対して、当該色修正プロファイル13dを所定の通信ネットワークや媒体を通じて配信することができる。すると、当該所定の装置において、色変換LUTによる画像データの色変換作業の前に、色修正LUTを参照した画像データの修正を実行できるとともに、色修正プロファイル13dからノイズ情報αを読み出して、プレ変換テーブルに対するノイズ成分の付与処理を実行することが可能となる。
In the
10…コンピュータ、10a…内部バス、11…CPU、12…RAM、13…HDD、13a…プログラムデータ、13b…画像データ、13c…色変換LUT、13d…色修正プロファイル、13e…プレ変換テーブル、14…USBI/F、15…入力機器I/F、16…ビデオI/F、20…プリンタ、40…マウス、50…キーボード、60…ディスプレイ、P…プリンタドライバ、P1…画像データ取得部、P2…表色空間判定部、P3…色修正部、P4…色変換部、P5…ハーフトーン処理部、P6…印刷データ生成部
DESCRIPTION OF
Claims (6)
所定の画像を表した第1画像データを取得する画像データ取得手段と、
上記取得した第1画像データを、所定の振分け規則に基づいて第1表色空間における近隣の代表階調値のいずれかに振分ける処理を実行するに際し、当該振分け規則に対しノイズ成分を付与することで振分け規則に乱れを生じさせる画像データ振分け手段と、
上記振分け先の第1表色空間における代表階調値に対応する第2画像データを上記色変換テーブルを参照して読み出す色変換手段とを備えることを特徴とする画像処理装置。 The correspondence between the first image data in which the color of each pixel is expressed by gradation in the first color space and the second image data in which the color of each pixel is expressed by gradation in the second color space is a representative gradation value. An image processing apparatus that converts first image data into second image data with reference to a color conversion table defined for
Image data acquisition means for acquiring first image data representing a predetermined image;
When executing the process of distributing the acquired first image data to one of the neighboring representative gradation values in the first color space based on a predetermined distribution rule, a noise component is added to the distribution rule. Image data distribution means for causing disturbance in the distribution rule by,
An image processing apparatus comprising: color conversion means for reading out second image data corresponding to a representative gradation value in the first color space of the distribution destination with reference to the color conversion table.
所定の画像を表した第1画像データを取得する画像データ取得工程と、
上記取得した第1画像データを、所定の振分け規則に基づいて第1表色空間における近隣の代表階調値のいずれかに振分ける処理を実行するに際し、当該振分け規則に対しノイズ成分を付与することで振分け規則に乱れを生じさせる画像データ振分け工程と、
上記振分け先の第1表色空間における代表階調値に対応する第2画像データを上記色変換テーブルを参照して読み出す色変換工程とを備えることを特徴とする画像処理方法。 The correspondence between the first image data in which the color of each pixel is expressed by gradation in the first color space and the second image data in which the color of each pixel is expressed by gradation in the second color space is a representative gradation value. An image processing method for converting first image data into second image data with reference to a color conversion table defined for
An image data acquisition step of acquiring first image data representing a predetermined image;
When executing the process of distributing the acquired first image data to one of the neighboring representative gradation values in the first color space based on a predetermined distribution rule, a noise component is added to the distribution rule. An image data distribution process that causes disturbance in the distribution rule,
An image processing method comprising: a color conversion step of reading second image data corresponding to a representative gradation value in the first color space of the distribution destination with reference to the color conversion table.
所定の画像を表した第1画像データを取得する画像データ取得機能と、
上記取得した第1画像データを、所定の振分け規則に基づいて第1表色空間における近隣の代表階調値のいずれかに振分ける処理を実行するに際し、当該振分け規則に対しノイズ成分を付与することで振分け規則に乱れを生じさせる画像データ振分け機能と、
上記振分け先の第1表色空間における代表階調値に対応する第2画像データを上記色変換テーブルを参照して読み出す色変換機能とを実行させることを特徴とする画像処理プログラム。 The correspondence between the first image data in which the color of each pixel is expressed by gradation in the first color space and the second image data in which the color of each pixel is expressed by gradation in the second color space is a representative gradation value. An image processing program for causing a computer to execute a process of converting the first image data into the second image data with reference to the color conversion table defined for
An image data acquisition function for acquiring first image data representing a predetermined image;
When executing the process of distributing the acquired first image data to one of the neighboring representative gradation values in the first color space based on a predetermined distribution rule, a noise component is added to the distribution rule. An image data distribution function that causes disturbance in the distribution rules,
An image processing program for executing a color conversion function of reading second image data corresponding to a representative gradation value in the first color space of the distribution destination with reference to the color conversion table.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006072589A JP2007251618A (en) | 2006-03-16 | 2006-03-16 | Image processing apparatus, image processing method and image processing program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006072589A JP2007251618A (en) | 2006-03-16 | 2006-03-16 | Image processing apparatus, image processing method and image processing program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007251618A true JP2007251618A (en) | 2007-09-27 |
Family
ID=38595448
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006072589A Pending JP2007251618A (en) | 2006-03-16 | 2006-03-16 | Image processing apparatus, image processing method and image processing program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007251618A (en) |
-
2006
- 2006-03-16 JP JP2006072589A patent/JP2007251618A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6084689A (en) | Method and apparatus for saturation compensation in total ink limited output | |
US8638474B2 (en) | Image processing apparatus and color conversion table generating method | |
JP2005253072A (en) | System and method for gamut mapping control | |
JP2005253072A5 (en) | ||
JP2012518303A (en) | Image processing system for processing digital image and image processing method for processing digital image | |
JP2005348053A (en) | Color conversion device; method, device, and program for print control unit; method, device, and program for generating color conversion data; and recording medium on which color conversion data is recorded | |
JP3309944B2 (en) | Improved method and apparatus for performing vivid color correction in a binary printing device | |
JP2007088636A (en) | Color separation table generating method and image processing apparatus | |
JP2004188980A (en) | Digital image printing in which reduced amount of colorant is used while maintaining sensed color | |
JP5943666B2 (en) | Recording method, image processing apparatus, and image processing method | |
JP2007251619A (en) | Apparatus, method and program for image processing | |
JP2005109546A (en) | Apparatus, method, and program for image processing | |
JP2006238025A (en) | Image processor and method for color transformation | |
JP5871760B2 (en) | Image processing apparatus, printing apparatus, image processing method, and program | |
JP2007195015A (en) | Color conversion apparatus, method, and program | |
JP5206428B2 (en) | Color processing apparatus and program | |
JP2007251618A (en) | Image processing apparatus, image processing method and image processing program | |
JP2009218780A (en) | Image processing method, printer, color conversion device, and color conversion program | |
JP2009004917A (en) | Color processing device and its method | |
JP2005210339A (en) | Image processor, print controller, and image processing method and program | |
JP2007251319A (en) | Apparatus, method, and program for image processing and image date conversion profile | |
JP7495660B2 (en) | Image processing device and computer program | |
JP2009219062A (en) | Image processing method, printer, image processor and image processing program | |
JP4983658B2 (en) | Image processing method, image processing apparatus, and image processing program | |
JP4697807B2 (en) | Image processing apparatus, image processing method, program, and information recording medium |