JP4305884B2 - Method and apparatus for creating hairline data - Google Patents

Method and apparatus for creating hairline data Download PDF

Info

Publication number
JP4305884B2
JP4305884B2 JP18771898A JP18771898A JP4305884B2 JP 4305884 B2 JP4305884 B2 JP 4305884B2 JP 18771898 A JP18771898 A JP 18771898A JP 18771898 A JP18771898 A JP 18771898A JP 4305884 B2 JP4305884 B2 JP 4305884B2
Authority
JP
Japan
Prior art keywords
hairline
pseudo
scalar field
pixel
angle
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
JP18771898A
Other languages
Japanese (ja)
Other versions
JP2000027066A (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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP18771898A priority Critical patent/JP4305884B2/en
Publication of JP2000027066A publication Critical patent/JP2000027066A/en
Application granted granted Critical
Publication of JP4305884B2 publication Critical patent/JP4305884B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Analysis (AREA)
  • Treatment Of Fiber Materials (AREA)
  • Shaping Of Tube Ends By Bending Or Straightening (AREA)
  • Image Processing (AREA)
  • Image Generation (AREA)

Description

【0001】
【産業上の利用分野】
本発明は、木目柄を有する化粧シートに対して「照り」と呼ばれる光沢模様を表現するためにエンボス加工を施すためのヘアラインのデータを、木目の繊維の潜り角から作成する方法及び装置に関する。
【0002】
【従来の技術】
壁紙や床材等の建材の表面装飾や、家具の表面装飾のために用いる化粧シートにおいては、照りと称される光沢模様を表現するために、多数のヘアラインのパターンを直接化粧シートにエンボス加工したり、あるいは透明なシートにヘアラインパターンをエンボス加工してエンボスシートを作成し、そのエンボスシートを木目柄等の模様を印刷した化粧シートに貼り付けて積層構造とすることが広く行われている。
【0003】
このように、ヘアラインパターンをエンボス加工することによって照りが表現できる原理は概略次のようである。
図5は、ヘアラインパターンをエンボス加工して万線条溝Gが形成されたシートEの斜視図であり、この例では、幅W1の万線条溝GがW2の間隔で多数形成されている。シートEの全体の厚みD1に対して、万線条溝Gは深さD2の溝を形成しており、多数の万線条溝Gがほぼ平行に配置されている。このような万線条溝Gからなるパターンは、幅W1をもった凹部と幅W2をもった凸部との二段階の段差構造を有している。
【0004】
このような万線条溝Gが形成されたシートEは、その表面から得られる反射光の強度が位置によって異なることが知られている。つまり、異方性反射を行うのである。そして、このようなシートEを見る視線を連続的に変化させると、強く反射する箇所、即ち輝度が高く、明るく光る箇所が変化していく。これが照りの移動と称されるものである。
【0005】
さて、上述したような照り、及び照りの移動を表現するヘアラインパターンとしては、エンボス加工を行った場合に、天然の木材が発現するような自然な照り、及び照りの移動を表現できるものが望ましいことは当然である。そこで、天然の木材が照り、及び照りの移動を発現する原理を考えると、それは、木材表面における繊維潜り角に起因していることが知られている。概略説明すると次のようである。
【0006】
図6は、材木板表面の繊維質の配向性と鏡面反射率との関係を説明する図である。いま、材木板100の表面(切断面J)に、図に繊維方向ベクトルF→(電子出願の制約から、本来符号の上部に付記するベクトル記号“→”を符号右側に付記することにする)として示すような配向性をもって繊維Fが配置されているものとする。このとき、切断面Jと繊維Fとのなす角ξは繊維潜り角と呼ばれている。
【0007】
そして、材木板100の上方に仮想光源200(面光源)を仮定し、この仮想光源200から材木板100の表面(切断面J)に対して垂直な光線が照射され、この表面からの拡散反射光および鏡面反射光を観察することを考える。この場合、観察される拡散反射光の強度は、材木板100の表面の木目模様の色成分によって左右され、この拡散反射光による画像は、いわゆる着色された模様として認識されることになる。一方、観察される鏡面反射光の強度W(光沢度)は、繊維潜り角ξによって左右され、通常、図7のグラフに示すような関係となる。より正確には、各部における鏡面反射光強度は、光の照射方向と繊維潜り角ξとの双方によって決定される。即ち、図6に示すように、切断面J上の点Pにおいて、光線方向ベクトルL→と繊維方向ベクトルF→とを図のように定義すれば、両ベクトルの交錯角φによって点Pにおける鏡面反射光強度が決定されることになる。上述の例のように、光線方向ベクトルL→が切断面Jに対して垂直であるモデルの場合、ベクトル交錯角φ=90°−ξとなり、図7のグラフに示すように、φ=90°のときに鏡面反射光強度が最高になり、φ= 0°のときに最低となる。
【0008】
実際の天然木から切り出した材木板の表面に照り模様が見られるのは、切断面上の各部分ごとに異なる繊維潜り角ξが得られるからであり、この部分毎に異なる繊維潜り角ξに基づいて照り模様が現れることになるのである。また、以上のことから、例えば図6において観察位置を変えずに仮想光源200を移動させた場合、あるいは仮想光源200の位置を固定して観察位置を変えた場合には、材木板100の照りが発現する位置が変化することになることは明らかであろう。これが照りの移動である。
【0009】
そこで、近年では、繊維潜り角の2次元分布、即ち2次元スカラ場を求め、その求めた繊維潜り角の2次元スカラ場に基づいてヘアラインパターンを作成し、そのヘアラインパターンを用いてエンボス加工することが行われている。
【0010】
ここで、繊維潜り角の2次元スカラ場を求める方法としては、例えば、適宜な木理を有する繊維束モデル、即ち適宜な配向性を有する繊維束のモデルを想定し、そのモデルを所望の方向に切断したときの切断面に現れる繊維の潜り角を演算する方法を用いてもよく、また、本出願人が、先に、特願平10−104831号において提案した方法を用いてもよい。この特願平10−104831号において提案した方法について説明すると次のようである。
【0011】
この方法では、図8に示すように、天然木材101、光源102、カメラ103、処理装置104を用いる。木材101は繊維潜り角を測定する対象物となるものであり、天然の木材であればどのようなものであってもよい。この木材101は固定して配置される。木材101に正対してカメラ103が配置されている。このカメラ103も固定して配置される。カメラ103は、製版カメラ、TVカメラ、デジタルスチルカメラ等の画像を撮影することができるものであればよい。ここでは理解を容易にするためにデジタルスチルカメラを用いるものとする。そして、図に示すようなxyzの直交座標系を定める。
【0012】
光源102は、できるだけ平行光線を放射するものが望ましい。光線の色は白色光でよい。そして、この光源102は、図示しない適宜な手段によって、図のy−z平面内において、当該座標系の原点からの距離を等しく保ったまま移動可能となされており、どのような位置においても当該座標系の原点に向けて光線を放射するようになされている。つまり、光源102は木材101を照明する角度が可変となされているのである。
【0013】
このような構成において、まず、光源102をある角度θ1 の位置に置いて、カメラ103により木材101を撮影する。このカメラ103で撮影された画像のデジタルデータは処理装置104に取り込まれる。なお、カメラ103として製版フィルムを用いる場合には、撮影したフィルムを現像し、スキャナ入力してデジタル化して処理装置104に渡すようにすればよく、またTVカメラを用いる場合には、TVカメラからの画像信号をデジタル化して処理装置104に渡せばよい。
【0014】
また、後述するところから明らかなように、処理装置104において繊維潜り角測定のために用いられるのは輝度のデータのみであるから、例えばカメラ103がR,G,Bの3色の画像データを出力するものである場合には、処理装置104はGの画像データのみを取り込むようにしてもよく、あるいはR,G,Bから輝度を表すデータを生成して、その輝度のデータのみを用いるようにしてもよい。
【0015】
そして、処理装置104は、当該画像データを角度θ1 における画像データであることを登録する。これによって、光源102が角度θ1 の位置に置かれた場合の画像データが処理装置104に取り込まれることになるが、次に、光源102の角度を△θだけ移動して、カメラ103により木材101を撮影し、そのときの画像データを処理装置104に渡す。以下、同様にして、光源102の角度を△θだけ移動させて木材101を撮影して、そのときの画像データを処理装置104に渡す動作を所定回数繰り返す。
【0016】
ここで、光源102を図8のz軸を中心としてどのような角度範囲で移動させるか、また△θを何度にするかは任意に定めることができるが、一般に、天然木材の繊維潜り角ξは±10°程度であるのが一般的であるので、光源102を移動させる角度範囲は、図8のz軸を中心として±30°程度とすればよい。また、△θについては、△θの値を小さくすれば精度よい測定ができるが、測定時間が長くなるので、測定精度、測定時間等を勘案して定めればよい。
【0017】
さて、いま光源102をθ1 の角度位置からθN (N は自然数)の角度位置までN段階移動させて木材101をN回撮影したとすると、処理装置104はN枚の画像の輝度データを取り込み、それぞれの画像が撮影されたときの光源102の角度と対応させて登録することになる。
【0018】
そして、処理装置104は、ある位置の画素に注目し、これらN枚の画像の当該画素位置における輝度値を調べ、輝度値が最大となる画像のときの光源102の角度位置を求め、その光源102の角度の半分の角度を当該画素位置における繊維潜り角ξとし、当該繊維潜り角ξを当該画素位置に登録する。
【0019】
例えば、ある画素位置に注目したとき、光源102の角度がθi (i=1,…,N)のときに撮影した画像の輝度値が最大であるときには、処理装置104は、当該画素位置における繊維潜り角ξはθi/2 と定めて登録するのである。
【0020】
繊維潜り角ξをこのように定めることの妥当性は明らかである。即ち、例えば、図9のAで示す位置の輝度が最大となるのは、繊維イの繊維潜り角ξと、光源102からの照明の角度と、カメラ103で撮影される方向が図9で示す関係になるときであり、このときAの位置にある繊維イの繊維潜り角ξは、角度の符号も含めてθとなることは明らかである。なお、図9において、ロはAの位置における繊維イに対する垂線である。
【0021】
そして、処理装置104は、以上の処理を全ての画素位置について行う。これによって、カメラ103で撮影された画像の全ての画素位置について繊維潜り角ξを求めることができ、各画素位置に対して繊維潜り角が登録された2次元のスカラ場を生成することができる。そして、このような繊維潜り角測定方法によれば、天然の木材から直接に、当該天然木材の各位置における繊維潜り角を測定することが可能となる。
【0022】
以上のように、繊維潜り角の2次元スカラ場を求める方法は種々あるのであるが、従来においては、どのような方法であれ、繊維潜り角の2次元スカラ場を求めた後は、その求めた繊維潜り角の2次元スカラ場に基づいてエンボス加工を行うためのヘアラインのパターンを直接作成していた。
【0023】
繊維潜り角の2次元スカラ場に基づいて、ヘアラインパターンを作成する方法としては種々あるが、その一例について図10のフローチャートを参照して概略説明する。
【0024】
まず、ステップS21において、ヘアラインパターンを描画する作成画像のサイズを設定し、この作成画像の全ての画素の画素値を 0に設定しておく。ここでは幅をw(以下、x方向とする)、高さをh(以下、y方向とする)とする。このサイズは繊維潜り角の2次元スカラ場と同じサイズとすればよいが、異なるサイズであってもよい。ただし、繊維潜り角の2次元スカラ場の位置と、作成画像の位置とは一対一に対応させる必要があるので、両者のサイズが異なっている場合には両者のサイズを正規化する等して両者の位置の一対一対応をとるようにすればよい。なお、以下においては、繊維潜り角の2次元スカラ場の位置と、作成画像の位置とは一対一対応がとれているものとする。
【0025】
上述したように繊維潜り角の2次元スカラ場の各点にはそれぞれの位置における繊維の潜り角が定義されているので、作成画像の任意の位置の画素P(i,j)に対して、繊維潜り角の2次元スカラ場の(i,j)の位置に定義されている繊維潜り角を対応付けることができる。
【0026】
次のステップS22では、この作成画像の画素配列の第1行目に、ヘアラインパターンを作成するための代表画素の位置を定義すると共に、これらの各代表画素の近傍に、連続配置された画素群からなる画素帯をそれぞれ定義する処理が行われる。そしてこのとき、代表画素及び画素帯の画素に画素値 1を書き込む。第1行目に代表画素を何画素、どのような配置で定義するかは任意であるが、互いに所定の間隔をおいて複数の代表画素を定義すればよい。
【0027】
図11にその例を示す。図11は、作成画像の第1行目に配置された多数の画素の中から、代表画素R11,R12を定義した状態を示している。この図の例では、第7列目の画素P(1,7)を最初の代表画素R11と定義し、以下、10画素ピッチで現れる画素P(1,17),画素P(1,27),画素P(1,37),…を代表画素R12,R13,R14,…と定義するようにしている。そして、これら各代表画素の近傍に、画素帯を定義する。例えば、図12は、各代表画素の左右に隣接する各2画素を含めた全5画素からなる画素帯H11,H12,…を定義した状態を示している。この例では、画素帯は常に代表画素を中心とした全5画素からなる画素群によって構成されるような設定を行っている。ここでは、画素帯を構成する画素については、内部にハッチングを施して示すことにし、特に、代表画素については、中心に黒丸を付して示すことにする。
【0028】
次のステップS23では、作成画像の画素配列の行数を示すパラメータyが初期値 1に設定され、以下、ステップS24,S25の処理が繰り返し実行される。即ち、ステップS26において、パラメータy=n−1(ただし、nは全行数)と判断されるまで、ステップS27においてパラメータyが1ずつ更新され、ステップS24,S25の処理が繰り返されることになる。
【0029】
ステップS24では、第y行目の各代表画素について、これら各代表画素内の点に定義された繊維潜り角の示す方向に位置する第(y+1)行目の画素を求め、求めたこれらの画素を第(y+1)行目の代表画素と定義し、これら第(y+1)行目の代表画素の近傍に、連続配置された画素群からなる画素帯をそれぞれ定義する処理が実行される。例えば、y=1の場合、図13に示すように、第1行目の代表画素R11,R12,…に基づいて、第2行目の代表画素R21,R22,…が決定され、図14に示すように、この第2行目の代表画素R21,R22に基づいて、第2行目の画素帯H21,H22,…が定義されることになる。第2行目の代表画素R21,R22は、図13に示すように、第1行目の代表画素R11,R12について定義されている繊維潜り角ξ11,ξ12に基づいて決定される。具体的には、第2行目の画素のうち、繊維潜り角ξ11に基づいて定められる方向ベクトルに最も近い中心点を有する画素が代表画素R21として選択され、同様に、繊維潜り角ξ12に基づいて定められる方向ベクトルに最も近い中心点を有する画素が代表画素R22として選択される。また、第2行目の画素帯H21,H22は、この例では、各代表画素R21,R22の左右に隣接する各2画素を含めた全5画素からなる画素帯として定義されている。このとき、定義された代表画素及び画素帯の画素に対して画素値 1が書き込まれる。
【0030】
このように、ステップS24において、第2行目の代表画素および画素帯の定義が行われると、続くステップS25で調整処理が行われる。この調整処理については後述する。続いて、ステップS26,S27を経て、y=2に更新され、再びステップS24の処理が実行されることになる。今度は、第2行目の代表画素R21,R22,…に定義されている繊維潜り角に基づいて、第3行目の代表画素R31,R32,…が決定され、これら代表画素R31,R32に基づいて、第3行目の画素帯H31,H32,…が定義されることになる。以上の処理をy=n−1になるまで繰り返していけば、最終的に得られた画素帯の集合によって、例えば、図15に示すようなヘアラインM1,M2,…が作成されることになる。結局、上述の繰り返し処理は、個々のヘアラインを図の下方へと伸ばしていく処理ということになる。こうして得られたヘアラインの特徴は、個々の画素に定義されている繊維潜り角に沿った流れをもっている、という点にある。なお、第i行目の代表画素に基づいて、第(i+1)行目の代表画素が決定できない場合は、第(i+1)行目には代表画素も画素帯も定義せず、第i行目の画素帯をもって当該ヘアラインの終端とするようにする。
【0031】
次に、図10のステップS25として示した調整処理について説明する。この調整処理の第1の目的は、新たなヘアラインを発生させることにある。例えば、図16に示す例のように、2本のヘアラインM1,M2を図の下方へと徐々に伸ばしていったときに、両ヘアラインM1,M2の間隔が徐々に広がってきたとしよう。このような場合、そのまま放置しておくと、両ヘアラインM1,M2の間に、大きな空隙領域が発生することになり好ましくない。そこで、図示のように、両ヘアラインM1,M2間に、新たなヘアラインM3を発生させる調整処理を行うのが好ましい。また、ステップS25の調整処理の第2の目的は、互いに接近する一対のヘアラインに挟まれたヘアラインを終端させることにある。例えば、図17に示す例のように、3本のヘアラインM1,M2,M3を図の下方へと徐々に伸ばしていったときに、両ヘアラインM1,M3の間隔が徐々に狭くなってきたとしよう。このような場合、そのまま放置しておくと、3本のヘアラインM1,M2,M3が互いに接触するようになり好ましくない。そこで、図示のように、中央のヘアラインM2を終端させる調整処理を行うのである。
【0032】
具体的には、ステップS25では、ステップS24で発生させた第(i+1)行目の画素帯について、次のようなチェックを行い、必要に応じて調整処理を行えばよい。まず、相互の間隔が所定の基準以上離れた一対の画素帯が存在するか否かをチェックする。そして、そのような画素帯が存在する場合には、この一対の画素帯の間に新たな代表画素を定義し、この新たな代表画素に基づいて新たな画素帯を発生させる調整処理を行う。図16に示す例では、所定の基準をd1として、d1=11画素なる設定を行っており、一対の画素帯M1,M2の間隔がd1以上となった第12行目において、新たな代表画素RRおよびこれを含む新たな画素帯を発生させ、新たなヘアラインM3を発生させるようにしている。また、自己の左側に隣接する画素帯と自己の右側に隣接する画素帯との間隔が所定の基準以下に接近している画素帯が存在するか否かのチェックも行う。そして、そのような画素帯が存在する場合には、当該画素帯およびその代表画素を消滅させる調整処理を行う。図17に示す例では、所定の基準をd2として、d2=10画素なる設定を行っており、画素帯M2の左側に隣接する画素帯M1と、画素帯M2の右側に隣接する画素帯M3との間隔が、d2以下となった第11行目において、当該画素帯およびその代表画素RRを消滅させている。
【0033】
次に、1次元スカラ場を生成する(ステップS28)。この1次元スカラ場は、次のステップS29においてステップS27までの処理で作成した各ヘアラインの形状を変形するためのものであるが、各ヘアラインの形状を変形するのは次のような理由による。
【0034】
ステップS27までの処理で作成された2値のヘアラインパターンに基づいて、例えば一般的なダイレクトエッチング法によりエンボス版用のシリンダに凹凸を形成することができることは当然であるが、このようにして形成したエンボス版によって透明なシートにエンボス加工を施してエンボスシートを作成したり、あるいは木目柄を印刷した化粧シートに直接エンボス加工を施した場合、木目の照りを従来に比較して、よりリアルに表現できるのであるが、照りが鋭すぎてギラギラしたものとなり、天然の木目の穏やかな木質感を得ることは難しいものであった。
【0035】
この原因は、上述した処理によって作成されたヘアラインの方向ベクトルが綺麗に揃い過ぎていることにあり、従って一つ一つのヘアラインパターンを多少変形することによってヘアラインパターンの方向ベクトルに揺らぎを持たせれば、照りの鋭さを緩和でき、以て天然の木目の持つ穏やかな木質感を表現できるヘアラインパターンが得られることになる。つまり、ヘアラインパターンを変形することによって艶消しを行うのである。
【0036】
そのために用いるのが1次元スカラ場であり、この1次元スカラ場を一つ一つのヘアラインパターンに作用させて変形させるのである。この1次元スカラ場としてはどのようなものを用いてもよいが、ヘアラインパターンを変形するためのものであり、その変形としては自然な揺らぎを持ったものとするのが望ましいので、1次元フラクタル場を用いるのがよい。1次元フラクタル場を生成するためには、例えば中点変位法を用いればよい。
【0037】
この1次元スカラ場のサイズは任意に設定することができる。また、その値域はどのようなものでもよいが、ここでは理解を容易にするために、[-1,1]の範囲に正規化されているものとする。
【0038】
このようにして1次元スカラ場を用意したら、次にこの一次元スカラ場を各ヘアラインパターンに作用させて変形する(ステップS29)。まず、作成したヘアラインパターンの中の一つのヘアラインパターンMi を抽出し、図18に示すように、このヘアラインパターンのy方向の位置と1次元スカラ場の位置とを一対一に対応させる。このためには、両者の長さを正規化すればよい。そして、いまこのヘアラインMi のpで示す位置が1次元スカラ場のqで示す位置に対応しており、この位置でのスカラ値がH(q)であるとすると、例えば、当該ヘアラインパターンのpの位置の代表画素及び画素帯の位置を[k・H(q)]だけ移動させるようにする。ここで、[k・H(q)]はk・H(q)を越えない最大の整数値をとるものとする。また移動方向については、k・H(q)が正の値であれば図の右方向、即ちx座標値が大きくなる方向に移動させ、負の値であれば図の左方向、即ちx座標値が小さくなる方向に移動させるようにすればよい。また、kは係数であり、適宜な値を用いることができるが、この場合のように1次元スカラ場の値域が[-1,1]の範囲に正規化されている場合には、kは代表画素及び画素帯の移動量の最大幅、即ち変形の大きさを定めるものとなるから、比較的小さな値とするのが望ましい。kの値を大きくするとヘアラインパターンが大きく変形されることになり、このようなヘアラインパターンでは天然の木目の持つ穏やかな木質感を表現することができなくなる可能性があるからである。上述したようにヘアラインパターンの変形は方向ベクトルに多少の揺らぎを持たせるだけで足りるので、kの値は比較的小さな値でよいのである。
【0039】
図19はヘアラインパターンの変形の例を示す図であり、当該ヘアラインパターンMi のpの位置の代表画素及び画素帯が図19(a)の斜線で示すようであり、[k・H(q)]=3であり、且つk・H(q)が正の値であるとすると、この代表画素及び画素帯は図19(b)に示すように図の右方向に3画素だけ移動されることになる。
【0040】
以上の処理を当該ヘアラインパターンMi の全ての位置について行い、当該ヘアラインパターンMi の変形処理が終了したら、他のヘアラインパターンについても同様にして変形を行う。このようにしてステップS27までの処理で作成した全てのヘアラインパターンについて変形の処理を行えば、艶消し効果を有するヘアラインパターンを得ることができ、天然の木目の持つ穏やかな木質感を表現できるヘアラインパターンが得られる。そして、この艶消しの度合いは、ステップS28で生成する一次元スカラ場、あるいは係数kによって容易に制御することができる。
【0041】
なお、上述したヘアラインパターンの変形のための演算はあくまでも一例に過ぎないものであって、代表画素及び画素帯の移動量を決定するための演算は、生成する1次元スカラ場等に応じて適宜に定めることが可能であることは当然である。また、上記の説明では全てのヘアラインパターンの変形に際して同じ係数kを用いるものとしたが、各ヘアラインパターンの変形に際して互いに異なる係数を用いるようにすることも可能である。そのためには、例えばステップS29においてヘアラインパターンの数だけの係数を定めておけばよい。あるいは、ステップS29においてヘアラインパターンの数だけの1次元スカラ場を生成し、ヘアラインパターンと1次元スカラ場を対応させ、あるヘアラインパターンを変形するに際しては対応付けされた1次元スカラ場を作用させるようにしてもよい。
【0042】
このようにして全てのヘアラインパターンを変形したら、次に再度調整処理を行う(ステップS30)。この調整処理はステップS25の調整処理と同様である。ここで再び調整処理を行うのは、ヘアラインパターンを変形した結果、隣接するヘアラインの間に大きな空隙領域が発生したり、あるいは隣接するヘアラインが互いに接触するようになる可能性があるからである。そして、この調整処理が終了するとヘアラインパターン作成処理は終了となり、艶消し効果を有するヘアラインパターンが得られる。
【0043】
このようにして、2値画像であるヘアラインパターンが作成されるが、この後、作成したヘアラインパターンに基づいてエンボス版を作成し、そのエンボス版を用いて、化粧シートに直接エンボス加工を施したり、あるいは透明なシートにエンボス加工を施して化粧シートに貼り付けることによって、照り、及び照りの移動を表現できる化粧シートを得ることができる。
【0044】
【発明が解決しようとする課題】
しかしながら、従来においては上述したように、繊維潜り角の2次元スカラ場から直接2値のビットマップのヘアラインパターンを作成していたので、ヘアラインを修正する場合にはその処理が非常に面倒であった。
【0045】
即ち、例えば、ヘアラインパターンにおいてはヘアラインの密度は場所によらず一様であることが望ましいが、繊維潜り角の2次元スカラ場から作成したヘアラインパターンでは必ずしもヘアラインの密度は一様ではなく、密度が高い箇所、低い箇所があるのが実際であり、このようなヘアラインパターンに対してはヘアラインを削除する等の修正が必要となる。
【0046】
また、例えば、作成したヘアラインパターンに基づいてエンボス版を作成し、そのエンボス版を用いて化粧シートにエンボス加工を施したときに、当該化粧シートで発現される照り、あるいは照りの移動がデザイナが意図したものと異なっている場合がある。このような場合には、ヘアラインの揺らぎ、あるいは形状、または太さ、角度等を修正する必要が生じる。
【0047】
更に、例えば作成したヘアラインパターンは、それ単独で用いられる場合もあるが、図20に示すように、ヘアラインパターンH1 とヘアラインパターンH2 とをヘアラインの長さ方向(図のy方向)に隙間なく繋ぎ合わせて使用する場合がある。なお、図20において、二つのヘアラインパターンH1 ,H2 は同じヘアラインパターンでもよく、異なるヘアラインパターンでもよい。このような場合、図の矢印で示す繋ぎ合わせ位置ではヘアラインは連続していなければならない。なぜなら、繋ぎ合わせ位置でヘアラインが連続していない場合には、繋ぎ合わせ位置の部分が目立ってしまうからである。従って、この場合にも繋ぎ合わせ位置においてヘアラインの修正が必要となる場合がある。
【0048】
このように、作成したヘアラインパターンにおいてはヘアラインの修正が必要となる場合があるのであるが、従来においては繊維潜り角の2次元スカラ場から直接2値のビットマップのヘアラインパターンを作成していたので、ヘアラインの修正はビットマップデータ上で各画素毎に行わなければならず、非常に煩わしく、時間がかかるものであった。
【0049】
そこで、本発明は、ヘアラインの修正を容易に行うことができるヘアラインデータの作成方法及び装置を提供することを目的とするものである。
【0050】
【課題を解決するための手段】
上記の目的を達成するために、本発明のヘアラインデータの作成方法は、繊維潜り角の2次元スカラ場等のヘアラインパターンを作成可能な2次元スカラ場を入力する第1の工程と、2次元平面を設定して、その2次元平面内に疑似ヘアラインの開始点を所望の個数設定すると共に、前記入力した2次元スカラ場のある位置における繊維潜り角から、その位置における方向ベクトルを算出するための関数、ヘアラインのヘアライン長、及び疑似ヘアラインを描画するときの描画ステップとを設定する第2の工程と、前記設定した開始点から生成する各疑似ヘアラインについて、開始点を第1制御点の座標値とし、第n番目の制御点の座標値を、第(n−1)番目の制御点の座標値と、前記疑似ヘアラインの描画ステップ及び前記関数に基づいて求める処理を、描画した当該疑似ヘアラインの長さが前記設定したヘアライン長より長くなるまで繰り返して、各疑似ヘアラインについての全ての制御点の座標値を求める第3の工程と、前記第3の工程で求めた全ての疑似ヘアラインについての全ての制御点の座標値をそのまま、あるいは適宜な間隔で間引いてヘアラインデータとして登録する第4の工程とを備えることを特徴とする。
【0051】
また、本発明に係るヘアラインデータの作成装置は、繊維潜り角の2次元スカラ場等のヘアラインパターンを作成可能な2次元スカラ場を入力する2次元スカラ場入力手段と、2次元平面内に設定された所望の個数の疑似ヘアラインの開始点、及び前記入力された2次元スカラ場のある位置における繊維潜り角から、その位置における方向ベクトルを算出するための関数、ヘアラインのヘアライン長、疑似ヘアラインを描画するときの描画ステップとが設定されて、前記設定された開始点から生成する各疑似ヘアラインについて、開始点を第1制御点の座標値とし、第n番目の制御点の座標値を、第(n−1)番目の制御点の座標値と、前記疑似ヘアラインの描画ステップ及び前記関数に基づいて求める処理を、描画した当該疑似ヘアラインの長さが前記設定したヘアライン長より長くなるまで繰り返して、各疑似ヘアラインについての全ての制御点の座標値を求める疑似ヘアライン生成手段と、前記疑似ヘアライン生成手段で求めた全ての疑似ヘアラインについての全ての制御点の座標値をそのまま、あるいは適宜な間隔で間引いてヘアラインデータとして登録する登録手段とを備えることを特徴とする。
【0052】
【発明の実施の形態】
以下、図面を参照しつつ実施の形態について説明する。
まず、本発明に係るヘアラインデータの作成方法について説明する。図1はヘアラインデータ作成方法における処理の工程の一実施形態を示すフローチャートである。
【0053】
まず、2次元スカラ場を入力する(ステップS1)。ここでは繊維潜り角の2次元スカラ場を入力するものとするが、最終的にヘアラインパターンを作成することのできる2次元スカラ場であればどのようなものでもよい。なお、繊維潜り角の2次元スカラ場は、上述した特願平10−104831号で提案した方法によって作成したものであってもよく、その他の方法で作成したものであってもよい。
【0054】
次に、疑似ヘアラインを生成する(ステップS2)。このためには、まず所望の大きさの2次元平面を設定し、その2次元平面内に疑似ヘアラインの開始点を所望の個数設定する。なお、当該2次元平面の横軸をx軸、縦軸をy軸とし、疑似ヘアラインはy軸方向に生成するものとする。
【0055】
ここで、疑似ヘアラインの開始点の位置は、乱数を発生させてランダムに設定してもよく、あるいは縦横にそれぞれ所望の間隔で格子状に設定してもよい。なお、ここで「疑似ヘアラインの生成」と称しているのは、従来のようにここで生成したヘアラインをそのまま2値のビットマップのパターンとして用いるのではなく、ここで行うのは、後に実際に2値のビットマップのヘアラインパターンを作成する場合に、各ヘアラインを作成するために用いる制御点の座標値を求める処理であるからである。
【0056】
さて、疑似ヘアラインの生成の処理の例を図2に示す。図2に示すフローチャートは、一つの疑似ヘアラインを生成するための処理であり、従って、図2に示す処理を全ての疑似ヘアラインの開始点に対して実行することによって、全ての疑似ヘアラインが生成されることになる。
【0057】
まず、ステップS11のパラメータ設定において、先に設定した疑似ヘアラインの開始点の中から一つの開始点を抽出する。ここでは当該疑似ヘアラインの開始点は(sx ,sy )であるとする。また、繊維潜り角の2次元スカラ場のある位置における繊維潜り角ξから、その位置における方向ベクトルを算出するための関数F(ξ)を定義する。この関数F(ξ)は適宜な関数でよい。更に、当該疑似ヘアラインのy軸方向のヘアライン長Lと、疑似ヘアラインを生成する場合の描画ステップ△dを設定する。
【0058】
次に、ステップS12において初期値を定める。まず当該疑似ヘアラインの第1制御点P0(x0,y0) を定めるが、第1制御点は当該疑似ヘアラインの開始点に他ならないから、x0=sx,y0=syである。次に制御点数nと、当該疑似ヘアラインの描画長dを定めるが、この第1制御点においてはn=1であり、d=0である。
【0059】
次に、ステップS13の処理を、d>Lを満足するまで繰り返す。ステップS13の処理は、第n制御点の座標値を求めるための処理であり、第(n−1)制御点の位置(xn-1,yn-1)に対応する繊維潜り角の2次元スカラ場の位置における繊維潜り角をξとしたとき、例えば
n =xn-1+△d×F(ξ)
n =yn-1+△d
で演算すればよい。そして、制御点数nをインクリメントして(n+1)とし、同様に当該疑似ヘアラインの描画長dを(d+△d)にインクリメントする。そして、このステップS13の処理を、ステップS14のd>Lを満足するまで繰り返す。なお、ステップS13の処理によれば、△dの値によっては生成される疑似ヘアラインのヘアライン長dは、ステップS11で設定されたLの値より小さくなる場合があるが、その差は小さなものであるので問題はないものである。
【0060】
そして、ステップS14の判断処理によってyesと判断された場合には、ステップS12で定めた第1制御点の座標値、及びステップS13で求められた第2制御点〜第n制御点の座標値を出力する(ステップS15)。なお、ステップS11で設定する疑似ヘアラインのヘアライン長L、及び描画ステップ△dの値は、全ての疑似ヘアラインについて同じでもよく、疑似ヘアライン毎に適宜な値を設定してもよいものである。
【0061】
以上が、図1のステップS2の疑似ヘアライン生成の処理であり、これによって、2次元平面上に設定された全ての開始点から疑似ヘアラインが生成され、それらの疑似ヘアラインについての制御点の座標値が出力されることになる。
【0062】
ステップS2の次に、ステップS3の処理において、データ削減を行う。ただし、このステップS3の処理は必要不可欠の処理ではなく、ステップS2で出力された各疑似ヘアラインの制御点の座標値をそのまま登録してもよいものであるが、ここでは、よりデータ量を削減するものとしている。
【0063】
このデータ削減の処理は、ステップS2で出力された各疑似ヘアラインについて制御点数を適宜な間隔で間引くことで行う。実際には、一つの疑似ヘアラインについて、最終的に10点程度の制御点を残せばよい。
【0064】
データ削減を行った後に、各疑似ヘアラインについて、残された制御点の座標値を登録する(ステップS4)。これで全ての処理が終了となる。
【0065】
このように、このヘアラインデータの作成方法によれば、繊維潜り角の2次元スカラ場から直接、2値のビットマップのヘアラインパターンを作成するのではなく、一旦所望の個数の疑似ヘアラインを生成し、それらの各疑似ヘアラインの制御点の座標値をヘアラインデータとして持つのである。つまり、ヘアラインデータをベクタ形式で持つことになるので、従来のような2値のビットマップのヘアラインパターンの場合に比較して、その扱いは容易となる。
【0066】
以上、ヘアラインデータの作成方法の実施形態について説明したが、以下、上述の処理によって作成したヘアラインデータからどのようにして2値のビットマップのヘアラインパターンを作成するかについて図3を参照して説明する。
【0067】
図3に示す処理においては、各ヘアラインに対して、回転角度、揺らぎ、線幅のパラメータを所望のように設定する(ステップS16)と共に、上述した処理によって得られたヘアラインデータ、即ち一つ一つのヘアラインのデータがベクタ形式となされたヘアラインデータを一つ読み出す(ステップS17)。なお、揺らぎとしては図10のステップS28について説明したように、1次元フラクタル場を生成すればよい。
【0068】
そして、ステップS18のヘアラインパターン作成の処理においては、ステップS17で読み出されたベクタ形式のヘアラインデータと、当該ヘアラインに対してステップS16で設定された回転角度、揺らぎ、線幅のパラメータを取り込み、取り込んだヘアラインデータの制御点の座標値に基づいてスプライン曲線を発生させてヘアラインを描画し、その描画した曲線に対して、設定された回転角度のパラメータに基づいて回転処理を施し、揺らぎのパラメータに基づいて揺らぎを持たせ、更に当該曲線に設定された線幅を付す。なお、曲線に揺らぎを持たせるためには、例えば図10のステップS29の処理と同様の処理を行えばよい。また、ヘアラインデータの制御点の座標値からヘアラインの曲線を描画するためには、スプライン曲線の他にも適宜な関数を用いることが可能であることは当業者に明らかである。
【0069】
以上の処理を全てのヘアラインのデータについて行うことによって、2値のビットマップのヘアラインパターンが得られるので、この後は、従来と同様に、当該ヘアラインパターンに基づいてエンボス版を作成し、そのエンボス版によって所望のシートにエンボス加工を施せばよい。なお、図3のステップS16の初期設定において設定するパラメータとしては、回転角度、揺らぎ、線幅の他にも適宜なパラメータを設定することが可能である。
【0070】
以上の説明から明らかなように、このヘアラインデータの作成方法によれば、ヘアラインデータは、スプライン曲線等によってヘアラインを描画可能な制御点の座標値というベクタ形式となされているので、ヘアラインデータのデータ量を従来のようにビットマップ形式とする場合に比較して、そのデータ量を減少させることができ、また、ヘアラインデータに基づいて2値のビットマップのヘアラインパターンを作成した後に何等かの修正を施したい場合には、ヘアラインを描画する場合に用いる、回転角度、揺らぎ、線幅などのパラメータを変更するだけでよく、従来のようにヘアラインパターンの修正をビットマップデータ上で各画素毎に行う場合に比較して、大幅に容易になり、オペレータの作業負担を大幅に軽減することができる。
【0071】
以上、本発明に係るヘアラインデータの作成方法の実施形態、及びそのヘアラインデータの作成方法で作成したヘアラインデータの使用形態について説明したが、次に、本発明に係るヘアラインデータの作成装置の実施形態について説明する。
【0072】
この装置は、図4に示すように、2次元スカラ場入力手段1、疑似ヘアライン生成手段2、データ削減手段3、登録手段4を備えている。2次元スカラ場入力手段1は、図1のステップS1の処理を行うものであり、例えば適宜な方法によって作成された繊維潜り角の2次元スカラ場を入力するためのものである。疑似ヘアライン生成手段2は図1のステップS2の処理を行うものであり、データ削減手段3は図1のステップS3の処理を行うものであり、登録手段4は図1のステップS4の処理を行うものである。なお、上述したところから明らかなように、データ削減手段3は省略可能である。
【0073】
これらの2次元スカラ場入力手段1、疑似ヘアライン生成手段2、データ削減手段3、登録手段4の各構成要素は、いずれもコンピュータを利用して構築される構成要素であり、最終的に、このコンピュータによって、ヘアラインデータが登録されることになる。
【0074】
以上、本発明の一実施形態について説明したが、本発明は上記実施形態に限定されるものではなく種々の変形が可能である。
【図面の簡単な説明】
【図1】 本発明に係るヘアラインデータの作成方法の一実施形態の処理を示すフローチャートである。
【図2】 図1のステップS2の詳細な処理を示すフローチャートである。
【図3】 図1に示す処理により作成したヘアラインデータの使用形態の例を説明するためのフローチャートである。
【図4】 本発明に係るヘアラインデータの作成装置の一実施形態を示す図である。
【図5】 木質感エンボスシートの表面に形成された万線条溝Gの構造を示す斜視図である。
【図6】 一般的な材木板における繊維方向ベクトルF→と光線方向ベクトルL→との関係を示す側断面図である。
【図7】 一般的な材木板におけるベクトル交錯角φ(繊維潜り角ξ)と鏡面反射光強度Wとの関係を示すグラフである。
【図8】 本出願人が特願平10−104831号で提案した、天然木材から繊維潜り角の2次元スカラ場を生成する方法を説明するための図である。
【図9】 本出願人が特願平10−104831号で提案した、天然木材から繊維潜り角の2次元スカラ場を生成する方法を説明するための図である。
【図10】 ヘアラインパターン形成の詳細な処理手順を示すフローチャートである。
【図11】 図10のステップS22で、第1行目に定義された代表画素を示す図である。
【図12】 図10のステップS22で、第1行目に定義された画素帯を示す図である。
【図13】 図10のステップS24で、第1行目の代表画素に基づいて、第2行目に定義された代表画素を示す図である。
【図14】 図10の流れ図におけるステップS24で、第1行目の代表画素に基づいて、第2行目に定義された画素帯を示す図である。
【図15】 図10の流れ図に示す手順により生成されたヘアラインを示す図である。
【図16】 図10のステップS25の調整処理により、新たなヘアラインM3が発生した状態を示す図である。
【図17】 図10のステップS25の調整処理により、ヘアラインM2が終端した状態を示す図である。
【図18】 図10のステップS29のヘアラインパターンの変形の処理を説明するための図である。
【図19】 図10のステップS29のヘアラインパターンの変形の処理によって代表画素及び画素帯が移動されて変形された場合の例を示す図である。
【図20】 発明が解決しようとする課題を説明するための図である。
【符号の説明】
1…2次元スカラ場入力手段
2…疑似ヘアライン生成手段
3…データ削減手段
4…登録手段
[0001]
[Industrial application fields]
The present invention relates to a method and apparatus for creating hairline data for embossing a decorative sheet having a wood grain pattern for embossing so as to express a glossy pattern called “shine” from the dive angle of the wood fiber.
[0002]
[Prior art]
In the decorative sheet used for surface decoration of building materials such as wallpaper and flooring and furniture surface decoration, a number of hairline patterns are directly embossed on the decorative sheet to express a glossy pattern called shine. It is widely practiced to create an embossed sheet by embossing a hairline pattern on a transparent sheet, and then sticking the embossed sheet to a decorative sheet printed with a pattern such as a grain pattern. .
[0003]
In this way, the principle that shine can be expressed by embossing the hairline pattern is as follows.
FIG. 5 is a perspective view of a sheet E on which a hairline pattern is embossed to form a line groove G. In this example, a large number of line grooves G having a width W1 are formed at intervals of W2. . With respect to the total thickness D1 of the sheet E, the line groove G forms a groove with a depth D2, and a large number of line grooves G are arranged substantially in parallel. Such a pattern composed of the multi-row grooves G has a two-step step structure of a concave portion having a width W1 and a convex portion having a width W2.
[0004]
It is known that the intensity of the reflected light obtained from the surface of the sheet E on which such a linear groove G is formed varies depending on the position. That is, anisotropic reflection is performed. When the line of sight of such a sheet E is continuously changed, a portion that strongly reflects, that is, a portion that has high brightness and shines brightly changes. This is called shimmering movement.
[0005]
Now, as the hairline pattern expressing the shine and movement of shine as described above, it is desirable to be able to express the natural shine and movement of shine that natural wood appears when embossing is performed. It is natural. Therefore, considering the principle that natural wood develops shine and movement of shine, it is known that this is due to the fiber dive angle on the wood surface. The outline is as follows.
[0006]
FIG. 6 is a diagram for explaining the relationship between the fiber orientation on the surface of the timber board and the specular reflectance. Now, on the surface (cut plane J) of the timber board 100, the fiber direction vector F → (the vector symbol “→” originally added to the upper part of the code is added to the right side of the code due to restrictions of the electronic application). It is assumed that the fibers F are arranged with the orientation shown as follows. At this time, an angle ξ formed by the cut surface J and the fiber F is called a fiber dive angle.
[0007]
Then, assuming a virtual light source 200 (surface light source) above the timber board 100, a light beam perpendicular to the surface (cut plane J) of the timber board 100 is irradiated from the virtual light source 200, and diffuse reflection from this surface. Consider observing light and specularly reflected light. In this case, the intensity of the diffuse reflected light to be observed depends on the color component of the wood grain pattern on the surface of the timber board 100, and the image by the diffuse reflected light is recognized as a so-called colored pattern. On the other hand, the intensity W (glossiness) of the specular reflection light observed depends on the fiber dive angle ξ, and usually has a relationship as shown in the graph of FIG. More precisely, the specular reflection light intensity in each part is determined by both the light irradiation direction and the fiber dive angle ξ. That is, as shown in FIG. 6, if the ray direction vector L → and the fiber direction vector F → are defined at the point P on the cutting plane J as shown in the figure, the mirror surface at the point P is determined by the intersection angle φ of both vectors. The reflected light intensity is determined. In the case of a model in which the light direction vector L → is perpendicular to the cutting plane J as in the above example, the vector crossing angle φ = 90 ° −ξ, and φ = 90 ° as shown in the graph of FIG. In this case, the specular reflection light intensity is the highest, and is the lowest when φ = 0 °.
[0008]
The reason why the shimmer pattern is seen on the surface of the timber board cut out from the actual natural wood is that a different fiber dive angle ξ is obtained for each part on the cut surface, and a different fiber dive angle ξ is obtained for each part. Based on this, a shimmering pattern will appear. From the above, for example, when the virtual light source 200 is moved without changing the observation position in FIG. 6 or when the observation position is changed with the position of the virtual light source 200 fixed, the illumination of the timber board 100 is performed. It will be apparent that the position at which is expressed will change. This is the movement of shimmer.
[0009]
Therefore, in recent years, a two-dimensional distribution of fiber dive angles, that is, a two-dimensional scalar field is obtained, a hairline pattern is created based on the obtained two-dimensional scalar field of the fiber dive angle, and embossing is performed using the hairline pattern. Things have been done.
[0010]
Here, as a method for obtaining the two-dimensional scalar field of the fiber diving angle, for example, a fiber bundle model having an appropriate grain structure, that is, a fiber bundle model having an appropriate orientation is assumed, and the model is set in a desired direction. A method of calculating the fiber divergence angle appearing on the cut surface when the wire is cut may be used, or the method previously proposed by the present applicant in Japanese Patent Application No. 10-104831 may be used. The method proposed in Japanese Patent Application No. 10-104831 will be described as follows.
[0011]
In this method, natural wood 101, a light source 102, a camera 103, and a processing device 104 are used as shown in FIG. The wood 101 is an object for measuring the fiber dive angle and may be any natural wood. This wood 101 is fixedly arranged. A camera 103 is arranged facing the wood 101. This camera 103 is also fixedly arranged. The camera 103 may be any camera that can capture images such as a plate-making camera, a TV camera, or a digital still camera. Here, a digital still camera is used to facilitate understanding. Then, an xyz orthogonal coordinate system as shown in the figure is determined.
[0012]
The light source 102 preferably emits parallel rays as much as possible. The color of the light beam may be white light. The light source 102 can be moved by an appropriate means (not shown) while keeping the distance from the origin of the coordinate system equal in the yz plane of the figure. A light beam is emitted toward the origin of the coordinate system. That is, the angle at which the light source 102 illuminates the wood 101 is variable.
[0013]
In such a configuration, first, the light source 102 is moved at an angle θ. 1 The wood 101 is photographed by the camera 103 at the position. Digital data of an image taken by the camera 103 is taken into the processing device 104. When a plate making film is used as the camera 103, the photographed film may be developed, input by a scanner, digitized, and passed to the processing device 104. When a TV camera is used, the camera 103 is used. The image signal may be digitized and passed to the processing device 104.
[0014]
As will be apparent from the description below, the processing device 104 uses only luminance data to measure the fiber dive angle. For example, the camera 103 generates image data of three colors R, G, and B. In the case of output, the processing device 104 may capture only G image data, or generate data representing luminance from R, G, and B, and use only the luminance data. It may be.
[0015]
Then, the processing device 104 converts the image data into an angle θ 1 Is registered as image data. As a result, the light source 102 has an angle θ 1 The image data when placed at the position of is taken in by the processing device 104. Next, the angle of the light source 102 is moved by Δθ, and the wood 101 is photographed by the camera 103, and the image at that time Data is passed to the processing unit 104. Similarly, the operation of photographing the wood 101 while moving the angle of the light source 102 by Δθ and transferring the image data at that time to the processing device 104 is repeated a predetermined number of times.
[0016]
Here, the angle range in which the light source 102 is moved around the z-axis in FIG. 8 and the number of Δθs can be arbitrarily determined. Since ξ is generally about ± 10 °, the angle range for moving the light source 102 may be about ± 30 ° about the z-axis in FIG. Further, Δθ can be measured with high accuracy if the value of Δθ is reduced, but the measurement time becomes longer, so it may be determined in consideration of measurement accuracy, measurement time, and the like.
[0017]
Now, let the light source 102 be θ 1 Θ from the angular position of N Assuming that the wood 101 is photographed N times by moving N steps to an angular position (N is a natural number), the processing device 104 captures luminance data of N images, and the light source 102 of the light source 102 when each image is photographed. It will be registered in correspondence with the angle.
[0018]
Then, the processing device 104 pays attention to a pixel at a certain position, examines the luminance value at the pixel position of these N images, obtains the angular position of the light source 102 when the image has the maximum luminance value, and determines the light source. The half of the angle 102 is defined as the fiber dive angle ξ at the pixel position, and the fiber dive angle ξ is registered at the pixel position.
[0019]
For example, when attention is paid to a certain pixel position, the angle of the light source 102 is θ i When the luminance value of the image captured when (i = 1,..., N) is the maximum, the processing device 104 determines that the fiber latent angle ξ at the pixel position is θ i / 2 and register.
[0020]
The validity of determining the fiber dive angle ξ in this way is clear. That is, for example, the maximum luminance at the position indicated by A in FIG. 9 is shown in FIG. 9 in terms of the fiber dive angle ξ of the fiber A, the angle of illumination from the light source 102, and the direction taken by the camera 103. It is obvious that the fiber dive angle ξ of the fiber A at the position A is θ including the sign of the angle. In FIG. 9, B is a perpendicular to the fiber A at the position A.
[0021]
Then, the processing device 104 performs the above processing for all pixel positions. As a result, the fiber dive angle ξ can be obtained for all pixel positions of the image photographed by the camera 103, and a two-dimensional scalar field in which the fiber dive angle is registered for each pixel position can be generated. . And according to such a fiber dive angle measuring method, it becomes possible to measure the fiber dive angle in each position of the natural wood directly from natural wood.
[0022]
As described above, there are various methods for obtaining the two-dimensional scalar field of the fiber diving angle. Conventionally, after obtaining the two-dimensional scalar field of the fiber diving angle, any method can be obtained. The hairline pattern for embossing was directly created based on the two-dimensional scalar field of the fiber dive angle.
[0023]
There are various methods for creating a hairline pattern based on the two-dimensional scalar field of the fiber dive angle. An example of the method will be schematically described with reference to the flowchart of FIG.
[0024]
First, in step S21, the size of the created image for drawing the hairline pattern is set, and the pixel values of all the pixels of the created image are set to 0. Here, the width is w (hereinafter referred to as x direction) and the height is h (hereinafter referred to as y direction). This size may be the same size as the two-dimensional scalar field of the fiber dive angle, but may be a different size. However, since the position of the two-dimensional scalar field of the fiber diving angle and the position of the created image need to correspond one-to-one, if the sizes of the two are different, the sizes of both are normalized. What is necessary is just to take the one-to-one correspondence of both position. In the following, it is assumed that there is a one-to-one correspondence between the position of the two-dimensional scalar field of the fiber dive angle and the position of the created image.
[0025]
As described above, since the fiber submerged angle at each position is defined for each point of the two-dimensional scalar field of the fiber submerged angle, for the pixel P (i, j) at an arbitrary position of the created image, The fiber dive angle defined at the position (i, j) of the two-dimensional scalar field of the fiber dive angle can be associated.
[0026]
In the next step S22, the position of the representative pixel for creating the hairline pattern is defined in the first row of the pixel array of the created image, and a group of pixels arranged continuously in the vicinity of each representative pixel. A process for defining each pixel band consisting of is performed. At this time, pixel value 1 is written to the representative pixel and the pixels in the pixel band. It is arbitrary how many representative pixels are defined in the first row and in what arrangement, but a plurality of representative pixels may be defined at predetermined intervals.
[0027]
An example is shown in FIG. FIG. 11 shows a state in which representative pixels R11 and R12 are defined from a large number of pixels arranged in the first row of the created image. In the example of this figure, the pixel P (1,7) in the seventh column is defined as the first representative pixel R11, and hereinafter, the pixel P (1,17) and the pixel P (1,27) appearing at a pitch of 10 pixels. , Pixels P (1, 37),... Are defined as representative pixels R12, R13, R14,. A pixel band is defined in the vicinity of each representative pixel. For example, FIG. 12 shows a state in which pixel bands H11, H12,..., Each including five pixels including two pixels adjacent to the left and right of each representative pixel are defined. In this example, the pixel band is always set to be composed of a pixel group consisting of all five pixels centered on the representative pixel. Here, the pixels constituting the pixel band are shown with hatching inside, and particularly, the representative pixels are shown with a black circle at the center.
[0028]
In the next step S23, the parameter y indicating the number of rows in the pixel array of the created image is set to the initial value 1, and thereafter, the processing in steps S24 and S25 is repeatedly executed. That is, in step S26, the parameter y is updated by 1 in step S27 until the parameter y = n-1 (where n is the total number of rows) is determined, and the processes in steps S24 and S25 are repeated. .
[0029]
In step S24, for each representative pixel in the y-th row, the (y + 1) -th row pixel located in the direction indicated by the fiber latent angle defined at the point in each representative pixel is obtained, and these obtained pixels are obtained. Is defined as a representative pixel in the (y + 1) th row, and a process of defining a pixel band composed of a group of continuously arranged pixels in the vicinity of the representative pixel in the (y + 1) th row is executed. For example, when y = 1, as shown in FIG. 13, the representative pixels R21, R22,... Of the second row are determined based on the representative pixels R11, R12,. As shown, the pixel bands H21, H22,... Of the second row are defined based on the representative pixels R21, R22 of the second row. As shown in FIG. 13, the second row representative pixels R21 and R22 are defined by the fiber dive angle ξ defined for the first row representative pixels R11 and R12. 11 , Ξ 12 To be determined. Specifically, among the pixels in the second row, the fiber dive angle ξ 11 The pixel having the center point closest to the direction vector determined based on is selected as the representative pixel R21, and similarly, the fiber dive angle ξ 12 The pixel having the center point closest to the direction vector determined based on is selected as the representative pixel R22. Further, in this example, the pixel bands H21 and H22 in the second row are defined as pixel bands including a total of five pixels including two pixels adjacent to the left and right of the representative pixels R21 and R22. At this time, the pixel value 1 is written to the defined representative pixel and pixels in the pixel band.
[0030]
As described above, when the representative pixel and the pixel band in the second row are defined in step S24, the adjustment process is performed in subsequent step S25. This adjustment process will be described later. Subsequently, after steps S26 and S27, y = 2 is updated, and the process of step S24 is executed again. This time, the representative pixels R31, R32,... In the third row are determined based on the fiber dive angles defined in the representative pixels R21, R22,. Based on this, pixel bands H31, H32,... In the third row are defined. If the above processing is repeated until y = n−1, for example, hairlines M1, M2,... As shown in FIG. . Eventually, the above-described repetition process is a process of extending individual hairlines downward in the figure. The characteristic of the hairline thus obtained is that it has a flow along the fiber dive angle defined for each pixel. If the representative pixel in the (i + 1) -th row cannot be determined based on the representative pixel in the i-th row, neither the representative pixel nor the pixel band is defined in the (i + 1) -th row, and the i-th row The end of the hairline is defined by the pixel band.
[0031]
Next, the adjustment process shown as step S25 in FIG. 10 will be described. The first purpose of this adjustment process is to generate a new hairline. For example, assume that when the two hairlines M1 and M2 are gradually extended downward in the figure as in the example shown in FIG. 16, the distance between the two hairlines M1 and M2 gradually increases. In such a case, leaving it as it is is not preferable because a large void region is generated between the hairlines M1 and M2. Therefore, as shown in the drawing, it is preferable to perform an adjustment process for generating a new hairline M3 between the two hairlines M1 and M2. The second purpose of the adjustment process in step S25 is to terminate a hairline sandwiched between a pair of hairlines that approach each other. For example, when the three hairlines M1, M2, and M3 are gradually extended downward in the figure as in the example shown in FIG. 17, the interval between the two hairlines M1 and M3 is gradually reduced. . In such a case, if it is left as it is, the three hairlines M1, M2 and M3 come into contact with each other, which is not preferable. Therefore, as shown in the figure, adjustment processing for terminating the central hairline M2 is performed.
[0032]
Specifically, in step S25, the following check is performed on the pixel band in the (i + 1) th row generated in step S24, and adjustment processing may be performed as necessary. First, it is checked whether or not there is a pair of pixel bands that are separated from each other by a predetermined reference or more. If such a pixel band exists, a new representative pixel is defined between the pair of pixel bands, and an adjustment process for generating a new pixel band based on the new representative pixel is performed. In the example shown in FIG. 16, the predetermined reference is d1, and d1 = 11 pixels is set. In the 12th row where the distance between the pair of pixel bands M1 and M2 is equal to or greater than d1, a new representative pixel is set. RR and a new pixel band including the RR are generated, and a new hairline M3 is generated. It is also checked whether there is a pixel band in which the distance between the pixel band adjacent to the left side of the self and the pixel band adjacent to the right side of the self is close to a predetermined reference or less. If such a pixel band exists, an adjustment process for eliminating the pixel band and its representative pixel is performed. In the example shown in FIG. 17, the predetermined reference is d2, and d2 = 10 pixels is set. The pixel band M1 adjacent to the left side of the pixel band M2 and the pixel band M3 adjacent to the right side of the pixel band M2 In the 11th row in which the interval is d2 or less, the pixel band and its representative pixel RR are extinguished.
[0033]
Next, a one-dimensional scalar field is generated (step S28). The one-dimensional scalar field is for deforming the shape of each hairline created by the processing up to step S27 in the next step S29. The shape of each hairline is deformed for the following reason.
[0034]
Based on the binary hairline pattern created by the processing up to step S27, it is natural that irregularities can be formed on the cylinder for the embossing plate by, for example, a general direct etching method. When embossing is performed on a transparent sheet with the embossed plate to create an embossed sheet, or when embossing is directly applied to a decorative sheet printed with a wood grain pattern, the shimmering of the wood is more realistic than before Although it can be expressed, it was difficult to obtain a gentle wood texture of natural grain because the shine was too sharp and glaring.
[0035]
The cause of this is that the direction vectors of the hairline created by the above-described processing are neatly aligned, and therefore, if the direction vector of the hairline pattern is made to fluctuate by slightly modifying each hairline pattern, Therefore, a hairline pattern that can alleviate the sharpness of shine and express the gentle wood texture of natural grain is obtained. That is, matting is performed by deforming the hairline pattern.
[0036]
For this purpose, a one-dimensional scalar field is used, and this one-dimensional scalar field is deformed by acting on each hairline pattern. Any one can be used as the one-dimensional scalar field, but it is for deforming the hairline pattern, and it is desirable that the deformation has a natural fluctuation. It is better to use a place. In order to generate a one-dimensional fractal field, for example, a midpoint displacement method may be used.
[0037]
The size of this one-dimensional scalar field can be set arbitrarily. Further, any value range may be used, but here it is assumed that the range is normalized to the range [-1, 1] for easy understanding.
[0038]
After preparing the one-dimensional scalar field in this way, the one-dimensional scalar field is then deformed by acting on each hairline pattern (step S29). First, one hairline pattern M in the created hairline pattern i As shown in FIG. 18, the position of the hairline pattern in the y direction and the position of the one-dimensional scalar field are made to correspond one-to-one. For this purpose, the lengths of both may be normalized. And now this hairline M i If the position indicated by p corresponds to the position indicated by q in the one-dimensional scalar field, and the scalar value at this position is H (q), for example, the representative pixel at the position p of the hairline pattern and The position of the pixel band is moved by [k · H (q)]. Here, [k · H (q)] takes a maximum integer value not exceeding k · H (q). As for the moving direction, if k · H (q) is a positive value, it is moved in the right direction in the figure, that is, in the direction in which the x coordinate value increases, and if it is negative, the left direction in the figure, that is, the x coordinate What is necessary is just to make it move to the direction where a value becomes small. Also, k is a coefficient, and an appropriate value can be used. However, when the range of the one-dimensional scalar field is normalized to the range [-1, 1] as in this case, k is Since the maximum width of the movement amount of the representative pixel and the pixel band, that is, the size of the deformation is determined, a relatively small value is desirable. This is because if the value of k is increased, the hairline pattern is greatly deformed, and such a hairline pattern may not be able to express the gentle wood texture of natural grain. As described above, since the hairline pattern only needs to be slightly fluctuated in the direction vector, the value of k may be a relatively small value.
[0039]
FIG. 19 is a diagram showing an example of the deformation of the hairline pattern, and the hairline pattern M i The representative pixel and the pixel band at the position of p are as shown by the oblique lines in FIG. 19A, [k · H (q)] = 3, and k · H (q) is a positive value. Then, the representative pixel and the pixel band are moved by 3 pixels in the right direction of the drawing as shown in FIG.
[0040]
The above processing is performed on the hairline pattern M i For all positions of the hairline pattern M i When the deformation process is completed, the other hairline patterns are similarly deformed. In this way, if all the hairline patterns created in the process up to step S27 are deformed, a hairline pattern having a matte effect can be obtained, and a hairline that can express a gentle wood texture with natural grain. A pattern is obtained. The degree of matting can be easily controlled by the one-dimensional scalar field generated in step S28 or the coefficient k.
[0041]
The above-described calculation for deforming the hairline pattern is merely an example, and the calculation for determining the movement amount of the representative pixel and the pixel band is appropriately performed according to the generated one-dimensional scalar field or the like. Of course, it is possible to determine in In the above description, the same coefficient k is used for deformation of all the hairline patterns. However, different coefficients may be used for deformation of each hairline pattern. For this purpose, for example, coefficients corresponding to the number of hairline patterns may be determined in step S29. Alternatively, one-dimensional scalar fields corresponding to the number of hairline patterns are generated in step S29, the hairline patterns and the one-dimensional scalar fields are made to correspond, and the associated one-dimensional scalar field is applied when transforming a certain hairline pattern. It may be.
[0042]
After all the hairline patterns are deformed in this way, the adjustment process is performed again (step S30). This adjustment process is the same as the adjustment process in step S25. The reason why the adjustment process is performed again is that, as a result of the deformation of the hairline pattern, there is a possibility that a large void area is generated between the adjacent hairlines or the adjacent hairlines come into contact with each other. And when this adjustment process is complete | finished, a hairline pattern creation process is complete | finished and the hairline pattern which has a matte effect is obtained.
[0043]
In this way, a hairline pattern that is a binary image is created. After that, an embossed plate is created based on the created hairline pattern, and the embossed plate is used to directly emboss the decorative sheet. Alternatively, by embossing a transparent sheet and attaching it to a decorative sheet, a decorative sheet that can express shine and movement of shine can be obtained.
[0044]
[Problems to be solved by the invention]
However, in the past, as described above, since a binary bitmap hairline pattern was created directly from a two-dimensional scalar field at the fiber dive angle, the processing was very troublesome when the hairline was corrected. It was.
[0045]
That is, for example, in the hairline pattern, it is desirable that the density of the hairline is uniform regardless of the location, but in the hairline pattern created from the two-dimensional scalar field of the fiber submerged angle, the density of the hairline is not necessarily uniform. In fact, there are high and low portions, and such a hairline pattern requires correction such as deleting the hairline.
[0046]
In addition, for example, when an embossed plate is created based on the created hairline pattern, and the embossed sheet is embossed using the embossed plate, the designer expresses the shimmering or shimmering movement that is expressed on the dressing sheet. It may be different from the intended one. In such a case, it is necessary to correct the fluctuation of the hairline or the shape, thickness, angle, or the like.
[0047]
Furthermore, for example, the created hairline pattern may be used alone, but as shown in FIG. 1 And hairline pattern H 2 May be used in a hairline length direction (y direction in the figure) without gaps. In FIG. 20, two hairline patterns H 1 , H 2 May be the same hairline pattern or different hairline patterns. In such a case, the hairline must be continuous at the joining position indicated by the arrow in the figure. This is because when the hairline is not continuous at the joining position, the joining position portion becomes conspicuous. Therefore, in this case, it may be necessary to correct the hairline at the joining position.
[0048]
In this way, in the created hairline pattern, it may be necessary to correct the hairline, but conventionally, a binary bitmap hairline pattern was created directly from the two-dimensional scalar field of the fiber dive angle. Therefore, the correction of the hairline has to be performed for each pixel on the bitmap data, which is very troublesome and time consuming.
[0049]
Therefore, an object of the present invention is to provide a hairline data creation method and apparatus that can easily correct a hairline.
[0050]
[Means for Solving the Problems]
In order to achieve the above object, a method for creating hairline data according to the present invention includes a first step of inputting a two-dimensional scalar field capable of creating a hairline pattern such as a two-dimensional scalar field of a fiber diving angle, and a two-dimensional To set a plane, set a desired number of pseudo hairline starting points in the two-dimensional plane, and calculate a direction vector at that position from the fiber dive angle at the position where the two-dimensional scalar field is input The second step of setting the function, the hairline length of the hairline, and the drawing step when drawing the pseudo hairline, and the coordinates of the first control point for each pseudo hairline generated from the set start point And the coordinate value of the nth control point is based on the coordinate value of the (n−1) th control point, the pseudo hairline drawing step, and the function. A third process of determining the coordinate values of all control points for each pseudo hairline by repeating the process for obtaining until the length of the drawn pseudo hairline is longer than the set hairline length, and the third process And a fourth step of registering the coordinate values of all the control points for all the pseudo hairlines obtained in step 4 as they are or by thinning them out at appropriate intervals.
[0051]
Further, the hairline data creation device according to the present invention includes a two-dimensional scalar field input means for inputting a two-dimensional scalar field capable of creating a hairline pattern such as a two-dimensional scalar field of a fiber diving angle, and is set in a two-dimensional plane. The function for calculating the direction vector at the position, the hairline length of the hairline, and the pseudo hairline from the start point of the desired number of pseudo hairlines and the fiber dive angle at the position where the inputted two-dimensional scalar field is located For each pseudo hairline generated from the set start point, the start point is set as the coordinate value of the first control point, and the coordinate value of the nth control point is set as the first control point. (N-1) Coordinate value of the control point, the drawing step of the pseudo hairline, and the processing to be obtained based on the function It repeats until the length becomes longer than the set hairline length, pseudo hairline generation means for obtaining coordinate values of all control points for each pseudo hairline, and all about all pseudo hairlines obtained by the pseudo hairline generation means And registration means for registering it as hairline data by thinning out the coordinate values of the control points as they are or at appropriate intervals.
[0052]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments will be described with reference to the drawings.
First, a method for creating hairline data according to the present invention will be described. FIG. 1 is a flowchart showing an embodiment of processing steps in a hairline data creation method.
[0053]
First, a two-dimensional scalar field is input (step S1). Here, it is assumed that a two-dimensional scalar field of the fiber dive angle is input, but any two-dimensional scalar field capable of finally creating a hairline pattern may be used. The two-dimensional scalar field of the fiber diving angle may be created by the method proposed in Japanese Patent Application No. 10-104831 described above, or may be created by other methods.
[0054]
Next, a pseudo hairline is generated (step S2). For this purpose, a two-dimensional plane having a desired size is first set, and a desired number of pseudo hairline start points are set in the two-dimensional plane. The horizontal axis of the two-dimensional plane is the x axis, the vertical axis is the y axis, and the pseudo hairline is generated in the y axis direction.
[0055]
Here, the position of the starting point of the pseudo hairline may be set randomly by generating a random number, or may be set in a grid pattern at desired intervals in the vertical and horizontal directions. Note that the term “generate pseudo hairline” here does not mean that the hairline generated here is used as it is as a binary bitmap pattern as in the past. This is because, when creating a binary bitmap hairline pattern, it is a process for obtaining the coordinate values of control points used to create each hairline.
[0056]
Now, an example of a process for generating a pseudo hairline is shown in FIG. The flowchart shown in FIG. 2 is a process for generating one pseudo hairline. Therefore, by executing the process shown in FIG. 2 for the start points of all the pseudo hairlines, all the pseudo hairlines are generated. Will be.
[0057]
First, in the parameter setting in step S11, one start point is extracted from the start points of the previously set pseudo hairline. Here, the starting point of the pseudo hairline is (s x , S y ). Further, a function F (ξ) for calculating a direction vector at a position from the fiber dive angle ξ at a position where the two-dimensional scalar field of the fiber dive angle exists is defined. This function F (ξ) may be an appropriate function. Further, a hairline length L in the y-axis direction of the pseudo hairline and a drawing step Δd when generating the pseudo hairline are set.
[0058]
Next, an initial value is determined in step S12. First, the first control point P of the pseudo hairline 0 (X 0 , Y 0 ), But the first control point is nothing but the starting point of the pseudo hairline. 0 = S x , Y 0 = S y It is. Next, the number n of control points and the drawing length d of the pseudo hairline are determined. At this first control point, n = 1 and d = 0.
[0059]
Next, the process of step S13 is repeated until d> L is satisfied. The process of step S13 is a process for obtaining the coordinate value of the nth control point, and the position of the (n−1) th control point (x n-1 , Y n-1 ) Is the fiber dive angle at the position of the two-dimensional scalar field of the fiber dive angle corresponding to
x n = X n-1 + △ d × F (ξ)
y n = Y n-1 + △ d
You can calculate with Then, the control point number n is incremented to (n + 1), and the drawing length d of the pseudo hairline is similarly incremented to (d + Δd). The process in step S13 is repeated until d> L in step S14 is satisfied. In addition, according to the process of step S13, depending on the value of Δd, the hairline length d of the generated pseudo hairline may be smaller than the value of L set in step S11, but the difference is small. There is no problem because there is.
[0060]
And when it is judged as yes by the judgment process of step S14, the coordinate value of the 1st control point determined in step S12 and the coordinate value of the 2nd control point-nth control point calculated | required by step S13 are obtained. Output (step S15). In addition, the hairline length L of the pseudo hairline set in step S11 and the value of the drawing step Δd may be the same for all the pseudo hairlines, or an appropriate value may be set for each pseudo hairline.
[0061]
The above is the process of generating the pseudo hairline in step S2 of FIG. 1, whereby pseudo hairlines are generated from all the start points set on the two-dimensional plane, and the coordinate values of the control points for these pseudo hairlines Will be output.
[0062]
Following step S2, data reduction is performed in the process of step S3. However, the processing in step S3 is not indispensable, and the coordinate values of the control points of each pseudo hairline output in step S2 may be registered as they are, but here the data amount is further reduced. I am going to do it.
[0063]
This data reduction process is performed by thinning out the number of control points at appropriate intervals for each pseudo hairline output in step S2. Actually, it is only necessary to leave about 10 control points finally for one pseudo hairline.
[0064]
After performing data reduction, the coordinate values of the remaining control points are registered for each pseudo hairline (step S4). This completes all processing.
[0065]
As described above, according to this hairline data creation method, instead of creating a binary bitmap hairline pattern directly from a two-dimensional scalar field of fiber submerged angles, a desired number of pseudo hairlines are once generated. The coordinate values of the control points of each pseudo hairline are stored as hairline data. That is, since the hairline data is stored in the vector format, the handling becomes easier as compared with the case of the conventional binary bitmap hairline pattern.
[0066]
Although the embodiment of the hairline data creation method has been described above, how to create a binary bitmap hairline pattern from the hairline data created by the above-described processing will be described below with reference to FIG. To do.
[0067]
In the process shown in FIG. 3, parameters of the rotation angle, fluctuation, and line width are set as desired for each hairline (step S16), and the hairline data obtained by the above-described process, that is, one by one. One hairline data in which the data of one hairline is converted into a vector format is read out (step S17). As the fluctuation, a one-dimensional fractal field may be generated as described in step S28 in FIG.
[0068]
In the hairline pattern creation process in step S18, the vector-style hairline data read in step S17 and the rotation angle, fluctuation, and line width parameters set in step S16 for the hairline are captured. A spline curve is generated based on the coordinate values of the control points of the imported hairline data, a hairline is drawn, the drawn curve is rotated based on the set rotation angle parameter, and the fluctuation parameter is set. Is given a fluctuation, and the line width set for the curve is given. In order to give fluctuation to the curve, for example, a process similar to the process of step S29 in FIG. 10 may be performed. In addition, it is obvious to those skilled in the art that an appropriate function can be used in addition to the spline curve in order to draw the hairline curve from the coordinate value of the control point of the hairline data.
[0069]
By performing the above processing for all the hairline data, a binary bitmap hairline pattern can be obtained. After that, an embossed plate is created based on the hairline pattern, and the embossed pattern is obtained. The desired sheet may be embossed with a plate. As parameters set in the initial setting in step S16 of FIG. 3, it is possible to set appropriate parameters in addition to the rotation angle, fluctuation, and line width.
[0070]
As is apparent from the above description, according to this hairline data creation method, the hairline data is in the vector format of coordinate values of control points that can draw a hairline by a spline curve or the like. Compared to the conventional bitmap format, the data volume can be reduced, and some correction after creating a binary bitmap hairline pattern based on the hairline data If you want to apply, you only need to change parameters such as rotation angle, fluctuation, line width, etc. used when drawing the hairline, and you can modify the hairline pattern for each pixel on the bitmap data as before. Compared with the case where it is performed, it becomes much easier and the operator's workload can be greatly reduced.
[0071]
As described above, the embodiment of the hairline data creation method according to the present invention and the usage form of the hairline data created by the hairline data creation method have been described. Will be described.
[0072]
As shown in FIG. 4, this apparatus includes a two-dimensional scalar field input unit 1, a pseudo hairline generation unit 2, a data reduction unit 3, and a registration unit 4. The two-dimensional scalar field input means 1 performs the processing of step S1 in FIG. 1, and is for inputting a two-dimensional scalar field of a fiber dive angle created by an appropriate method, for example. The pseudo hairline generation unit 2 performs the process of step S2 in FIG. 1, the data reduction unit 3 performs the process of step S3 in FIG. 1, and the registration unit 4 performs the process of step S4 in FIG. Is. As is apparent from the above description, the data reduction means 3 can be omitted.
[0073]
Each component of these two-dimensional scalar field input means 1, pseudo hairline generation means 2, data reduction means 3, and registration means 4 is a component constructed using a computer. The hairline data is registered by the computer.
[0074]
As mentioned above, although one Embodiment of this invention was described, this invention is not limited to the said embodiment, A various deformation | transformation is possible.
[Brief description of the drawings]
FIG. 1 is a flowchart showing processing of an embodiment of a hairline data creation method according to the present invention.
FIG. 2 is a flowchart showing detailed processing in step S2 of FIG.
FIG. 3 is a flowchart for explaining an example of a usage pattern of hairline data created by the process shown in FIG. 1;
FIG. 4 is a diagram showing an embodiment of a hairline data creation device according to the present invention.
FIG. 5 is a perspective view showing the structure of a line groove G formed on the surface of a wood texture embossed sheet.
FIG. 6 is a side sectional view showing a relationship between a fiber direction vector F → and a light direction vector L → in a general timber board.
FIG. 7 is a graph showing a relationship between a vector crossing angle φ (fiber submerged angle ξ) and specular reflected light intensity W in a general timber board.
FIG. 8 is a diagram for explaining a method of generating a two-dimensional scalar field having a fiber diving angle from natural wood proposed by the present applicant in Japanese Patent Application No. 10-104831;
FIG. 9 is a diagram for explaining a method of generating a two-dimensional scalar field having a fiber diving angle from natural wood proposed by the present applicant in Japanese Patent Application No. 10-104831;
FIG. 10 is a flowchart showing a detailed processing procedure for forming a hairline pattern.
FIG. 11 is a diagram illustrating representative pixels defined in the first row in step S22 of FIG.
FIG. 12 is a diagram showing a pixel band defined in the first row in step S22 of FIG.
FIG. 13 is a diagram showing the representative pixels defined in the second row based on the representative pixels in the first row in step S24 of FIG.
14 is a diagram showing a pixel band defined in the second row based on the representative pixels in the first row in step S24 in the flowchart of FIG.
FIG. 15 is a diagram showing a hairline generated by the procedure shown in the flowchart of FIG. 10;
16 is a diagram showing a state in which a new hairline M3 has been generated by the adjustment process in step S25 of FIG.
FIG. 17 is a diagram illustrating a state in which the hairline M2 is terminated by the adjustment process in step S25 of FIG.
FIG. 18 is a diagram for explaining a hairline pattern deformation process in step S29 of FIG. 10;
FIG. 19 is a diagram illustrating an example when the representative pixel and the pixel band are moved and deformed by the hairline pattern deformation process in step S29 of FIG. 10;
FIG. 20 is a diagram for explaining a problem to be solved by the invention.
[Explanation of symbols]
1 ... 2D scalar field input means
2 ... Pseudo hairline generation means
3. Data reduction means
4. Registration means

Claims (2)

繊維潜り角の2次元スカラ場等のヘアラインパターンを作成可能な2次元スカラ場を入力する第1の工程と、
2次元平面を設定して、その2次元平面内に疑似ヘアラインの開始点を所望の個数設定すると共に、前記入力した2次元スカラ場のある位置における繊維潜り角から、その位置における方向ベクトルを算出するための関数、ヘアラインのヘアライン長、及び疑似ヘアラインを描画するときの描画ステップとを設定する第2の工程と、
前記設定した開始点から生成する各疑似ヘアラインについて、開始点を第1制御点の座標値とし、第n番目の制御点の座標値を、第(n−1)番目の制御点の座標値と、前記疑似ヘアラインの描画ステップ及び前記関数に基づいて求める処理を、描画した当該疑似ヘアラインの長さが前記設定したヘアライン長より長くなるまで繰り返して、各疑似ヘアラインについての全ての制御点の座標値を求める第3の工程と、
前記第3の工程で求めた全ての疑似ヘアラインについての全ての制御点の座標値をそのまま、あるいは適宜な間隔で間引いてヘアラインデータとして登録する第4の工程と
を備えることを特徴とするヘアラインデータの作成方法。
A first step of inputting a two-dimensional scalar field capable of creating a hairline pattern such as a two-dimensional scalar field of a fiber diving angle;
A two-dimensional plane is set, a desired number of pseudo hairline start points are set in the two-dimensional plane, and a direction vector at the position is calculated from the fiber submerged angle at the position where the input two-dimensional scalar field is located. A second step of setting a function for performing, a hairline length of the hairline, and a drawing step when drawing the pseudo hairline;
For each pseudo hairline generated from the set start point, the start point is the coordinate value of the first control point, and the coordinate value of the nth control point is the coordinate value of the (n−1) th control point. The process of determining the pseudo hairline based on the drawing step and the function is repeated until the length of the drawn pseudo hairline becomes longer than the set hairline length, and the coordinate values of all control points for each pseudo hairline A third step for obtaining
Hairline data comprising: a fourth step of registering the coordinate values of all control points for all the pseudo hairlines obtained in the third step as they are or by thinning them out at appropriate intervals and registering them as hairline data How to create
繊維潜り角の2次元スカラ場等のヘアラインパターンを作成可能な2次元スカラ場を入力する2次元スカラ場入力手段と、
2次元平面内に設定された所望の個数の疑似ヘアラインの開始点、及び前記入力された2次元スカラ場のある位置における繊維潜り角から、その位置における方向ベクトルを算出するための関数、ヘアラインのヘアライン長、疑似ヘアラインを描画するときの描画ステップとが設定されて、前記設定された開始点から生成する各疑似ヘアラインについて、開始点を第1制御点の座標値とし、第n番目の制御点の座標値を、第(n−1)番目の制御点の座標値と、前記疑似ヘアラインの描画ステップ及び前記関数に基づいて求める処理を、描画した当該疑似ヘアラインの長さが前記設定したヘアライン長より長くなるまで繰り返して、各疑似ヘアラインについての全ての制御点の座標値を求める疑似ヘアライン生成手段と、
前記疑似ヘアライン生成手段で求めた全ての疑似ヘアラインについての全ての制御点の座標値をそのまま、あるいは適宜な間隔で間引いてヘアラインデータとして登録する登録手段と
を備えることを特徴とするヘアラインデータの作成装置。
A two-dimensional scalar field input means for inputting a two-dimensional scalar field capable of creating a hairline pattern such as a two-dimensional scalar field of a fiber diving angle;
A function for calculating a direction vector at a position from the start point of a desired number of pseudo hairlines set in a two-dimensional plane and the fiber dive angle at the position where the two-dimensional scalar field is input, The hairline length, the drawing step when drawing the pseudo hairline are set, and for each pseudo hairline generated from the set start point, the start point is the coordinate value of the first control point, and the nth control point The coordinate value of the (n-1) th control point, the process of obtaining the pseudo hairline drawing step and the function, and the length of the pseudo hairline that has been drawn is the set hairline length. It repeats until it becomes longer, and a pseudo hairline generating means for obtaining coordinate values of all control points for each pseudo hairline,
Creation of hairline data, comprising: registration means for registering the coordinate values of all the control points for all the pseudo hairlines obtained by the pseudo hairline generation means as they are or by thinning them out at appropriate intervals as hairline data apparatus.
JP18771898A 1998-07-02 1998-07-02 Method and apparatus for creating hairline data Expired - Fee Related JP4305884B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18771898A JP4305884B2 (en) 1998-07-02 1998-07-02 Method and apparatus for creating hairline data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18771898A JP4305884B2 (en) 1998-07-02 1998-07-02 Method and apparatus for creating hairline data

Publications (2)

Publication Number Publication Date
JP2000027066A JP2000027066A (en) 2000-01-25
JP4305884B2 true JP4305884B2 (en) 2009-07-29

Family

ID=16210968

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18771898A Expired - Fee Related JP4305884B2 (en) 1998-07-02 1998-07-02 Method and apparatus for creating hairline data

Country Status (1)

Country Link
JP (1) JP4305884B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4688121B2 (en) * 2001-04-04 2011-05-25 大日本印刷株式会社 Method and apparatus for creating hairline pattern
CN110955941B (en) * 2019-11-29 2022-03-18 华中科技大学 Vector field-based composite material structure optimization design method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH081895A (en) * 1994-06-21 1996-01-09 Dainippon Printing Co Ltd Decorative sheet and production thereof
JP4018760B2 (en) * 1996-06-07 2007-12-05 大日本印刷株式会社 Wood grain pattern creation method and creation apparatus
JP4390869B2 (en) * 1998-03-19 2009-12-24 大日本印刷株式会社 Cosmetic material with line-like uneven pattern
JP3918970B2 (en) * 1998-04-15 2007-05-23 大日本印刷株式会社 Fiber dive angle measuring method and system

Also Published As

Publication number Publication date
JP2000027066A (en) 2000-01-25

Similar Documents

Publication Publication Date Title
KR100407436B1 (en) Method and apparatus for capturing stereoscopic images using image sensors
US10628989B2 (en) Photometric image processing
US20230043787A1 (en) Lighting assembly for producing realistic photo images
JP4402224B2 (en) Sheet having a three-dimensional pattern and method for producing the same
CN115082538A (en) System and method for three-dimensional reconstruction of surface of multi-view vision balance ring part based on line structure light projection
US20240062460A1 (en) Freestyle acquisition method for high-dimensional material
JP4305884B2 (en) Method and apparatus for creating hairline data
JPWO2008032593A1 (en) Wrinkle pattern for wrinkle pattern printing, method and program for generating wrinkle pattern, housing building material printed with wrinkle pattern, automobile interior parts, home appliances and information equipment
JP4531155B2 (en) Line data creation method and apparatus
JP4416058B2 (en) Embossed sheet creation method and apparatus
JP4044171B2 (en) Wood texture embossed sheet creation method and creation device
JP4028118B2 (en) Fiber dive angle measuring method and system
JP4698229B2 (en) Embossed sheet manufacturing method and manufacturing apparatus expressing anisotropic reflection surface of grain
JP4211956B2 (en) Image creating method and image creating apparatus
JP4201147B2 (en) Fiber dive angle measuring method and system
JP4404272B2 (en) Fiber dive angle measuring method and system
JP3918970B2 (en) Fiber dive angle measuring method and system
JP3285142B2 (en) Embossed sheet, decorative sheet and method for producing line pattern, apparatus therefor
JP2718784B2 (en) Drawing method of contour and / or edge
JP2002071329A (en) Method and system for measuring fiber submerged angle
JP3998084B2 (en) Anisotropic reflection simulation method and simulation apparatus
JP3376022B2 (en) Method and apparatus for producing hologram master
JP4569989B2 (en) Wood grain pattern generation method and grain pattern generation system
JP4018760B2 (en) Wood grain pattern creation method and creation apparatus
JP4440373B2 (en) Wood modeling device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050624

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070912

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071105

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

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

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120515

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120515

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130515

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140515

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees