Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4464018B2 - Color processing method and apparatus - Google Patents
[go: Go Back, main page]

JP4464018B2 - Color processing method and apparatus - Google Patents

Color processing method and apparatus Download PDF

Info

Publication number
JP4464018B2
JP4464018B2 JP2001293852A JP2001293852A JP4464018B2 JP 4464018 B2 JP4464018 B2 JP 4464018B2 JP 2001293852 A JP2001293852 A JP 2001293852A JP 2001293852 A JP2001293852 A JP 2001293852A JP 4464018 B2 JP4464018 B2 JP 4464018B2
Authority
JP
Japan
Prior art keywords
color
coordinate data
comparison
color coordinate
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.)
Expired - Fee Related
Application number
JP2001293852A
Other languages
Japanese (ja)
Other versions
JP2003099768A (en
JP2003099768A5 (en
Inventor
寛親 松岡
珠州子 深尾
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 JP2001293852A priority Critical patent/JP4464018B2/en
Priority to US10/251,792 priority patent/US7116338B2/en
Publication of JP2003099768A publication Critical patent/JP2003099768A/en
Priority to US11/472,427 priority patent/US7623138B2/en
Publication of JP2003099768A5 publication Critical patent/JP2003099768A5/ja
Application granted granted Critical
Publication of JP4464018B2 publication Critical patent/JP4464018B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Processing Of Color Television Signals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、擬似3次元表示を用いて色分布解析を行うものに関する。
【0002】
【従来の技術】
近年、パーソナルコンピュータ/ワークステーションの普及に伴い、デスクトップ・パブリッシング(DTP)やCADが広く一般に使用されるようになってきた。このような中、コンピュータによってモニタ上で表現される色を、実際に色材を用いて再現する色再現技術が重要となってきている。例えばDTPにおいては、カラーモニタとカラープリンタとを有するコンピュータシステムにおいて、モニタ上にてカラー画像の作成/編集/加工等を行い、カラープリンタで出力する。ここでユーザは、モニタ上のカラー画像とプリンタ出力画像とが知覚的に一致していることを強く望む。
【0003】
しかしながら色再現技術において、カラー画像とプリンタ出力画像とに於いてこのような知覚上の一致を図ることには以下の理由による困難が伴う。
【0004】
カラーモニタにおいては、蛍光体を用いて特定波長の光を発光することによりカラー画像を表現する。他方、カラープリンタにおいてはインク等を用いて特定波長の光を吸収し、残りの反射光によってカラー画像を表現する。このように画像表示形態が異なることに起因して、両者を比較すると色再現域が大きく異なる。さらに、カラーモニタであっても、液晶モニタと電子銃方式のブラウン管とプラズマディスプレイとでは色再現域が異なる。カラープリンタにあっても、紙質等の相違やインクの使用量の相違等により色再現域が異なる。そこで、これら色再現域の異なる表示媒体間において、表示カラー画像の知覚的一致を計る為、均等表色系に於いてある色再現域と別の色再現域内とを対応させる、様々なガマットマッピング技術が存在する。
【0005】
これら様々のガマットマッピング技術の良否は、最終的には様々な画像に対する主観評価により決定されるものの、主観評価には膨大なコストがかかる上、ここで得られた判定結果はガマットマッピング技術に反映し難い。そこで、あらかじめ良否を判定すると共に判定結果をガマットマッピング技術に反映できるような、ガマットマッピング技術に対する解析/評価技術が求められている。
【0006】
そこで、本出願人は、複数の色分布情報を同時に疑似3次元表示する技術を提案している。擬似3次元表示することにより、複数の色分布情報を定性的/直感的な比較が可能であり、ガマットマッピングの良否/差異を短時間で発見/判断できる。
【0007】
【発明が解決しようとしている課題】
複数の色分布情報を同時に疑似3次元表示することは、大局的な分布状況の比較あるいは大まかな分布状況の比較には非常に有効である反面、局所的な色分布状況の比較あるいは詳細な分布状況の比較においては効力が少なかった。
【0008】
そこで本発明は、局所的な色分布状況の比較結果あるいは詳細な分布状況の比較結果を、擬似3次元表示を用いて視覚的に確認できるようにすることを目的とする。
【0009】
【課題を解決するための手段】
上記目的を達成するために本発明は以下の構成を有する。
【0011】
本願請求項1記載の色処理方法は、比較元テーブルおよび比較先テーブルを選択する選択工程と、前記比較元テーブルの出力色座標データを用いて、複数のポリゴンからなる第2の色空間における3次元オブジェクトデータを生成する生成工程と、前記3次元オブジェクトデータに基づく3次元オブジェクトの表示色を算出する算出工程とを有する色処理方法であって、前記比較元テーブルおよび前記比較先テーブルは、第1の色空間で示される入力色座標データを第2の色空間で示される出力色座標データに変換するテーブルであり、該第1の色空間での格子点の入力色座標データと該格子点の入力色座標データに対応する該第2の色空間上での出力色座標データとの対応を記したものであり、前記算出工程は、前記ポリゴンの頂点に対応する入力色座標データの前記比較元テーブルの出力色座標データと、該ポリゴンの頂点に対応する入力色座標データを前記比較先テーブルを用いて変換することにより得られる出力色座標データとの色差を用いて、該ポリゴンの表面色を算出することを特徴とする。
また、本願請求項2記載の色処理方法は、比較元テーブルおよび比較先テーブルを選択する選択工程と、前記比較元テーブルの出力色座標データを用いて、複数のポリゴンからなる第2の色空間における3次元オブジェクトデータを生成する生成工程と、前記3次元オブジェクトデータに基づく3次元オブジェクトの表示色を算出する算出工程とを有する色処理方法であって、前記比較元テーブルおよび前記比較先テーブルは、第1の色空間で示される入力色座標データを第2の色空間で示される出力色座標データに変換するテーブルであり、該第1の色空間での格子点の入力色座標データと該格子点の入力色座標データに対応する該第2の色空間上での出力色座標データとの対応を記したものであり、前記算出工程は、ワイヤーフレームの辺の両端の点に対応する、前記ポリゴンの2頂点それぞれに対応する入力色座標データの前記比較元テーブルの出力色座標データと、該ポリゴンの2頂点それぞれに対応する入力色座標データを前記比較先テーブルを用いて変換することにより得られる出力色座標データとの色差に基づき、該ワイヤーフレームの辺の色を算出することを特徴とする。
また、本願請求項3記載の色処理方法は、比較元テーブルおよび比較先テーブルを選択する選択工程と、前記比較元テーブルの出力色座標データを用いて、複数のポリゴンからなる第2の色空間における3次元オブジェクトデータを生成する生成工程と、前記3次元オブジェクトデータに基づく3次元オブジェクトの表示色を算出する算出工程とを有する色処理方法であって、前記比較元テーブルおよび前記比較先テーブルは、第1の色空間で示される入力色座標データを第2の色空間で示される出力色座標データに変換するテーブルであり、該第1の色空間での格子点の入力色座標データと該格子点の入力色座標データに対応する該第2の色空間上での出力色座標データとの対応を記したものであり、前記算出工程は、前記ポリゴンの複数の頂点それぞれに対応する入力色座標データの前記比較元テーブルの出力色座標データから求められる比較元の辺の長さと、該ポリゴンの複数の頂点それぞれに対応する入力色座標データを前記比較先テーブルを用いて変換することにより得られる出力色座標データから求められる比較先の辺の長さとに基づき、該ポリゴンの色を算出することを特徴とする。
また、本願請求項4記載の色処理方法は、比較元テーブルおよび比較先テーブルを選択する選択工程と、前記比較元テーブルの出力色座標データを用いて、複数のポリゴンからなる第2の色空間における3次元オブジェクトデータを生成する生成工程と、前記3次元オブジェクトデータに基づく3次元オブジェクトの表示色を算出する算出工程とを有する色処理方法であって、前記比較元テーブルおよび前記比較先テーブルは、第1の色空間で示される入力色座標データを第2の色空間で示される出力色座標データに変換するテーブルであり、該第1の色空間での格子点の入力色座標データと該格子点の入力色座標データに対応する該第2の色空間上での出力色座標データとの対応を記したものであり、前記算出工程は、前記ポリゴンの複数の頂点それぞれに対応する入力色座標データの前記比較元テーブルの出力色座標データから求められる比較元の辺のベクトルと、該ポリゴンの複数の頂点それぞれに対応する入力色座標データを前記比較先テーブルを用いて変換することにより得られる出力色座標データから求められる比較先の辺のベクトルとに基づき、該ポリゴンの色を算出することを特徴とする。
【0012】
【発明の実施の形態】
<第1実施形態>
図1は、第1の実施形態にかかるパッチ画像出力/測色装置のシステム構成を示すブロック図である。101はCPU、102はROM、103はメインメモリ、104はSCSIインタフェース、105はHDD、106はグラフィックアクセラレータ、107はカラーモニタ、108はUSBコントローラ、109はカラープリンタ、110はパラレルポートコントローラ、111はスキャナ、112はキーボード/マウスコントローラ、113はキーボード、114はマウス、115はPCIバスである。なお、CPU101は、ROM102ならびにHDD105に保持されたプログラム/データに従い、後述の各種処理を実行する。
【0013】
上記構成において、ユーザが色解析を行う際には下記動作手順を踏んでコンピュータシステムが動作する。
【0014】
ユーザが色解析プログラムの動作開始をキーボード113とマウス114とを介してCPU101に指示すると、CPU101はHDD105より色解析プログラムを読み出してメインメモリ103に格納し、所定のアドレスよりプログラムを実行する。色解析プログラムは、まず、解析対象となる色分布情報ファイルの指定をユーザに要求する。要求に基づき、ユーザが所定の色分布情報ファイルのパス情報をキーボード113とマウス114とにより入力すると、色解析プログラムは当該ファイルをメインメモリ103に格納し、各種データの初期化を行った後、ユーザからの入力待機状態に移る。この後、ユーザからの動作指示に応じ、メインメモリ103に格納された色情報分布データを適宜処理し、グラフィックアクセラレータ106を通してカラーモニタ107表示する。
【0015】
本実施形態における色分布情報ファイルに格納されている色分布データに関して説明する。
【0016】
色分布データは、RGB色空間での格子点の色座標データと、色分布データがL*a*b*色空間上で取る座標値との対応を記したものである。RGB色空間での格子点を模式図として図2に示す。図2では、R軸、G軸、B軸ともに格子点数を4と取っており、ブラック(Bk)、グリーン(G)、レッド(R)、シアン(C)、ホワイト(W)の各RGB値、ならびにグリッド座標とが記されている。
【0017】
ファイル内のデータ配置について図3を用いて説明する。ファイル先頭には、R/G/B値のステップが記述される。この記述に続いて色分布データがR、G、Bの順でネストされた順番で記述され、各色座標はL*値、a*値、b*値の順番でファイルに記述される。図3は、R軸、G軸、B軸ともに格子点数が9である場合のファイル書式となっている。
【0018】
色分布情報ファイルは、コンピュータシステム上でRGB色空間での格子点上の格子点の色座標を色パッチとしてパッチ画像を作成し、RGB画像をモニタ表示/プリンタ出力し、この後にパッチ画像の測色値から生成される。なお、色分布情報ファイルの生成は、あるいはCIECAM97sに定められた知覚順応を考慮した計算に依り、あるいはGamut Mappingに依り行われても構わない。
【0019】
また、色分布情報ファイルは、フロッピーディスク/光磁気記録メディア等のリムーバブル媒体を介して本色解析プログラムに入力してもかまわない。
【0020】
本実施形態における色解析プログラムの処理動作について、図4のフローチャートを用いて説明する。
【0021】
起動された色解析プログラムは、まず最初にステップ401にて作業用ヒープメモリ確保等の初期化動作を行う。続いてステップ402にて、ユーザからの色分布情報ファイルのパス情報入力を待つ。ここで、入力されたパス情報が不正であればステップ402に戻り、入力されたパス情報が正しければステップ403に移る。また、ユーザからファイル入力終了が指示された場合、ステップ404へジャンプする。但し、入力したファイルのパス情報は少なくとも2つでなければならない。
【0022】
ステップ403では入力されたパス情報に基づいて色分布情報ファイルを読み込み、ヒープメモリに格納する。ステップ404では、3Dオブジェクトデータをステップ402にて最初に指定された色分布データに基づいて初期生成する。
【0023】
そして、ステップ416のサブルーチンをコールし、オブジェクト色の算出を行う。ここで、オブジェクト色算出での比較演算には最初に指定された色分布データと、2番目に指定された色分布データとが用いられる。
【0024】
さらにまたステップ404では、3D表示する際のジオメトリ情報ならびに表示形態情報の初期化も行う。本ステップ404における3Dオブジェクトデータ生成並びに表示については後述する。また、ステップ416に関しても後述する。ステップ405では、3Dオブジェクトデータを表示形態情報とジオメトリ情報に基づいて適切にモニタに表示する。この後、ステップ406にてメッセージの待ち状態となり、各種メッセージを判断し適切な処理ステップへ移行する。
【0025】
以下に、ステップ406に通知されるメッセージに対する処理について説明する。メッセージリストは図5に示す通りである。
【0026】
メッセージZOOM_INOUT:
ステップ405にてメッセージZOOM_INOUTを検知すると、メッセージに付加されているZOOM IN/OUT量を抽出した後、ステップ407へ移行する。ステップ407では抽出されたZOOM IN/OUT量に基づいてジオメトリ情報を更新し、ステップ405へ移行する。ステップ405では更新されたジオメトリ情報に基づいて3Dオブジェクトデータ表示を更新する。
【0027】
メッセージMOVE:
ステップ405にてメッセージMOVEを検知すると、メッセージに付加されている視点平行移動量/視点回転量を抽出した後、ステップ408へ移行する。ステップ408では抽出された視点平行移動量/視点回転量に基づいてジオメトリ情報を更新し、ステップ405へ移行する。ステップ405では更新されたジオメトリ情報に基づいて3Dオブジェクトデータ表示を更新する。
【0028】
メッセージRASTERIZE_MODE:
ステップ405にてメッセージRASTERIZE_MODEを検知すると、メッセージに付加されている表示形態選択情報を抽出した後、ステップ409へ移行する。ステップ409では抽出された表示形態選択情報に基づいて表示形態情報を更新し、ステップ405へ移行する。ステップ405では更新された表示形態情報に基づいて3Dオブジェクトデータ表示を更新する。
【0029】
メッセージCHANGE_GRIDAREA:
ステップ405にてメッセージCHANGE_GRIDAREAを検知すると、メッセージに付加されている表示格子範囲選択情報を抽出した後、ステップ410へ移行する。ステップ410では抽出された表示格子範囲選択情報に基づいて3Dオブジェクトデータを更新し、ステップ416のサブルーチンをコールしてオブジェクト色の算出を行った後、ステップ405へ移行する。ステップ405では更新された3Dオブジェクトデータを更新表示する。
【0030】
メッセージCHANGE_SCOPE:
ステップ405にてメッセージCHANGE_SCOPEを検知すると、メッセージに付加されている表示内部階層選択情報を抽出、表示格子範囲選択情報へ変換した後、ステップ410へ移行する。ステップ410では表示格子範囲選択情報に基づいて3Dオブジェクトデータを更新し、ステップ416のサブルーチンをコールしてオブジェクト色の算出を行った後、ステップ405へ移行する。ステップ405では更新された3Dオブジェクトデータを更新表示する。
【0031】
メッセージCHANGE_HUEAREA:
ステップ405にてメッセージCHANGE_HUEAREAを検知すると、メッセージに付加されている表示色相範囲選択情報を抽出した後、ステップ411へ移行する。ステップ411では抽出された表示色相範囲選択情報に基づいて3Dオブジェクトデータを更新し、ステップ416のサブルーチンをコールしてオブジェクト色の算出を行った後、ステップ405へ移行する。ステップ405では更新された3Dオブジェクトデータを更新表示する。
【0032】
メッセージCHANGE_DISPLAYSURFACE:
ステップ405にてメッセージCHANGE_DISPLAYSURFACEを検知すると、メッセージに付加されている表示面選択情報を抽出した後、ステップ412へ移行する。ステップ412では抽出された表示面選択情報に基づいて3Dオブジェクトデータを更新し、ステップ405へ移行する。ステップ405では更新された3Dオブジェクトデータを更新表示する。
【0033】
メッセージSELECT_DATA:
ステップ405にてメッセージSELECT_DATAを検知すると、メッセージに付加されている選択データ情報を抽出した後、ステップ413へ移行する。ステップ413では抽出された選択データ情報に基づき、比較元データとして指定された色分布データにより3Dオブジェクトデータを作成/更新するとともに、ステップ416のサブルーチンをコールし、オブジェクト色の算出を行う。ここで、オブジェクト色算出での比較演算には比較元データとして指定された色分布データと、比較先データとして指定された色分布データとが用いられる。これらの処理が終了すると、ステップ405へ移行する。ステップ405では更新された3Dオブジェクトデータを更新表示する。
【0034】
メッセージDIFFERENCE_MODE:
ステップ405にてメッセージDIFFERENCE_MODEを検知すると、メッセージに付加されている比較計算方法選択情報を抽出した後、ステップ414へ移行する。ステップ414では抽出された比較計算方法選択情報をメモリに記憶し、ステップ416のサブルーチンをコールしてオブジェクト色の算出を行った後、ステップ405へ移行する。ステップ405では更新された3Dオブジェクトデータを更新表示する。
【0035】
メッセージPROCESS_END:
ステップ405にてメッセージPROCESS_ENDを検知すると、ステップ415へ移行する。ステップ415ではヒープメモリの開放などの終了処理動作を行った後、色解析プログラムを終了する。
【0036】
以下では、本実施形態における色情報分布データ表示について説明する。
【0037】
まず、ステップ404における3Dオブジェクトデータの初期生成ならびに表示について説明する。3Dオブジェクトデータを生成する際、まずRGB色空間上での最大の格子領域表面にて、各格子点により形成される最小の四角形に於いて各々2通りの三角形の組み合わせを生成する。この模式図を図6に示す。図6において、太線で囲われた領域が、各格子点により形成される最小の四角形である。この領域において、破線で分割される2つの三角形の組み合わせと、2点破線で分割される2つの三角形の組み合わせとで2通り生成される。
【0038】
これら三角形の頂点である格子点座標を対応するL*a*b*座標値に色分布情報データを用いて変換し、さらにこれら変換後の三角形の組み合わせから3Dオブジェクトデータを構成する。ここで、3Dオブジェクトデータの体積が最大となるよう、各々2通りの三角形の組み合わせから選択する。すなわち、RGB色空間上に各格子点により形成される最小の四角形がN個存在する際、3Dオブジェクトデータは2のN乗通りの内の1つから選択される。
【0039】
以上により求められたポリゴンデータは、図7の様なデータ構造により3Dオブジェクトデータとして保持される。ステップ404にて構成された3Dオブジェクトデータの1例を図8に示す。
【0040】
また、ステップ404では、3Dオブジェクトデータを構成するポリゴンに対応するRGB色空間上の格子点情報を3Dオブジェクトデータとは別個に格納する。この格子点情報は、ステップ416にてオブジェクト表面の色を算出する際に用いられる。
【0041】
本実施形態に於けるカラーモニタ107上での表示の一例を図9に示す。なお、図ではカラーを省略している。
【0042】
ステップ409における表示形態選択ならびに表示について説明する。表示形態としてはワイヤーフレーム表示、ソリッド表示1、ソリッド表示2の3形態が用意されている。
【0043】
ここで、ソリッド表示1では3Dオブジェクトデータの三角パッチデータにのっとり、ソリッド表面色はステップ416での算出結果に基づいて表示される。ソリッド表示2では3Dオブジェクトデータより曲面表示され、ソリッド表面色もまたステップ416での算出結果をスムージングして表示される。
【0044】
ユーザが図10のユーザインタフェースを用いて表示形態の選択を行い、表示形態選択メッセージRASTERIZE_MODEが色解析プログラムに通知され、先述したようにメッセージに付加された選択情報に応じ、色解析プログラムは表示形式を変化させる。
【0045】
ワイヤーフレーム表示が選択された際のモニタ表示の模式図を図11に示す。但し、本来は陰面も表示されるが図の簡単の為に陰面を省略した。ソリッド表示1が選択された場合、先述の様に図7の様な形態において表示される。ソリッド表示2が選択された場合のモニタ表示の模式図を図12に示す。
【0046】
ステップ410における表示格子範囲選択ならびに表示について説明する。ユーザが表示格子範囲の選択を行う為のユーザインタフェースを図13に示す。
【0047】
図から明らかなように、ユーザはR値、G値、B値それぞれの格子範囲を選択することで表示すべき方形領域をRGB色空間で選択する。このユーザインタフェースを用いてユーザが表示格子範囲を選択すると、表示格子範囲選択メッセージCHANGE_GRIDAREAが色解析プログラムに通知され、色解析プログラムはメッセージに付加されたRGB格子範囲情報に応じ、次のように3Dオブジェクトデータを更新する。
【0048】
まずRGB色空間上で、選択された方形領域表面の各格子点により形成される最小の四角形に於いて各々2通りの三角形の組み合わせを生成する。この模式図は、図6に示したものと同様となる。次に、これら三角形の頂点である格子点座標を対応するL*a*b*座標値に色分布情報データを用いて変換し、さらにこれら変換後の三角形の組み合わせから3Dオブジェクトデータを構成する。ここで、3Dオブジェクトデータの体積が最大となるよう、各々2通りの三角形の組み合わせから選択する。すなわち、RGB色空間上に各格子点により形成される最小の四角形がN個存在する際、3Dオブジェクトデータは2のN乗通りの1つから選択される。またステップ410では、3Dオブジェクトデータを構成するポリゴンに対応する、RGB色空間上の格子点情報を3Dオブジェクトデータとは別個に格納する。
【0049】
本実施形態に於いて、色分布情報にて格子点数がR軸、G軸、B軸ともに6であり、表示格子範囲をR軸で[2,5]、G軸で[2,4]、B軸で[1,4]と選択した場合における格子範囲とカラーモニタ表示との模式図を示す。RGB色空間における格子範囲の一例は図14の様になっている。図14において、点線で示した範囲が最大の格子領域であり、実線で示した範囲が選択された方形領域を示す。破線/実線の交点は格子点を示す。上記の場合におけるカラーモニタ107上での表示を図15に示す。なお、図ではカラーを省略している。
【0050】
ステップ410における表示内部階層選択ならびに表示について説明する。本操作は、たった1つの値の設定により表示RGB格子範囲の設定を行うものであり、内部解析を容易にするものである。
【0051】
ユーザが表示内部階層の選択を行う為のユーザインタフェースを図16に示す。ここで、ユーザは方形領域の表示内部階層数を選択することにより、表示すべき方形領域をRGB色空間で選択する。このユーザインタフェースを用いてユーザが表示内部階層を選択すると、表示内部階層選択メッセージCHANGE_SCOPEが色解析プログラムに通知され、色解析プログラムはメッセージに付加された表示範囲情報である表示内部階層数を次のようにRGB格子範囲情報に変換する。表示内部階層数をsc、R軸の格子点数をNr、G軸の格子点数をNg、B軸の格子点数をNbとすると、RGB格子範囲は([Rsc,RNr−sc],[Gsc,GNg−sc],[Bsc,BNb−sc])となる。ここで、RiはR軸上i番目の格子点が取るR値であり、GiはG軸上i番目の格子点が取るG値であり、BiはB軸上i番目の格子点が取るB値である。
【0052】
もし表示内部階層数scが0であるならば、先述の初期生成と同じ様にRGB格子範囲は格子表面となる。この後、RGB格子範囲情報に応じて3Dオブジェクトデータを更新する。更新処理の詳細は上述と同じであるので割愛する。またステップ410では、3Dオブジェクトデータを構成するポリゴンに対応する、RGB色空間上の格子点情報を3Dオブジェクトデータとは別個に格納する。
【0053】
本実施形態に於いて、色分布情報にて格子点数がR軸、G軸、B軸ともに6であり、ユーザが表示範囲内部階層を1と選択した場合の格子範囲とカラーモニタ表示との模式図を示す。RGB色空間における格子範囲は図17の様になっている。図17において、点線で示した範囲が最大の格子領域であり、実線で示した範囲が選択された方形領域を示す。破線/実線の交点は格子点を示す。上記の場合におけるカラーモニタ107上での表示の一例を図18に示す。なお、図ではカラーを省略している。
【0054】
ステップ411における表示色相範囲選択ならびに表示について説明する。尚、当該処理は、R軸とG軸とB軸とで格子点数が等しく且つ格子点のステップが等しくなければ実行されない。
【0055】
ユーザが表示色相範囲の選択を行う為のユーザインタフェースを図19に示す。ここで、ユーザは6つの表示色相範囲の内から少なくとも1つを選択することにより、表示すべき色相範囲をRGB色空間で選択する。このユーザインタフェースを用いてユーザが表示色相範囲を選択すると、表示色相範囲選択メッセージCHANGE_HUEAREAが色解析プログラムに通知され、色解析プログラムはメッセージに付加された色相選択情報に応じ、次のように3Dオブジェクトデータを更新する。
【0056】
まずRGB色空間上で、色相選択情報に応じて図20に示す6つの四面体領域の内から1つを選択する。選択された四面体領域表面の各格子点により形成される最小の四角形に於いて、各々2通りの三角形の組み合わせを生成する。四角形を生成できない表面領域においては、最小の三角形を生成する。次に、これら三角形の頂点である格子点座標を対応するL*a*b*座標値に色分布情報データを用いて変換し、さらにこれら変換後の三角形の組み合わせから3Dオブジェクトデータを構成する。ここで表示格子範囲選択の場合と同様にして、3Dオブジェクトデータの体積が最大となるよう、各々2通りの三角形の組み合わせから選択する。またステップ411では、3Dオブジェクトデータを構成するポリゴンに対応する、RGB色空間上の格子点情報を3Dオブジェクトデータとは別個に格納する。
【0057】
本実施形態に於いて、表示色相範囲をMR領域と選択した場合における、カラーモニタ107上での表示の一例を図21に示す。なお、図ではカラーを省略している。また、ステップ411にて構成された3Dオブジェクトデータの構造を図22に示す。
【0058】
ステップ412における表示面選択ならびに表示について説明する。ユーザが表示面選択を行う為のユーザインタフェースを図23に示す。図におけるチェックボックスは、現在の3Dオブジェクトデータに応じてイネーブル/ディセーブルが切り替わり、ディセーブルの場合は色相面1/色相面2のチェックボックスのように、文字色が薄くなることでディセーブルであることを示す。ここでユーザは、8つの表示面の内から、イネーブルとなっている少なくとも1つの任意の表示面を選択する。
【0059】
このユーザインタフェースを用いてユーザが表示面選択を行うと、表示面選択メッセージCHANGE_DISPLAYSURFACEが色解析プログラムに通知され、色解析プログラムはメッセージに付加された表示面選択情報から3Dオブジェクトデータを次のように更新する。
【0060】
3Dオブジェクトデータの内部構造は図7に示した通りであり、RGB格子範囲指定により生成された3Dオブジェクトデータの構造は図8の様に、表示色相範囲指定により生成された3Dオブジェクトデータは例えば図22の様になっている。ここで、表示面選択情報に応じて構成面データ内の表示許可フラグを更新する。
【0061】
本実施形態に於いて、表示面をWMYR面およびWYCG面と選択した場合における、カラーモニタ107上での表示の一例を図24に示す。なお、図ではカラーを省略している。
【0062】
ステップ413における比較データ選択について説明する。ユーザが比較データの選択を行う為のユーザインタフェースを図25に示す。図から明らかなように、ユーザは比較元データと比較先データとを選択する。このユーザインタフェースを用いてユーザが比較データを選択すると、メッセージSELECT_DATAが色解析プログラムに通知され、色解析プログラムはステップ404と同様にして比較元データより3Dオブジェクトデータを作成/更新する。また、3Dオブジェクトデータを構成するポリゴンに対応する、RGB色空間上の格子点情報を3Dオブジェクトデータとは別個に格納する。
【0063】
ステップ414における比較計算方法選択について説明する。ユーザが比較計算方法の選択を行う為のユーザインタフェースを図26に示す。図から明らかなように、比較計算方法を選択する。このユーザインタフェースを用いてユーザが比較計算方法を選択すると、メッセージDIFFERENCE_MODEが色解析プログラムに通知される。選択された比較計算方法に応じて、ステップ416によってオブジェクト表面色が計算される。
【0064】
ステップ416では、比較元である色分布データと、比較先である色分布データと、3Dオブジェクトデータを構成するポリゴンに対応するRGB色空間上の格子点情報と、比較計算方法選択情報とから3Dオブジェクトデータの色を算出する。ただし、比較元である色分布データと比較先である色分布データとで格子数が同一でない場合、比較元データのRGB色空間上での格子点座標値より計算される。
【0065】
以下、計算方法毎に詳しく説明する。
【0066】
A)変化量
まず、3Dオブジェクトデータ内のポリゴン各頂点について、比較元である色分布データと比較先である色分布データとの間の色差ΔEを算出する。ここで、ポリンゴン各頂点と色分布データとの対応付けは、3Dオブジェクトデータを構成するポリゴンに対応するRGB色空間上の格子点情報を用いてなされる。
【0067】
上記算出された色差を用いて、ポリゴンの色が次のように算出される。
【0068】
【外1】

Figure 0004464018
【0069】
ポリゴンiの頂点jにおいて、比較元色分布データと比較先色分布データとの色差ΔEをDEijとすると、ポリゴンiの色(R,G,B)を下記のように求める。ここでnはポリゴンの頂点数である。
if a<0 , a=0
【外2】
Figure 0004464018
【0070】
if a>20 , a=20
式から明らかなように、色差が0である場合はポリゴンの色はブルーであり、色差が20を越えるときにレッドとなる。
【0071】
また、ワイヤーフレーム表示の際のワイヤーフレームの色は、辺の両端の変化量の平均として算出される。辺がポリゴンiに所属し、辺の両端の頂点が頂点jならびに頂点kであるとすると、先述のDEijを用いてワイヤーフレームの色(R,G,B)を下記のように求められる。
【0072】
【外3】
Figure 0004464018
【0073】
if a<0 , a=0
if a>20 , a=20
【外4】
Figure 0004464018
【0074】
B)密度比較
まず、3Dオブジェクトデータ内のポリゴン各辺について、比較元である色分布データと比較先である色分布データとにて長さを算出する。ここで、ポリンゴン各頂点と色分布データとの対応付けは、3Dオブジェクトデータを構成するポリゴンに対応するRGB色空間上の格子点情報を用いてなされる。ここで、ポリゴンiにおいて、比較元である色分布データを参照した際の辺jの長さ(辺を構成する頂点間の色差)をl1ij、比較元である色分布データを参照した際の辺jの長さをl2ijとする。これらの模式図を図27に示す。
【0075】
上記のl1ij、l2ijを用い、ワイヤーフレーム表示の際のワイヤフレームの色(R,G,B)は次のように算出される。
Figure 0004464018
【外5】
Figure 0004464018
【0076】
and if a < −3, a = −3
式から明らかなように、辺の長さが等しい場合はワイヤフレームの色はグレーであり、比較先の辺の長さが長い場合にはシアンに、短い場合にはレッドに色が変化する。
【0077】
また、ポリゴンの色(R,G,B)は辺の変化量の平均として次のように算出される。ここでポリゴンiにおける辺jの色をR,G,B値それぞれ、Rij,Gij,Bijとする。但し、nはポリゴンの頂点数である。
【0078】
【外6】
Figure 0004464018
【0079】
C)変化方向比較
まず、3Dオブジェクトデータ内のポリゴン各辺について、比較元である色分布データと比較先である色分布データとにてベクトルを算出する。ここで、ポリンゴン各頂点と色分布データとの対応付けは、3Dオブジェクトデータを構成するポリゴンに対応するRGB色空間上の格子点情報を用いてなされる。ここで、ポリゴンiにおいて、比較元である色分布データを参照した際の辺jにより構成されるベクトルをv1ij、比較元である色分布データを参照した際の辺jにより構成されるベクトルをv2ijとする。これらの模式図を図28に示す。
【0080】
上記のv1ij、v2ijを用い、ワイヤーフレーム表示の際のポリゴンiの辺jの色(R,G,B)は次のように算出される。
【0081】
【外7】
Figure 0004464018
【0082】
【外8】
Figure 0004464018
【0083】
但し、R値、B値、G値はそれぞれ0〜255の範囲に収まる様クリッピングされる。
【0084】
式から明らかなように、ベクトルの方向が等しい場合はワイヤフレームの色はブルーであり、方向が回転し反対方向に移るに従って、レッドに変化する。
【0085】
また、ポリゴンの色(R,G,B)は辺の変化量の平均として次のように算出される。ここでポリゴンiにおける辺jの色をR,G,B値それぞれ、Rij,Gij,Bijとすると、
【外9】
Figure 0004464018
【0086】
但し、nはポリゴンの頂点数である。
【0087】
D)変化方向+変化量比較
まず、3Dオブジェクトデータ内のポリゴン各辺について、比較元である色分布データと比較先である色分布データとにてベクトルを算出する。ここで、ポリンゴン各頂点と色分布データとの対応付けは、3Dオブジェクトデータを構成するポリゴンに対応するRGB色空間上の格子点情報を用いてなされる。ここで、ポリゴンiにおいて、比較元である色分布データを参照した際の辺jにより構成されるベクトルをv1ij、比較元である色分布データを参照した際の辺jにより構成されるベクトルをv2ijとする。これらの模式図は、先に示した図28の通りである。
【0088】
上記のv1ij、v2ijを用い、ワイヤーフレーム表示の際のポリゴンiの辺jの色(R,G,B)は次のように算出される。
【0089】
但し、R値、B値、G値はそれぞれ0〜255の範囲に収まる様クリッピングされる。
【0090】
式から明らかなように、ベクトルの方向が等しい場合はワイヤフレームの色はブルーであり、方向が回転し反対方向に移るに従って、レッドに変化する。
【0091】
【外10】
Figure 0004464018
【0092】
【外11】
Figure 0004464018
【0093】
【外12】
Figure 0004464018
【0094】
【外13】
Figure 0004464018
【0095】
但し、α+β>1である場合、α=α/α+β、β=β/α+βと補正される。
また、α、βはそれぞれ0〜1の範囲に収まる様クリッピングされる。以上求めたα、βより
【外14】
Figure 0004464018
【0096】
但し、R値、B値、G値はそれぞれ0〜255の範囲に収まる様クリッピングされる。
【0097】
式から明らかなように、ベクトルの方向が等しい場合はワイヤフレームの色はブルーであり、方向が回転し反対方向に移るに従って、レッドに変化する。さらに、ベクトルの差が小さい場合、グレーに変化する。
【0098】
ポリゴンの色(R,G,B)は辺の変化量の平均として次のように算出される。
【0099】
【外15】
Figure 0004464018
【0100】
ここでポリゴンiにおける辺jの色をR,G,B値それぞれ、Rij,Gij,Bijとする。
【0101】
但し、nはポリゴンの頂点数である。
【0102】
以上の説明から明らかなように本実施形態の比較方法に依れば、局所的な色分布状況の比較あるいは詳細な分布状況の比較が可能となる。さらに、局所的問題点を的確に把握/判定できる為、判定結果をガマットマッピング技術に速やかに反映することが可能となる。
【0103】
<第2実施形態>
第1実施形態においては、比較元である色分布データと比較先である色分布データとで格子数が同一である場合に限り、比較計算に基づいて3Dオブジェクトの色を変更していた。本実施形態は、前記制限事項を取り除くものである。
【0104】
そこで、重複する説明は割愛し、変更箇所であるステップ416におけるオブジェクト表面色計算についてのみ、比較元である色分布データと比較先である色分布データとで格子数が同一でない場合に限り説明する。
【0105】
まず、比較元である色分布データの標本点のRGB座標において、比較先の色分布データがどのようなL*a*b*座標をとるか、比較先の色分布データを元に補間演算を行う。これにより、比較元の色分布データと同一の標本点格子において、比較先の色分布データがどのようなL*a*b*値をとるかを算出し、新たな比較元の色分布データと同一の標本点格子による色分布データを構成する。この色分布データを比較先の色分布データとみなし、ステップ416においてオブジェクト表面色計算を行う。
【0106】
<その他の実施形態>
上記実施形態においては、RGB並びにL*a*b*表色系を用いた処理を説明したが、Luv、CMY、XYZ等、他の表色系を用いた同様の処理が可能であることは言うまでもない。
【0107】
また、上記実施形態では表示装置をモニタのみに限定したが、もちろんプリンタ/プロッタ等に出力することも可能である。
【0108】
【発明の効果】
本発明によれば、比較元テーブルと比較先テーブルとの局所的な色分布状況の比較結果あるいは詳細な分布状況の比較結果を、擬似3次元表示を用いて視覚的に確認することができる。
【図面の簡単な説明】
【図1】第1実施形態としての色情報解析装置のシステム構成を示すブロック図である。
【図2】RGB色空間での格子点配置を表す模式図である。
【図3】色分布情報ファイルのファイル書式の一例を表す図である。
【図4】図1のシステム構成における処理動作を表すフローチャートである。
【図5】メッセージリストを示す図である。
【図6】各格子点により形成される最小の四角形を示す図である。
【図7】3Dオブジェクトデータの内部構造を示す図である。
【図8】3Dオブジェクトデータの内部構造の一例を示す図である。
【図9】3Dオブジェクトデータの表示の一例を示す図である。
【図10】表示形態選択用のユーザインタフェースを示す図である。
【図11】3Dオブジェクトデータの表示の一例を示す図である。
【図12】3Dオブジェクトデータの表示の一例を示す図である。
【図13】表示格子範囲選択用のユーザインタフェースを示す図である。
【図14】RGB色空間における格子範囲の一例を示す図である。
【図15】3Dオブジェクトデータの表示の一例を示す図である。
【図16】表示内部階層選択用のユーザインタフェースを示す図である。
【図17】RGB色空間における選択された方形領域範囲の一例を示す図である。
【図18】3Dオブジェクトデータの表示の一例を示す図である。
【図19】表示色相範囲選択用のユーザインタフェースを示す図である。
【図20】色相選択情報に応じて選択される四面体領域を示す模式図である。
【図21】3Dオブジェクトデータの表示の一例を示す図である。
【図22】3Dオブジェクトデータの内部構造の一例を示す図である。
【図23】表示面選択用のユーザインタフェースを示す図である。
【図24】3Dオブジェクトデータの表示の一例を示す図である。
【図25】比較データ選択用のユーザインタフェースを示す図である。
【図26】比較計算方法選択用のユーザインタフェースを示す図である。
【図27】比較計算における辺の対応関係を示す模式図である。
【図28】比較計算におけるベクトルの対応関係を示す模式図である。[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an apparatus for performing color distribution analysis using pseudo three-dimensional display.
[0002]
[Prior art]
In recent years, with the spread of personal computers / workstations, desktop publishing (DTP) and CAD have come to be widely used. Under such circumstances, a color reproduction technique for actually reproducing a color expressed on a monitor by a computer using a color material has become important. For example, in DTP, in a computer system having a color monitor and a color printer, a color image is created / edited / processed on the monitor and output by the color printer. Here, the user strongly desires that the color image on the monitor and the printer output image coincide perceptually.
[0003]
However, in the color reproduction technique, it is difficult to achieve such perceptual coincidence between a color image and a printer output image for the following reason.
[0004]
In a color monitor, a color image is expressed by emitting light of a specific wavelength using a phosphor. On the other hand, in a color printer, light of a specific wavelength is absorbed using ink or the like, and a color image is expressed by the remaining reflected light. Due to the different image display forms in this way, the color reproduction range is greatly different when the two are compared. Further, even in the case of a color monitor, the color gamut differs between a liquid crystal monitor, an electron gun type cathode ray tube and a plasma display. Even color printers have different color gamuts due to differences in paper quality and ink usage. Therefore, various gamut mappings that correspond to one color reproduction area and another color reproduction area in the uniform color system to measure the perceptual match of display color images between display media with different color reproduction areas. Technology exists.
[0005]
Although the quality of these various gamut mapping technologies is ultimately determined by subjective evaluation of various images, the subjective evaluation is costly and the judgment results obtained here are reflected in the gamut mapping technology. It is hard to do. Therefore, there is a need for an analysis / evaluation technique for the gamut mapping technique that can determine whether the quality is good or bad and reflect the determination result in the gamut mapping technique.
[0006]
Therefore, the present applicant has proposed a technique for simultaneously displaying a plurality of color distribution information in a pseudo three-dimensional manner. By quasi-three-dimensional display, it is possible to qualitatively / intuitively compare a plurality of color distribution information, and the quality / difference of gamut mapping can be found / judged in a short time.
[0007]
[Problems to be solved by the invention]
While displaying multiple color distribution information at the same time in a pseudo three-dimensional manner is very effective for comparison of global distribution status or rough distribution status, it compares local color distribution status or detailed distribution. It was less effective in comparing situations.
[0008]
Accordingly, an object of the present invention is to make it possible to visually confirm a comparison result of a local color distribution situation or a comparison result of a detailed distribution situation using a pseudo three-dimensional display.
[0009]
[Means for Solving the Problems]
In order to achieve the above object, the present invention has the following configuration.
[0011]
The color processing method according to claim 1 of the present invention uses a selection step of selecting a comparison source table and a comparison destination table, and output color coordinate data of the comparison source table, and 3 in a second color space composed of a plurality of polygons. A color processing method including a generation step of generating dimensional object data and a calculation step of calculating a display color of a three-dimensional object based on the three-dimensional object data, wherein the comparison source table and the comparison destination table are: A table for converting input color coordinate data shown in one color space into output color coordinate data shown in a second color space, and input color coordinate data and grid points of grid points in the first color space The correspondence with the output color coordinate data on the second color space corresponding to the input color coordinate data is described, and the calculation step corresponds to the vertex of the polygon. The color difference between the output color coordinate data of the comparison source table of the input color coordinate data and the output color coordinate data obtained by converting the input color coordinate data corresponding to the vertex of the polygon using the comparison destination table And calculating the surface color of the polygon.
According to a second aspect of the present invention, the color processing method includes a selection step of selecting a comparison source table and a comparison destination table, and a second color space comprising a plurality of polygons using the output color coordinate data of the comparison source table. A color processing method including a generation step of generating three-dimensional object data in FIG. 5 and a calculation step of calculating a display color of a three-dimensional object based on the three-dimensional object data, wherein the comparison source table and the comparison destination table are: , A table for converting the input color coordinate data indicated in the first color space into the output color coordinate data indicated in the second color space, and the input color coordinate data of the grid points in the first color space and the The correspondence with the output color coordinate data on the second color space corresponding to the input color coordinate data of the grid point is described, and the calculation step Output color coordinate data of the comparison source table of input color coordinate data corresponding to each of the two vertices of the polygon and input color coordinate data corresponding to each of the two vertices of the polygon. A color of a side of the wire frame is calculated based on a color difference from output color coordinate data obtained by conversion using a table.
According to a third aspect of the present invention, there is provided a color processing method comprising: a second color space comprising a plurality of polygons using a selection step of selecting a comparison source table and a comparison destination table and output color coordinate data of the comparison source table. A color processing method including a generation step of generating three-dimensional object data in FIG. 5 and a calculation step of calculating a display color of a three-dimensional object based on the three-dimensional object data, wherein the comparison source table and the comparison destination table are: , A table for converting the input color coordinate data indicated in the first color space into the output color coordinate data indicated in the second color space, and the input color coordinate data of the grid points in the first color space and the The correspondence with the output color coordinate data on the second color space corresponding to the input color coordinate data of the grid point is described, and the calculation step includes a plurality of polygons. The comparison source table is used to calculate the length of the comparison source side obtained from the output color coordinate data of the comparison source table of the input color coordinate data corresponding to each vertex and the input color coordinate data corresponding to each of the plurality of vertices of the polygon. It is characterized in that the color of the polygon is calculated based on the length of the comparison side obtained from the output color coordinate data obtained by using and converting.
According to a fourth aspect of the present invention, there is provided a color processing method comprising: a second color space comprising a plurality of polygons using a selection step of selecting a comparison source table and a comparison destination table and output color coordinate data of the comparison source table. A color processing method including a generation step of generating three-dimensional object data in FIG. 5 and a calculation step of calculating a display color of a three-dimensional object based on the three-dimensional object data, wherein the comparison source table and the comparison destination table are: , A table for converting the input color coordinate data indicated in the first color space into the output color coordinate data indicated in the second color space, and the input color coordinate data of the grid points in the first color space and the The correspondence with the output color coordinate data on the second color space corresponding to the input color coordinate data of the grid point is described, and the calculation step includes a plurality of polygons. A comparison-source side vector obtained from the comparison-source side vector obtained from the output-color coordinate data of the comparison-source table of the input color coordinate data corresponding to each vertex and the comparison-destination table are input color-coordinate data corresponding to each of the plurality of vertices of the polygon. The color of the polygon is calculated on the basis of the side vector of the comparison destination obtained from the output color coordinate data obtained by using and converting.
[0012]
DETAILED DESCRIPTION OF THE INVENTION
<First Embodiment>
FIG. 1 is a block diagram showing a system configuration of a patch image output / colorimetric apparatus according to the first embodiment. 101, CPU, 102, ROM, 103, main memory, 104, SCSI interface, 105, HDD, 106, graphic accelerator, 107, color monitor, 108, USB controller, 109, color printer, 110, parallel port controller, 111 A scanner, 112 is a keyboard / mouse controller, 113 is a keyboard, 114 is a mouse, and 115 is a PCI bus. The CPU 101 executes various processes to be described later according to programs / data held in the ROM 102 and the HDD 105.
[0013]
In the above configuration, when the user performs color analysis, the computer system operates according to the following operation procedure.
[0014]
When the user instructs the CPU 101 to start the operation of the color analysis program via the keyboard 113 and the mouse 114, the CPU 101 reads the color analysis program from the HDD 105, stores it in the main memory 103, and executes the program from a predetermined address. The color analysis program first requests the user to specify a color distribution information file to be analyzed. Based on the request, when the user inputs the path information of a predetermined color distribution information file with the keyboard 113 and the mouse 114, the color analysis program stores the file in the main memory 103 and initializes various data. It shifts to the input standby state from the user. Thereafter, in accordance with an operation instruction from the user, the color information distribution data stored in the main memory 103 is appropriately processed and displayed on the color monitor 107 through the graphic accelerator 106.
[0015]
The color distribution data stored in the color distribution information file in this embodiment will be described.
[0016]
The color distribution data describes the correspondence between the color coordinate data of grid points in the RGB color space and the coordinate values that the color distribution data takes on the L * a * b * color space. FIG. 2 shows a schematic diagram of lattice points in the RGB color space. In FIG. 2, the R-axis, G-axis, and B-axis all have four grid points, and each RGB value of black (Bk), green (G), red (R), cyan (C), and white (W). As well as grid coordinates.
[0017]
Data arrangement in the file will be described with reference to FIG. An R / G / B value step is described at the top of the file. Following this description, the color distribution data is described in the order of nesting in the order of R, G, and B, and each color coordinate is described in the file in the order of L * value, a * value, and b * value. FIG. 3 shows a file format when the number of grid points is 9 for all of the R axis, G axis, and B axis.
[0018]
The color distribution information file creates a patch image using the color coordinates of the grid points on the grid points in the RGB color space on the computer system as a color patch, displays the RGB image on the monitor / printer, and then measures the patch image. Generated from color values. The generation of the color distribution information file may be performed, or may be performed by calculation considering the perceptual adaptation defined in CIECAM97s, or by Gamut Mapping.
[0019]
The color distribution information file may be input to the color analysis program via a removable medium such as a floppy disk / magneto-optical recording medium.
[0020]
The processing operation of the color analysis program in this embodiment will be described with reference to the flowchart of FIG.
[0021]
The started color analysis program first performs an initialization operation such as securing a working heap memory in step 401. Subsequently, in step 402, input of path information of the color distribution information file from the user is awaited. If the input path information is invalid, the process returns to step 402. If the input path information is correct, the process proceeds to step 403. If the user inputs an end of file input, the process jumps to step 404. However, the input file path information must be at least two.
[0022]
In step 403, the color distribution information file is read based on the input path information and stored in the heap memory. In step 404, 3D object data is initially generated based on the color distribution data first specified in step 402.
[0023]
Then, the subroutine of step 416 is called to calculate the object color. Here, the first specified color distribution data and the second specified color distribution data are used for the comparison calculation in the object color calculation.
[0024]
Furthermore, in step 404, initialization of geometry information and display form information for 3D display is also performed. The 3D object data generation and display in step 404 will be described later. Step 416 will also be described later. In step 405, the 3D object data is appropriately displayed on the monitor based on the display form information and the geometry information. Thereafter, in step 406, a message is waited for, various messages are determined, and the process proceeds to an appropriate processing step.
[0025]
Hereinafter, processing for the message notified to step 406 will be described. The message list is as shown in FIG.
[0026]
Message ZOOM_INOUT:
If the message ZOOM_INOUT is detected in step 405, the amount of ZOOM IN / OUT added to the message is extracted, and then the process proceeds to step 407. In step 407, the geometry information is updated based on the extracted ZOOM IN / OUT amount, and the process proceeds to step 405. In step 405, the 3D object data display is updated based on the updated geometry information.
[0027]
Message MOVE:
When the message MOVE is detected in step 405, the viewpoint parallel movement amount / viewpoint rotation amount added to the message is extracted, and then the process proceeds to step 408. In step 408, the geometry information is updated based on the extracted viewpoint parallel movement amount / viewpoint rotation amount, and the process proceeds to step 405. In step 405, the 3D object data display is updated based on the updated geometry information.
[0028]
Message RASTERIZE_MODE:
If the message RASTERIZE_MODE is detected in step 405, the display mode selection information added to the message is extracted, and then the process proceeds to step 409. In step 409, the display form information is updated based on the extracted display form selection information, and the process proceeds to step 405. In step 405, the 3D object data display is updated based on the updated display form information.
[0029]
Message CHANGE_GRIDAREA:
When the message CHANGE_GRIDAREA is detected in step 405, the display grid range selection information added to the message is extracted, and then the process proceeds to step 410. In step 410, the 3D object data is updated based on the extracted display grid range selection information, the subroutine of step 416 is called to calculate the object color, and then the process proceeds to step 405. In step 405, the updated 3D object data is updated and displayed.
[0030]
Message CHANGE_SCOPE:
When the message CHANGE_SCOPE is detected in step 405, the display inner layer selection information added to the message is extracted and converted into display lattice range selection information, and the process proceeds to step 410. In step 410, the 3D object data is updated based on the display grid range selection information, the subroutine of step 416 is called to calculate the object color, and then the process proceeds to step 405. In step 405, the updated 3D object data is updated and displayed.
[0031]
Message CHANGE_HUEAREA:
When the message CHANGE_HUEAREA is detected in step 405, the display hue range selection information added to the message is extracted, and then the process proceeds to step 411. In step 411, the 3D object data is updated based on the extracted display hue range selection information, the subroutine of step 416 is called to calculate the object color, and then the process proceeds to step 405. In step 405, the updated 3D object data is updated and displayed.
[0032]
Message CHANGE_DISPLAY SURFACE:
When the message CHANGE_DISPLAY SURFACE is detected in step 405, the display surface selection information added to the message is extracted, and then the process proceeds to step 412. In step 412, the 3D object data is updated based on the extracted display surface selection information, and the process proceeds to step 405. In step 405, the updated 3D object data is updated and displayed.
[0033]
Message SELECT_DATA:
When the message SELECT_DATA is detected in step 405, the selection data information added to the message is extracted, and then the process proceeds to step 413. In step 413, based on the extracted selection data information, 3D object data is created / updated with color distribution data designated as comparison source data, and a subroutine in step 416 is called to calculate an object color. Here, the color distribution data designated as the comparison source data and the color distribution data designated as the comparison destination data are used for the comparison calculation in the object color calculation. When these processes are completed, the routine proceeds to step 405. In step 405, the updated 3D object data is updated and displayed.
[0034]
Message DIFFERENCE_MODE:
When the message DIFFERENCE_MODE is detected in step 405, the comparison calculation method selection information added to the message is extracted, and then the process proceeds to step 414. In step 414, the extracted comparison calculation method selection information is stored in the memory, the subroutine of step 416 is called to calculate the object color, and then the process proceeds to step 405. In step 405, the updated 3D object data is updated and displayed.
[0035]
Message PROCESS_END:
When the message PROCESS_END is detected in step 405, the process proceeds to step 415. In step 415, after the end processing operation such as releasing the heap memory is performed, the color analysis program is ended.
[0036]
Hereinafter, display of color information distribution data in the present embodiment will be described.
[0037]
First, the initial generation and display of 3D object data in step 404 will be described. When generating the 3D object data, first, two combinations of triangles are generated on the surface of the maximum grid area in the RGB color space in the minimum rectangle formed by each grid point. This schematic diagram is shown in FIG. In FIG. 6, a region surrounded by a thick line is a minimum rectangle formed by each lattice point. In this region, two types of combinations are generated: a combination of two triangles divided by a broken line and a combination of two triangles divided by a two-dot broken line.
[0038]
The lattice point coordinates that are the vertices of these triangles are converted into corresponding L * a * b * coordinate values using the color distribution information data, and 3D object data is configured from the combination of these converted triangles. Here, each of the combinations of two triangles is selected so that the volume of the 3D object data is maximized. That is, when there are N minimum squares formed by the respective grid points in the RGB color space, 3D object data is selected from one of 2 N powers.
[0039]
The polygon data obtained as described above is held as 3D object data with a data structure as shown in FIG. An example of the 3D object data configured in step 404 is shown in FIG.
[0040]
In step 404, grid point information on the RGB color space corresponding to the polygons constituting the 3D object data is stored separately from the 3D object data. This grid point information is used when the color of the object surface is calculated in step 416.
[0041]
An example of the display on the color monitor 107 in this embodiment is shown in FIG. In the figure, the color is omitted.
[0042]
The display form selection and display in step 409 will be described. There are three display modes: wire frame display, solid display 1 and solid display 2.
[0043]
Here, in the solid display 1, the solid surface color is displayed based on the calculation result in step 416 in accordance with the triangular patch data of the 3D object data. In the solid display 2, a curved surface is displayed from the 3D object data, and the solid surface color is also displayed by smoothing the calculation result in step 416.
[0044]
A user selects a display form using the user interface shown in FIG. 10, a display form selection message RASTERIZE_MODE is notified to the color analysis program, and the color analysis program displays the display form according to the selection information added to the message as described above. To change.
[0045]
FIG. 11 shows a schematic diagram of the monitor display when the wire frame display is selected. Although the hidden surface is originally displayed, the hidden surface is omitted for the sake of simplicity. When the solid display 1 is selected, it is displayed in the form as shown in FIG. 7 as described above. A schematic diagram of the monitor display when the solid display 2 is selected is shown in FIG.
[0046]
The display grid range selection and display in step 410 will be described. FIG. 13 shows a user interface for the user to select a display grid range.
[0047]
As is apparent from the figure, the user selects a rectangular area to be displayed in the RGB color space by selecting the grid range of each of the R value, G value, and B value. When the user selects a display grid range using this user interface, a display grid range selection message CHANGE_GRIDAREA is notified to the color analysis program, and the color analysis program performs 3D as follows according to the RGB grid range information added to the message: Update object data.
[0048]
First, in the RGB color space, two combinations of triangles are generated in the smallest square formed by each lattice point on the surface of the selected rectangular area. This schematic diagram is the same as that shown in FIG. Next, the grid point coordinates which are the vertices of the triangles are converted into corresponding L * a * b * coordinate values using the color distribution information data, and 3D object data is configured from the combination of the converted triangles. Here, each of the combinations of two triangles is selected so that the volume of the 3D object data is maximized. That is, when there are N minimum squares formed by the respective grid points in the RGB color space, 3D object data is selected from one of 2 N powers. In step 410, grid point information on the RGB color space corresponding to the polygons constituting the 3D object data is stored separately from the 3D object data.
[0049]
In the present embodiment, the number of grid points in the color distribution information is 6, and the display grid range is [2, 5] on the R axis, [2, 4] on the G axis, A schematic diagram of a lattice range and a color monitor display when [1, 4] is selected on the B axis is shown. An example of the grid range in the RGB color space is as shown in FIG. In FIG. 14, the range indicated by the dotted line is the maximum lattice area, and the range indicated by the solid line is the rectangular area selected. A broken line / solid line intersection indicates a lattice point. The display on the color monitor 107 in the above case is shown in FIG. In the figure, the color is omitted.
[0050]
The display internal hierarchy selection and display in step 410 will be described. This operation sets the display RGB grid range by setting only one value, and facilitates internal analysis.
[0051]
FIG. 16 shows a user interface for the user to select a display internal hierarchy. Here, the user selects the square area to be displayed in the RGB color space by selecting the number of display internal layers of the square area. When the user selects a display internal layer using this user interface, a display internal layer selection message CHANGE_SCOPE is notified to the color analysis program, and the color analysis program sets the number of display internal layers, which is display range information added to the message, as follows. In this way, it is converted into RGB lattice range information. Assuming that the number of display internal layers is sc, the number of lattice points on the R axis is Nr, the number of lattice points on the G axis is Ng, and the number of lattice points on the B axis is Nb, the RGB lattice ranges are ([Rsc, RNr-sc], [Gsc, GNg -Sc], [Bsc, BNb-sc]). Here, Ri is the R value taken by the i-th lattice point on the R axis, Gi is the G value taken by the i-th lattice point on the G axis, and Bi is B taken by the i-th lattice point on the B axis. Value.
[0052]
If the display internal layer number sc is 0, the RGB lattice range is the lattice surface as in the initial generation described above. Thereafter, the 3D object data is updated according to the RGB grid range information. The details of the update process are the same as described above, and will be omitted. In step 410, grid point information on the RGB color space corresponding to the polygons constituting the 3D object data is stored separately from the 3D object data.
[0053]
In this embodiment, the number of grid points in the color distribution information is 6 for each of the R axis, the G axis, and the B axis, and the pattern of the grid range and color monitor display when the user selects the display range internal layer as 1. The figure is shown. The grid range in the RGB color space is as shown in FIG. In FIG. 17, the range indicated by the dotted line is the maximum lattice area, and the range indicated by the solid line indicates the rectangular area selected. A broken line / solid line intersection indicates a lattice point. An example of the display on the color monitor 107 in the above case is shown in FIG. In the figure, the color is omitted.
[0054]
The display hue range selection and display in step 411 will be described. This process is not executed unless the number of grid points is equal on the R axis, the G axis, and the B axis and the steps of the grid points are not equal.
[0055]
FIG. 19 shows a user interface for the user to select a display hue range. Here, the user selects a hue range to be displayed in the RGB color space by selecting at least one of the six display hue ranges. When the user selects a display hue range using this user interface, a display hue range selection message CHANGE_HUEAREA is notified to the color analysis program, and the color analysis program responds to the hue selection information added to the message as described below with a 3D object. Update the data.
[0056]
First, in the RGB color space, one of the six tetrahedron regions shown in FIG. 20 is selected according to the hue selection information. Two combinations of triangles are generated in the smallest rectangle formed by each lattice point on the surface of the selected tetrahedron region. In the surface area where the quadrangle cannot be generated, the smallest triangle is generated. Next, the grid point coordinates which are the vertices of the triangles are converted into corresponding L * a * b * coordinate values using the color distribution information data, and 3D object data is configured from the combination of the converted triangles. Here, in the same manner as in the case of selecting the display grid range, each of the combinations of two triangles is selected so that the volume of the 3D object data is maximized. In step 411, grid point information in the RGB color space corresponding to the polygons constituting the 3D object data is stored separately from the 3D object data.
[0057]
FIG. 21 shows an example of display on the color monitor 107 when the display hue range is selected as the MR region in the present embodiment. In the figure, the color is omitted. FIG. 22 shows the structure of the 3D object data configured in step 411.
[0058]
The display surface selection and display in step 412 will be described. FIG. 23 shows a user interface for the user to select a display surface. The check box in the figure is switched between enabled / disabled according to the current 3D object data. When the check box is disabled, the check box of the hue plane 1 / hue plane 2 is disabled as the text color becomes lighter. Indicates that there is. Here, the user selects at least one arbitrary display surface that is enabled from among the eight display surfaces.
[0059]
When the user selects a display surface using this user interface, a display surface selection message CHANGE_DISPLAY SURFACE is notified to the color analysis program, and the color analysis program converts the 3D object data from the display surface selection information added to the message as follows: Update.
[0060]
The internal structure of the 3D object data is as shown in FIG. 7. The structure of the 3D object data generated by specifying the RGB grid range is as shown in FIG. 8, and the 3D object data generated by specifying the display hue range is, for example, as shown in FIG. It is like 22. Here, the display permission flag in the configuration surface data is updated according to the display surface selection information.
[0061]
FIG. 24 shows an example of display on the color monitor 107 when the display surface is selected as the WMYR surface or the WYCG surface in the present embodiment. In the figure, the color is omitted.
[0062]
The comparison data selection in step 413 will be described. FIG. 25 shows a user interface for the user to select comparison data. As is apparent from the figure, the user selects comparison source data and comparison destination data. When the user selects comparison data using this user interface, a message SELECT_DATA is notified to the color analysis program, and the color analysis program creates / updates 3D object data from the comparison source data in the same manner as in step 404. Further, grid point information in the RGB color space corresponding to the polygons constituting the 3D object data is stored separately from the 3D object data.
[0063]
The comparison calculation method selection in step 414 will be described. FIG. 26 shows a user interface for the user to select a comparison calculation method. As is clear from the figure, the comparison calculation method is selected. When the user selects a comparison calculation method using this user interface, a message DIFFERENCE_MODE is notified to the color analysis program. Depending on the selected comparison calculation method, the object surface color is calculated in step 416.
[0064]
In step 416, 3D is calculated from the color distribution data as the comparison source, the color distribution data as the comparison destination, the grid point information on the RGB color space corresponding to the polygon constituting the 3D object data, and the comparison calculation method selection information. Calculate the color of the object data. However, when the number of grids is not the same between the color distribution data that is the comparison source and the color distribution data that is the comparison destination, it is calculated from the grid point coordinate values in the RGB color space of the comparison source data.
[0065]
Hereinafter, each calculation method will be described in detail.
[0066]
A) Change amount
First, for each vertex of the polygon in the 3D object data, a color difference ΔE between the color distribution data that is the comparison source and the color distribution data that is the comparison destination is calculated. Here, the correspondence between each vertex of the polygon and the color distribution data is made by using grid point information on the RGB color space corresponding to the polygon constituting the 3D object data.
[0067]
Using the calculated color difference, the color of the polygon is calculated as follows.
[0068]
[Outside 1]
Figure 0004464018
[0069]
Assuming that DEij is the color difference ΔE between the comparison source color distribution data and the comparison destination color distribution data at the vertex j of the polygon i, the color (R, G, B) of the polygon i is obtained as follows. Here, n is the number of polygon vertices.
if a <0, a = 0
[Outside 2]
Figure 0004464018
[0070]
if a> 20, a = 20
As is apparent from the equation, when the color difference is 0, the color of the polygon is blue, and when the color difference exceeds 20, the color is red.
[0071]
Moreover, the color of the wire frame at the time of wire frame display is calculated as an average of the amount of change at both ends of the side. Assuming that the side belongs to the polygon i and the vertices at both ends of the side are the vertex j and the vertex k, the color (R, G, B) of the wire frame is obtained as follows using DEij described above.
[0072]
[Outside 3]
Figure 0004464018
[0073]
if a <0, a = 0
if a> 20, a = 20
[Outside 4]
Figure 0004464018
[0074]
B) Density comparison
First, for each side of the polygon in the 3D object data, the length is calculated from the color distribution data as the comparison source and the color distribution data as the comparison destination. Here, the correspondence between each vertex of the polygon and the color distribution data is made by using grid point information on the RGB color space corresponding to the polygon constituting the 3D object data. Here, in the polygon i, the length of the side j (color difference between vertices constituting the side) when referring to the color distribution data that is the comparison source is l1ij, and the side when the color distribution data that is the comparison source is referred to Let the length of j be l2ij. These schematic views are shown in FIG.
[0075]
Using the above l1ij and l2ij, the color (R, G, B) of the wire frame at the time of wire frame display is calculated as follows.
Figure 0004464018
[Outside 5]
Figure 0004464018
[0076]
and if a <−3, a = −3
As is apparent from the equation, the color of the wire frame is gray when the side lengths are equal, and the color changes to cyan when the side length of the comparison destination is long and red when the side length is short.
[0077]
In addition, the color (R, G, B) of the polygon is calculated as the average of the side change amounts as follows. Here, the color of the side j in the polygon i is Rij, Gij, and Bij, respectively. Here, n is the number of polygon vertices.
[0078]
[Outside 6]
Figure 0004464018
[0079]
C) Change direction comparison
First, for each side of the polygon in the 3D object data, a vector is calculated from the color distribution data that is the comparison source and the color distribution data that is the comparison destination. Here, the correspondence between each vertex of the polygon and the color distribution data is made by using grid point information on the RGB color space corresponding to the polygon constituting the 3D object data. Here, in polygon i, a vector composed of side j when referring to color distribution data as a comparison source is v1ij, and a vector composed of side j when referring to color distribution data as a comparison source is v2ij. And These schematic views are shown in FIG.
[0080]
Using the above v1ij and v2ij, the color (R, G, B) of the side j of the polygon i at the time of wire frame display is calculated as follows.
[0081]
[Outside 7]
Figure 0004464018
[0082]
[Outside 8]
Figure 0004464018
[0083]
However, the R value, the B value, and the G value are each clipped so as to be within the range of 0 to 255.
[0084]
As is apparent from the equation, the wireframe color is blue when the vector directions are equal, and changes to red as the direction rotates and moves in the opposite direction.
[0085]
In addition, the color (R, G, B) of the polygon is calculated as the average of the side change amounts as follows. Here, if the color of the side j in the polygon i is R, G, B values, respectively, Rij, Gij, Bij,
[Outside 9]
Figure 0004464018
[0086]
Here, n is the number of polygon vertices.
[0087]
D) Change direction + Change amount comparison
First, for each side of the polygon in the 3D object data, a vector is calculated from the color distribution data that is the comparison source and the color distribution data that is the comparison destination. Here, the correspondence between each vertex of the polygon and the color distribution data is made by using grid point information on the RGB color space corresponding to the polygon constituting the 3D object data. Here, in polygon i, a vector composed of side j when referring to color distribution data as a comparison source is v1ij, and a vector composed of side j when referring to color distribution data as a comparison source is v2ij. And These schematic views are as shown in FIG.
[0088]
Using the above v1ij and v2ij, the color (R, G, B) of the side j of the polygon i at the time of wire frame display is calculated as follows.
[0089]
However, the R value, the B value, and the G value are each clipped so as to be within the range of 0 to 255.
[0090]
As is apparent from the equation, the wireframe color is blue when the vector directions are equal, and changes to red as the direction rotates and moves in the opposite direction.
[0091]
[Outside 10]
Figure 0004464018
[0092]
[Outside 11]
Figure 0004464018
[0093]
[Outside 12]
Figure 0004464018
[0094]
[Outside 13]
Figure 0004464018
[0095]
However, when α + β> 1, it is corrected as α = α / α + β and β = β / α + β.
Further, α and β are clipped so as to be within the range of 0 to 1, respectively. From α and β obtained above
[Outside 14]
Figure 0004464018
[0096]
However, the R value, the B value, and the G value are each clipped so as to be within the range of 0 to 255.
[0097]
As is apparent from the equation, the wireframe color is blue when the vector directions are equal, and changes to red as the direction rotates and moves in the opposite direction. Furthermore, when the vector difference is small, it changes to gray.
[0098]
The color (R, G, B) of the polygon is calculated as the average of the amount of change in the side as follows.
[0099]
[Outside 15]
Figure 0004464018
[0100]
Here, the color of the side j in the polygon i is Rij, Gij, and Bij, respectively.
[0101]
Here, n is the number of polygon vertices.
[0102]
As is clear from the above description, according to the comparison method of the present embodiment, it is possible to compare the local color distribution situation or the detailed distribution situation. Furthermore, since the local problem can be accurately grasped / determined, the determination result can be quickly reflected in the gamut mapping technique.
[0103]
<Second Embodiment>
In the first embodiment, the color of the 3D object is changed based on the comparison calculation only when the number of grids is the same between the color distribution data as the comparison source and the color distribution data as the comparison destination. The present embodiment removes the above-mentioned restrictions.
[0104]
Therefore, the redundant description is omitted, and only the object surface color calculation in step 416, which is a changed portion, will be described only when the number of grids is not the same between the color distribution data as the comparison source and the color distribution data as the comparison destination. .
[0105]
First, in the RGB coordinates of the sample points of the color distribution data that is the comparison source, what kind of L * a * b * coordinates the comparison destination color distribution data takes, and an interpolation operation based on the color distribution data of the comparison destination Do. This calculates what L * a * b * value the comparison destination color distribution data takes in the same sample point grid as the comparison source color distribution data, and the new comparison source color distribution data and Color distribution data by the same sample point grid is constructed. This color distribution data is regarded as comparison destination color distribution data, and object surface color calculation is performed in step 416.
[0106]
<Other embodiments>
In the above embodiment, the processing using RGB and the L * a * b * color system has been described. However, it is possible to perform the same processing using other color systems such as Luv, CMY, XYZ, etc. Needless to say.
[0107]
In the above embodiment, the display device is limited to the monitor, but it is of course possible to output to a printer / plotter or the like.
[0108]
【The invention's effect】
According to the present invention, the comparison result of the local color distribution status or the detailed distribution status comparison result between the comparison source table and the comparison destination table can be visually confirmed using the pseudo three-dimensional display.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a system configuration of a color information analysis apparatus as a first embodiment.
FIG. 2 is a schematic diagram showing a grid point arrangement in an RGB color space.
FIG. 3 is a diagram illustrating an example of a file format of a color distribution information file.
4 is a flowchart showing a processing operation in the system configuration of FIG. 1;
FIG. 5 is a diagram showing a message list.
FIG. 6 is a diagram illustrating a minimum quadrangle formed by each lattice point.
FIG. 7 is a diagram showing an internal structure of 3D object data.
FIG. 8 is a diagram illustrating an example of an internal structure of 3D object data.
FIG. 9 is a diagram illustrating an example of display of 3D object data.
FIG. 10 is a diagram showing a user interface for selecting a display form.
FIG. 11 is a diagram illustrating an example of display of 3D object data.
FIG. 12 is a diagram illustrating an example of display of 3D object data.
FIG. 13 is a diagram showing a user interface for display grid range selection.
FIG. 14 is a diagram illustrating an example of a grid range in an RGB color space.
FIG. 15 is a diagram illustrating an example of display of 3D object data.
FIG. 16 is a diagram showing a user interface for selecting a display internal hierarchy.
FIG. 17 is a diagram showing an example of a selected rectangular area range in the RGB color space.
FIG. 18 is a diagram illustrating an example of display of 3D object data.
FIG. 19 is a diagram showing a user interface for selecting a display hue range;
FIG. 20 is a schematic diagram showing a tetrahedral area selected according to hue selection information.
FIG. 21 is a diagram illustrating an example of display of 3D object data.
FIG. 22 is a diagram illustrating an example of an internal structure of 3D object data.
FIG. 23 is a diagram showing a user interface for selecting a display surface.
FIG. 24 is a diagram illustrating an example of display of 3D object data.
FIG. 25 is a diagram showing a user interface for selecting comparison data.
FIG. 26 is a diagram showing a user interface for selecting a comparison calculation method.
FIG. 27 is a schematic diagram showing a correspondence relationship between sides in a comparison calculation.
FIG. 28 is a schematic diagram showing the correspondence of vectors in comparison calculation.

Claims (6)

比較元テーブルおよび比較先テーブルを選択する選択工程と、
前記比較元テーブルの出力色座標データを用いて、複数のポリゴンからなる第2の色空間における3次元オブジェクトデータを生成する生成工程と、
前記3次元オブジェクトデータに基づく3次元オブジェクトの表示色を算出する算出工程とを有する色処理方法であって、
前記比較元テーブルおよび前記比較先テーブルは、第1の色空間で示される入力色座標データを第2の色空間で示される出力色座標データに変換するテーブルであり、該第1の色空間での格子点の入力色座標データと該格子点の入力色座標データに対応する該第2の色空間上での出力色座標データとの対応を記したものであり、
前記算出工程は、前記ポリゴンの頂点に対応する入力色座標データの前記比較元テーブルの出力色座標データと、該ポリゴンの頂点に対応する入力色座標データを前記比較先テーブルを用いて変換することにより得られる出力色座標データとの色差を用いて、該ポリゴンの表面色を算出することを特徴とする色処理方法。
A selection step of selecting a comparison source table and a comparison destination table;
Using the output color coordinate data of the comparison source table to generate three-dimensional object data in a second color space composed of a plurality of polygons;
A color processing method including a calculation step of calculating a display color of a three-dimensional object based on the three-dimensional object data,
The comparison source table and the comparison target table is a table for converting the input color coordinate data represented by the first color space into an output color coordinate data represented in a second color space, in the first color space The correspondence between the input color coordinate data of the grid point and the output color coordinate data on the second color space corresponding to the input color coordinate data of the grid point,
The calculating step includes the comparison of the source table output color coordinate data of the input color coordinate data of the vertex of the polygon, converting using said comparison target table input color coordinate data of the vertex of the polygon A color processing method characterized in that the surface color of the polygon is calculated using the color difference from the output color coordinate data obtained by the above .
比較元テーブルおよび比較先テーブルを選択する選択工程と、
前記比較元テーブルの出力色座標データを用いて、複数のポリゴンからなる第2の色空間における3次元オブジェクトデータを生成する生成工程と、
前記3次元オブジェクトデータに基づく3次元オブジェクトの表示色を算出する算出工程とを有する色処理方法であって、
前記比較元テーブルおよび前記比較先テーブルは、第1の色空間で示される入力色座標データを第2の色空間で示される出力色座標データに変換するテーブルであり、該第1の色空間での格子点の入力色座標データと該格子点の入力色座標データに対応する該第2の色空間上での出力色座標データとの対応を記したものであり、
前記算出工程は、ワイヤーフレームの辺の両端の点に対応する、前記ポリゴンの2頂点それぞれに対応する入力色座標データの前記比較元テーブルの出力色座標データと、該ポリゴンの2頂点それぞれに対応する入力色座標データを前記比較先テーブルを用いて変換することにより得られる出力色座標データとの色差に基づき、該ワイヤーフレームの辺の色を算出することを特徴とする色処理方法。
A selection step of selecting a comparison source table and a comparison destination table;
Using the output color coordinate data of the comparison source table to generate three-dimensional object data in a second color space composed of a plurality of polygons;
A color processing method including a calculation step of calculating a display color of a three-dimensional object based on the three-dimensional object data,
The comparison source table and the comparison destination table are tables that convert input color coordinate data indicated in a first color space into output color coordinate data indicated in a second color space, and in the first color space, The correspondence between the input color coordinate data of the grid point and the output color coordinate data on the second color space corresponding to the input color coordinate data of the grid point,
The calculation step corresponds to the output color coordinate data of the comparison source table of the input color coordinate data corresponding to each of the two vertices of the polygon corresponding to the points at both ends of the side of the wire frame, and each of the two vertices of the polygon. A color processing method comprising: calculating a color of a side of the wire frame based on a color difference from output color coordinate data obtained by converting input color coordinate data to be converted using the comparison destination table .
比較元テーブルおよび比較先テーブルを選択する選択工程と、
前記比較元テーブルの出力色座標データを用いて、複数のポリゴンからなる第2の色空間における3次元オブジェクトデータを生成する生成工程と、
前記3次元オブジェクトデータに基づく3次元オブジェクトの表示色を算出する算出工程とを有する色処理方法であって、
前記比較元テーブルおよび前記比較先テーブルは、第1の色空間で示される入力色座標データを第2の色空間で示される出力色座標データに変換するテーブルであり、該第1の色空間での格子点の入力色座標データと該格子点の入力色座標データに対応する該第2の色空間上での出力色座標データとの対応を記したものであり、
前記算出工程は、前記ポリゴンの複数の頂点それぞれに対応する入力色座標データの前記比較元テーブルの出力色座標データから求められる比較元の辺の長さと、該ポリゴンの複数の頂点それぞれに対応する入力色座標データを前記比較先テーブルを用いて変換することにより得られる出力色座標データから求められる比較先の辺の長さとに基づき、該ポリゴンの色を算出することを特徴とする色処理方法。
A selection step of selecting a comparison source table and a comparison destination table;
Using the output color coordinate data of the comparison source table to generate three-dimensional object data in a second color space composed of a plurality of polygons;
A color processing method including a calculation step of calculating a display color of a three-dimensional object based on the three-dimensional object data,
The comparison source table and the comparison destination table are tables that convert input color coordinate data indicated in a first color space into output color coordinate data indicated in a second color space, and in the first color space, The correspondence between the input color coordinate data of the grid point and the output color coordinate data on the second color space corresponding to the input color coordinate data of the grid point,
The calculating step corresponds to the length of the comparison source side obtained from the output color coordinate data of the comparison source table of the input color coordinate data corresponding to each of the plurality of vertices of the polygon and each of the plurality of vertices of the polygon. A color processing method for calculating a color of the polygon based on a side length of a comparison destination obtained from output color coordinate data obtained by converting input color coordinate data using the comparison destination table .
比較元テーブルおよび比較先テーブルを選択する選択工程と、
前記比較元テーブルの出力色座標データを用いて、複数のポリゴンからなる第2の色空間における3次元オブジェクトデータを生成する生成工程と、
前記3次元オブジェクトデータに基づく3次元オブジェクトの表示色を算出する算出工程とを有する色処理方法であって、
前記比較元テーブルおよび前記比較先テーブルは、第1の色空間で示される入力色座標データを第2の色空間で示される出力色座標データに変換するテーブルであり、該第1の色空間での格子点の入力色座標データと該格子点の入力色座標データに対応する該第2の色空間上での出力色座標データとの対応を記したものであり、
前記算出工程は、前記ポリゴンの複数の頂点それぞれに対応する入力色座標データの前記比較元テーブルの出力色座標データから求められる比較元の辺のベクトルと、該ポリゴンの複数の頂点それぞれに対応する入力色座標データを前記比較先テーブルを用いて変換することにより得られる出力色座標データから求められる比較先の辺のベクトルとに基づき、該ポリゴンの色を算出することを特徴とする色処理方法。
A selection step of selecting a comparison source table and a comparison destination table;
Using the output color coordinate data of the comparison source table to generate three-dimensional object data in a second color space composed of a plurality of polygons;
A color processing method including a calculation step of calculating a display color of a three-dimensional object based on the three-dimensional object data,
The comparison source table and the comparison destination table are tables that convert input color coordinate data indicated in a first color space into output color coordinate data indicated in a second color space, and in the first color space, The correspondence between the input color coordinate data of the grid point and the output color coordinate data on the second color space corresponding to the input color coordinate data of the grid point,
The calculating step corresponds to a vector of a comparison source side obtained from output color coordinate data of the comparison source table of input color coordinate data corresponding to each of a plurality of vertices of the polygon, and each of a plurality of vertices of the polygon. A color processing method comprising: calculating a color of the polygon based on a vector of a comparison destination side obtained from output color coordinate data obtained by converting input color coordinate data using the comparison destination table .
請求項1乃至のいずれかに記載の色処理方法を実現するためのプログラムをコンピュータが読み取り可能に記録する記録媒体。Recording medium which the computer readable recording a program for realizing the color processing method according to any one of claims 1 to 4. 比較元テーブルおよび比較先テーブルを選択する選択手段と、
前記比較元テーブルの出力色座標データを用いて、複数のポリゴンからなる第2の色空間における3次元オブジェクトデータを生成する生成手段と、
前記3次元オブジェクトデータに基づく3次元オブジェクトの表示色を算出する算出手段とを有する色処理装置であって、
前記比較元テーブルおよび前記比較先テーブルは、第1の色空間で示される入力色座標データを第2の色空間で示される出力色座標データに変換するテーブルであり、該第1の色空間での格子点の入力色座標データと該格子点の入力色座標データに対応する該第2の色空間上での出力色座標データとの対応を記したものであり、
前記算出手段は、前記ポリゴンの頂点に対応する入力色座標データの前記比較元テーブルの出力色座標データと、該ポリゴンの頂点に対応する入力色座標データを前記比較先テーブルを用いて変換することにより得られる出力色座標データとの色差を用いて、該ポリゴンの表面色を算出することを特徴とする色処理装置。
A selection means for selecting a comparison source table and a comparison destination table;
Generating means for generating three-dimensional object data in a second color space composed of a plurality of polygons using the output color coordinate data of the comparison source table;
A color processing device having a calculation means for calculating a display color of a three-dimensional object based on the three-dimensional object data,
The comparison source table and the comparison target table is a table for converting the input color coordinate data represented by the first color space into an output color coordinate data represented in a second color space, in the first color space The correspondence between the input color coordinate data of the grid point and the output color coordinate data on the second color space corresponding to the input color coordinate data of the grid point,
The calculation unit, the comparison of the source table output color coordinate data of the input color coordinate data of the vertex of the polygon, converting using said comparison target table input color coordinate data of the vertex of the polygon A color processing apparatus that calculates a surface color of the polygon using a color difference from output color coordinate data obtained by the above .
JP2001293852A 2001-09-26 2001-09-26 Color processing method and apparatus Expired - Fee Related JP4464018B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2001293852A JP4464018B2 (en) 2001-09-26 2001-09-26 Color processing method and apparatus
US10/251,792 US7116338B2 (en) 2001-09-26 2002-09-23 Color information processing apparatus and method
US11/472,427 US7623138B2 (en) 2001-09-26 2006-06-22 Color information processing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001293852A JP4464018B2 (en) 2001-09-26 2001-09-26 Color processing method and apparatus

Publications (3)

Publication Number Publication Date
JP2003099768A JP2003099768A (en) 2003-04-04
JP2003099768A5 JP2003099768A5 (en) 2006-07-27
JP4464018B2 true JP4464018B2 (en) 2010-05-19

Family

ID=19115561

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001293852A Expired - Fee Related JP4464018B2 (en) 2001-09-26 2001-09-26 Color processing method and apparatus

Country Status (1)

Country Link
JP (1) JP4464018B2 (en)

Also Published As

Publication number Publication date
JP2003099768A (en) 2003-04-04

Similar Documents

Publication Publication Date Title
US7116338B2 (en) Color information processing apparatus and method
US8654118B2 (en) Color-information processing method, and program
WO2005022328A2 (en) Gamut mapping between multiple boundary regions
JP4306936B2 (en) Color processing apparatus and method
US8451521B2 (en) Finding a locus of colorant formulations that produces a desired color
JP4464018B2 (en) Color processing method and apparatus
JP2011109485A (en) Color conversion table creating program, color conversion table creating device, and color conversion table creating method
JP4227318B2 (en) Color processing method, apparatus, and computer program
JP4662242B2 (en) Color conversion method, color conversion apparatus, program, and recording medium
JP4109802B2 (en) Color processing apparatus and method
JP2005176200A (en) Color signal converting apparatus and method
JP4788486B2 (en) Color gamut outline creation device and color gamut outline creation program
JP2008278251A (en) Image processor, image processing method, and image processing program
JP2004179819A (en) Color conversion processing apparatus, color conversion processing program, and color conversion processing method
JP2005174209A (en) COLOR DISTRIBUTION ANALYSIS DEVICE, ITS CONTROL METHOD, CONTROL PROGRAM, AND STORAGE MEDIUM
JP6734566B2 (en) Lattice point group generation method, lattice point group generation program, and lattice point group generation device
JP3929060B2 (en) Color processing method and color processing apparatus
JP2005190134A (en) Image processing method and image processing apparatus
JP6734565B2 (en) Lattice point group generation method, lattice point group generation program, and lattice point group generation device
JP6617637B2 (en) Color conversion table creation program, color conversion table creation device, and color conversion table creation method
JP2004048588A (en) Method, device and program for creating color conversion definition
JP2024082442A (en) Image processing device, printing system, and image processing program
JP2007081733A (en) Image processing method and image processing apparatus
JP4262212B2 (en) Color processing method and apparatus
JP2003244462A (en) Color conversion parameter determining method, color conversion parameter determining apparatus and color conversion parameter determination program

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060609

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060609

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090424

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090428

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090629

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091124

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100119

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20100201

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100216

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100218

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

Free format text: PAYMENT UNTIL: 20130226

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4464018

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140226

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees