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
JP5434499B2 - Handle pattern visualization apparatus, pattern pattern visualization method, and program - Google Patents
[go: Go Back, main page]

JP5434499B2 - Handle pattern visualization apparatus, pattern pattern visualization method, and program - Google Patents

Handle pattern visualization apparatus, pattern pattern visualization method, and program Download PDF

Info

Publication number
JP5434499B2
JP5434499B2 JP2009258501A JP2009258501A JP5434499B2 JP 5434499 B2 JP5434499 B2 JP 5434499B2 JP 2009258501 A JP2009258501 A JP 2009258501A JP 2009258501 A JP2009258501 A JP 2009258501A JP 5434499 B2 JP5434499 B2 JP 5434499B2
Authority
JP
Japan
Prior art keywords
pixel
image
height field
pattern
shadow
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.)
Active
Application number
JP2009258501A
Other languages
Japanese (ja)
Other versions
JP2011103097A (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 JP2009258501A priority Critical patent/JP5434499B2/en
Publication of JP2011103097A publication Critical patent/JP2011103097A/en
Application granted granted Critical
Publication of JP5434499B2 publication Critical patent/JP5434499B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Generation (AREA)

Description

本発明は、表面に凹凸模様を有する媒体の表面深度データ(ハイトフィールド)を用いて、媒体の意匠の確認を支援する柄癖可視化装置等に関する。   The present invention relates to a handle visualizing device that supports confirmation of a design of a medium by using surface depth data (height field) of a medium having an uneven pattern on the surface.

従来より、表面に凹凸模様を有する壁紙や合成皮革等の媒体を製造するため、まずコンピュータ等を用いて所望の柄の表面深度データ(以下、ハイトフィールドという)を生成し、次に、このハイトフィールドに基づいて、金属または樹脂製のエンボス版に対して彫刻またはエッチング等を施すことにより、表面に凹凸模様を形成し、このエンボス版に上記媒体を押し当てることにより凹凸模様を写し取っていた。
エンボス版の製造に関しては、例えば、特許文献1等に記述がある。
Conventionally, in order to produce a medium such as wallpaper or synthetic leather having a concavo-convex pattern on the surface, a surface depth data (hereinafter referred to as height field) of a desired pattern is first generated using a computer or the like, and then this height Based on the field, a metal or resin embossed plate was engraved or etched to form a concavo-convex pattern on the surface, and the medium was pressed against the embossed plate to copy the concavo-convex pattern.
Regarding the production of the embossed plate, there is a description in Patent Document 1, for example.

特開2004−358662号公報Japanese Patent Laid-Open No. 2004-358862

しかしながら、上述のエンボス製品には柄癖が生じやすい。
柄癖とは、物体表面に照射された光によって生じた反射光や陰影により、光の強度が強い領域と弱い領域とが不均一に表れ、その不均一さが新たな柄に見える現象である。
このような柄癖のうち、意匠として不都合なものは製品に表れないように削除、修正されるが、従来は、柄癖があるか否かを確認するために、エンボス版を試作し、その後に確認作業を行っていた。エンボス版は彫刻やエッチング等の工程を経て得られるものであり、その製造には時間を要するものであった。また柄癖があれば、そのエンボス版はその後は使用されないため無駄となっていた。
However, the above-mentioned embossed product is liable to cause handle defects.
Patterned wrinkles are a phenomenon in which areas with high and low light intensity appear unevenly due to reflected light or shadows caused by light irradiated on the object surface, and the unevenness appears to be a new pattern. .
Of these handle tiles, those that are inconvenient as designs are deleted and modified so that they do not appear in the product.In the past, an embossed version was prototyped to check if there was a handle handle, and then The confirmation work was done. The embossed plate is obtained through processes such as engraving and etching, and its production takes time. Also, if there was a handle, the embossed version was wasted because it was not used thereafter.

本発明は、このような課題に鑑みてなされたもので、表面に凹凸模様を有する媒体の柄癖を、画像で確認可能な柄癖可視化装置、柄癖可視化方法、及びプログラムを提供することを目的とする。   The present invention has been made in view of such a problem, and provides a handle pattern visualization device, a pattern pattern visualization method, and a program capable of confirming a pattern pattern of a medium having a concavo-convex pattern on the surface by an image. Objective.

前述した課題を解決するため第1の発明は、入力されたXY平面上に配置されたハイトフィールドに対して設定される視点及び光源により生じる陰影及びオクルージョンを反映して、前記ハイトフィールドの各画素の輝度値を算出し、前記ハイトフィールドのXY座標に対応する画素の画素値が前記輝度値である投影画像を生成する演算手段と、前記演算手段により生成された投影画像を出力する出力手段と、を備える柄癖可視化装置である。 In order to solve the above-described problem, the first invention reflects each pixel of the height field by reflecting the shadow and occlusion caused by the viewpoint and the light source set for the height field arranged on the input XY plane. Calculating means for generating a projection image in which the pixel value of the pixel corresponding to the XY coordinates of the height field is the luminance value; and output means for outputting the projection image generated by the calculation means , A handle collar visualization device.

ここで、オクルージョンとは、物体に遮られて視点位置から見えない領域をいう。   Here, the occlusion means an area that is blocked by an object and cannot be seen from the viewpoint position.

第1の発明の柄癖可視化装置によれば、入力されたXY平面上に配置されたハイトフィールドに対して設定される視点及び光源により生じる陰影及びオクルージョンを反映して、前記ハイトフィールドの各画素の輝度値を算出し、前記ハイトフィールドのXY座標に対応する画素の画素値が前記輝度値である投影画像を生成し、出力する。このため、表面に凹凸模様を有する媒体の柄癖を、画像で確認できるようになり、柄癖確認用のエンボス版を製造する必要がなくなる。また、視点方向や光源方向に応じた影及びオクルージョンを考慮するため、柄癖を正確に可視化できる。 According to the pattern bud visualization apparatus of the first invention, each pixel of the height field reflects the shadow and occlusion generated by the viewpoint and the light source set for the height field arranged on the input XY plane. Is calculated, and a projection image in which the pixel value of the pixel corresponding to the XY coordinates of the height field is the luminance value is generated and output. For this reason, it becomes possible to confirm the handle of the medium having a concavo-convex pattern on the surface by an image, and it becomes unnecessary to manufacture an embossed plate for checking the handle. In addition, since the shadow and occlusion corresponding to the viewpoint direction and the light source direction are taken into account, the handle can be accurately visualized.

また、前記演算手段は、前記ハイトフィールドの各画素について前記陰影またはオクルージョンか否かを判定する判定手段を備え、前記判定手段によって陰影またはオクルージョンがあると判定された画素については前記輝度値を0とするか、または他の画素より小さく算出することが望ましい。
これにより、陰影またはオクルージョンとなる画素を他の画素より暗くできるため、実環境と同様に柄癖を表現できる。
Further, the calculation means includes determination means for determining whether or not each pixel of the height field is the shadow or occlusion, and the luminance value is set to 0 for a pixel determined to have the shadow or occlusion by the determination means. Or smaller than other pixels.
As a result, pixels that become shadows or occlusions can be made darker than other pixels, so that the pattern can be expressed in the same manner as in the actual environment.

また、前記投影画像の各画素に対して、ぼかし処理を施すぼかし手段を更に備え、前記出力手段によって出力される画像は、前記ぼかし手段によるぼかし処理が施された画像を含むことが望ましい。
これにより、遠方から意匠を観察したような画像を出力でき、壁紙等の大判の対象についての柄癖確認作業に好適である。
Further, it is preferable that a blurring unit that performs blurring processing on each pixel of the projection image is further provided, and the image output by the output unit includes an image that has been subjected to blurring processing by the blurring unit.
Thereby, an image as if the design was observed from a distant place can be output, which is suitable for checking the handle for large-sized objects such as wallpaper.

また、前記投影画像は、前記演算手段により算出された各画素の輝度値を、濃淡情報、二値情報、または色相情報として表した画像であることが望ましい。
これにより、画像の濃淡、二値(白/黒等)、または色相によって柄癖の観察を行えるので、確認作業が容易となる。
Further, it is desirable that the projected image is an image representing the luminance value of each pixel calculated by the calculation means as grayscale information, binary information, or hue information.
As a result, the pattern can be observed based on the shading, binary (white / black, etc.) or hue of the image, so that the confirmation work is facilitated.

第2の発明は、コンピュータが行う柄癖可視化方法であって、前記コンピュータの制御部が、入力されたXY平面上に配置されたハイトフィールドに対して設定される視点及び光源により生じる陰影及びオクルージョンを反映して、前記ハイトフィールドの各画素の輝度値を算出し、前記ハイトフィールドのXY座標に対応する画素の画素値が前記輝度値である投影画像を生成する演算ステップと、前記制御部が、前記演算ステップにより生成された投影画像を出力する出力ステップと、を含む柄癖可視化方法である。 A second invention is a method for visualizing a handle by a computer, wherein a shadow and occlusion caused by a viewpoint and a light source set by a control unit of the computer with respect to a height field arranged on an input XY plane And calculating a luminance value of each pixel of the height field , and generating a projection image in which the pixel value of the pixel corresponding to the XY coordinates of the height field is the luminance value; and An output step of outputting the projection image generated by the calculation step.

ここで、前記演算ステップは、前記制御部が、前記ハイトフィールドの各画素について前記陰影またはオクルージョンか否かを判定する判定ステップを備え、前記判定ステップにおいて陰影またはオクルージョンがあると判定された画素については前記輝度値を0とするか、または他の画素より小さく算出することが望ましい。 Here, the calculation step includes a determination step in which the control unit determines whether or not each pixel of the height field is the shadow or occlusion, and for the pixel determined to have the shadow or occlusion in the determination step It is preferable to calculate the luminance value as 0 or smaller than other pixels.

また、前記制御部が、前記投影画像の各画素に対して、ぼかし処理を施すぼかしステップを更に備え、前記出力ステップによって出力される画像は、前記ぼかし処理が施された画像を含むことが望ましい。 In addition, it is preferable that the control unit further includes a blurring step for performing a blurring process on each pixel of the projection image, and the image output by the output step includes an image subjected to the blurring process. .

また、前記投影画像は、前記演算ステップにより算出された各画素の輝度値を、濃淡情報、二値情報、または色相情報として表した画像であることが望ましい。   Further, it is desirable that the projected image is an image that represents the luminance value of each pixel calculated in the calculation step as grayscale information, binary information, or hue information.

第3の発明は、コンピュータにより読み取り可能なプログラムであって、前記コンピュータを、入力されたXY平面上に配置されたハイトフィールドに対して設定される視点及び光源により生じる陰影及びオクルージョンを反映して、前記ハイトフィールドの各画素の輝度値を算出し、前記ハイトフィールドのXY座標に対応する画素の画素値が前記輝度値である投影画像を生成する演算手段、前記演算手段により生成された投影画像を出力する出力手段、として機能させるためのプログラムである。 A third invention is a computer-readable program that reflects shadows and occlusions caused by a viewpoint and a light source set with respect to a height field arranged on an input XY plane. Calculating a luminance value of each pixel of the height field , and generating a projection image in which the pixel value of the pixel corresponding to the XY coordinates of the height field is the luminance value, the projection image generated by the calculation unit Is a program for functioning as output means.

第3の発明のプログラムによれば、コンピュータを用いて、入力されたXY平面上に配置されたハイトフィールドに対して設定される視点及び光源により生じる陰影及びオクルージョンを反映して、前記ハイトフィールドの各画素の輝度値を算出し、前記ハイトフィールドのXY座標に対応する画素の画素値が前記輝度値である投影画像を生成し、出力させることができる。このため、表面に凹凸模様を有する媒体の柄癖を、コンピュータにて確認きるようになる。
According to the program of the third invention, by using a computer, the shadow and occlusion caused by the viewpoint and the light source set for the height field arranged on the input XY plane are reflected, and the height field of the height field is reflected. The brightness value of each pixel is calculated, and a projection image in which the pixel value of the pixel corresponding to the XY coordinates of the height field is the brightness value can be generated and output. For this reason, the handle of the medium having a concavo-convex pattern on the surface can be confirmed by a computer.

本発明により、表面に凹凸模様を有する媒体の柄癖を、画像で確認可能な柄癖可視化装置、柄癖可視化方法、及びプログラムを提供できる。   According to the present invention, it is possible to provide a handle pattern visualization device, a pattern pattern visualization method, and a program capable of confirming a pattern pattern of a medium having a concavo-convex pattern on the surface by an image.

柄癖可視化装置1のハードウエア構成図Hardware configuration diagram of handle pattern visualization device 1 柄癖可視化処理の流れを説明するフローチャートFlowchart explaining the flow of handle pattern visualization processing 入力されるハイトフィールド29の一例Example of input height field 29 光源方向、視点方向の設定の一例を示す図The figure which shows an example of the setting of a light source direction and a viewpoint direction 影及びオクルージョンについて説明する図Illustration explaining shadows and occlusion 注目画素についての影・オクルージョン判定について説明する図The figure explaining the shadow / occlusion determination for the pixel of interest 影・オクルージョン判定処理の流れを説明するフローチャートFlow chart explaining the flow of shadow / occlusion determination processing 注目画素の法線ベクトルの一例を示す図、The figure which shows an example of the normal vector of an attention pixel, 媒体表面の視点ベクトル、光源ベクトル、法線ベクトル、正反射ベクトルの一例を示す図Diagram showing examples of viewpoint vector, light source vector, normal vector, and regular reflection vector on the medium surface 出力画像を色相情報で表現する際の色設定例を示す図The figure which shows the example of a color setting at the time of expressing an output image by hue information 出力画像の一例を示す図Diagram showing an example of output image 実際の柄癖確認作業における意匠の確認位置の例を示す図The figure which shows the example of the confirmation position of the design in the actual pattern check operation 出力画像に更にぼかし処理を施した出力画像の一例を示す図The figure which shows an example of the output image which performed the blurring process further on the output image

以下、図面に基づいて本発明の好適な実施形態について詳細に説明する。
図1は、本実施の形態の柄癖可視化装置1のハードウエア構成を示す図である。
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a diagram illustrating a hardware configuration of the handle limp visualization apparatus 1 according to the present embodiment.

柄癖可視化装置1は、図1に示すように、例えば、制御部3、記憶部5、メディア入出力部7、通信制御部9、入力部11、表示部13、周辺機器I/F部15等がバス17を介して接続されて構成される。   As shown in FIG. 1, the handle pattern visualization apparatus 1 includes, for example, a control unit 3, a storage unit 5, a media input / output unit 7, a communication control unit 9, an input unit 11, a display unit 13, and a peripheral device I / F unit 15. Etc. are connected via a bus 17.

制御部3は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Accsess Memory)等により構成される。
CPUは、記憶部5、ROM、記録媒体等に格納されるプログラムをRAM上のワークメモリ領域に呼び出して実行し、バス17を介して接続された各部を駆動制御する。制御部3のCPUは後述する柄癖可視化処理(図2参照)を実行する。
The control unit 3 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and the like.
The CPU calls and executes a program stored in the storage unit 5, ROM, recording medium or the like to a work memory area on the RAM, and drives and controls each unit connected via the bus 17. The CPU of the control unit 3 executes a handle collar visualization process (see FIG. 2) described later.

ROMは、コンピュータのブートプログラムやBIOS等のプログラム、データ等を恒久的に保持する。RAMは、ロードしたプログラムやデータを一時的に保持するとともに、制御部3が各種処理を行うために使用するワークエリアを備える。   The ROM permanently holds a computer boot program, a program such as BIOS, data, and the like. The RAM temporarily stores the loaded program and data, and includes a work area used by the control unit 3 to perform various processes.

記憶部5は、HDD(ハードディスクドライブ)であり、制御部3が実行するプログラムや、プログラム実行に必要なデータ、OS(オペレーティング・システム)等が格納されている。これらのプログラムコードは、制御部3により必要に応じて読み出されてRAMに移され、CPUに読み出されて実行される。   The storage unit 5 is an HDD (hard disk drive), and stores a program executed by the control unit 3, data necessary for program execution, an OS (operating system), and the like. These program codes are read by the control unit 3 as necessary, transferred to the RAM, and read and executed by the CPU.

メディア入出力部7(ドライブ装置)は、例えば、フロッピー(登録商標)ディスクドライブ、PDドライブ、CDドライブ、DVDドライブ、MOドライブ等のメディア入出力装置であり、データの入出力を行う。   The media input / output unit 7 (drive device) is a media input / output device such as a floppy (registered trademark) disk drive, PD drive, CD drive, DVD drive, and MO drive, and performs data input / output.

通信制御部9は、通信制御装置、通信ポート等を有し、ネットワーク19との通信を媒介する通信インタフェースであり、通信制御を行う。
入力部11は、例えば、キーボード、マウス等のポインティング・デバイス、テンキー等の入力装置であり、入力されたデータを制御部3へ出力する。
The communication control unit 9 includes a communication control device, a communication port, and the like, is a communication interface that mediates communication with the network 19, and performs communication control.
The input unit 11 is an input device such as a keyboard, a pointing device such as a mouse, or a numeric keypad, and outputs input data to the control unit 3.

表示部13は、例えば液晶パネル、CRTモニタ等のディスプレイ装置と、ディスプレイ装置と連携して表示処理を実行するための論理回路(ビデオアダプタ等)で構成され、制御部3の制御により入力された表示情報をディスプレイ装置上に表示させる。   The display unit 13 includes a display device such as a liquid crystal panel or a CRT monitor, and a logic circuit (video adapter or the like) for executing display processing in cooperation with the display device, and is input under the control of the control unit 3. Display information is displayed on a display device.

周辺機器I/F部15は、コンピュータに周辺機器を接続させるためのポートであり、周辺機器I/F部15を介してコンピュータは周辺機器とのデータの送受信を行う。周辺機器I/F部15は、USBやIEEE1394やRS−232C等で構成されており、通常複数の周辺機器I/Fを有する。周辺機器との接続形態は有線、無線を問わない。   The peripheral device I / F unit 15 is a port for connecting a peripheral device to the computer, and the computer transmits and receives data to and from the peripheral device via the peripheral device I / F unit 15. The peripheral device I / F unit 15 is configured by USB, IEEE 1394, RS-232C, or the like, and usually has a plurality of peripheral devices I / F. The connection form with the peripheral device may be wired or wireless.

バス17は、各装置間の制御信号、データ信号等の授受を媒介する経路である。   The bus 17 is a path that mediates transmission / reception of control signals, data signals, and the like between the devices.

次に、図2〜図13を参照して、柄癖可視化装置1の動作について説明する。
図2は、柄癖可視化装置1が行う柄癖可視化処理の流れを示すフローチャートである。
Next, with reference to FIG. 2 to FIG.
FIG. 2 is a flowchart showing the flow of the handle heel visualization process performed by the handle bud visualization device 1.

柄癖可視化装置1の制御部3は、記憶部5から図2の柄癖可視化処理に関するプログラム及びデータを読み出し、このプログラム及びデータに基づいて処理を実行する。   The control unit 3 of the stalk visualization device 1 reads out the program and data related to the stalk visualization process of FIG. 2 from the storage unit 5 and executes processing based on this program and data.

まず、柄癖可視化装置1に対して、処理対象とする媒体であるハイトフィールド29のデータが入力される(ステップS101)。入力されるハイトフィールド29の一例を図3に示す。図3では、ハイトフィールド29の深さ方向の情報が濃淡で表現されている。
制御部3は、入力されたハイトフィールド29に対して仮想的に光源方向及び視点方向を設定するための処理を実行する。光源方向及び視点方向の設定処理は、入力部11及び表示部13を利用したユーザとの対話的な処理によって行われることが望ましい(ステップS102)。
例えば、図4に示すように、ハイトフィールド29に対して平行な投影面(XY平面)33に対して投影方向は鉛直方向となるようにする。また光源方向及び視点方向は任意の方向に設定される。
First, the data of the height field 29, which is a medium to be processed, is input to the handle collar visualization device 1 (step S101). An example of the input height field 29 is shown in FIG. In FIG. 3, information in the depth direction of the height field 29 is expressed by shading.
The control unit 3 executes a process for virtually setting the light source direction and the viewpoint direction with respect to the input height field 29. The setting process of the light source direction and the viewpoint direction is preferably performed by an interactive process with the user using the input unit 11 and the display unit 13 (step S102).
For example, as shown in FIG. 4, the projection direction is set to the vertical direction with respect to the projection plane (XY plane) 33 parallel to the height field 29. The light source direction and the viewpoint direction are set to arbitrary directions.

次に、柄癖可視化装置1の制御部3は、ハイトフィールド29の影及びオクルージョンの判定処理を実行する(ステップS103)。   Next, the control unit 3 of the handle pattern visualization device 1 executes a shadow and occlusion determination process for the height field 29 (step S103).

ここで、図5を参照して、影及びオクルージョンについて説明する。
影とは、光源の光が直接反射されない領域をいい、オクルージョンとは、視点から見えない領域をいう。これらの領域は他の領域より暗くなる。
図5に示すように、表面に凹凸のある媒体(ハイトフィールド29)に対して光源及び視点が所定の角度をもって設定されると、隣接する領域より深い領域では、影及びオクルージョンが発生することがある。本実施の形態では、影及びオクルージョンの領域については、輝度値を0または他の領域より小さい値とする。
Here, the shadow and the occlusion will be described with reference to FIG.
The shadow is an area where the light from the light source is not directly reflected, and the occlusion is an area that is not visible from the viewpoint. These areas are darker than other areas.
As shown in FIG. 5, when a light source and a viewpoint are set at a predetermined angle with respect to a medium (height field 29) having an uneven surface, shadows and occlusions may occur in a region deeper than an adjacent region. is there. In the present embodiment, the luminance value of the shadow and occlusion area is set to 0 or a value smaller than other areas.

ステップS103の影・オクルージョンの判定処理では、ハイトフィールド29の各画素について影・オクルージョンがあるか否かを判定する。影・オクルージョンがあるか否かは、注目画素が光源位置から見えるか、或いは注目画素が視点位置から見えるかを判定すればよい。これを換言すると、任意の点Pから注目画素Qが見えるか否かの判定に他ならない。なお、光源と視点は、この判定処理においては同じものと定義する。   In the shadow / occlusion determination process in step S103, it is determined whether or not each pixel in the height field 29 has a shadow / occlusion. Whether there is a shadow or occlusion may be determined by determining whether the target pixel is visible from the light source position or whether the target pixel is visible from the viewpoint position. In other words, this is nothing but a determination as to whether or not the target pixel Q is visible from an arbitrary point P. The light source and the viewpoint are defined as the same in this determination process.

図6は、X,Y,Z平面に設定されたハイトフィールド29に、任意の光源(または視点)Pが設定された図である。
視点Pから注目画素QへのベクトルをPQとし、点Q、点PをXY平面に垂直に投影した画素を画素Q’、画素P’とし、画素Q’と画素P’の高さをそれぞれQh,Phとする。また、画素Q’と画素P’を結ぶ直線上のある画素を走査対象とし、画素R’を走査画素と呼ぶこととする。走査画素R’をベクトルPQ(すなわち視線)上に垂直に投影した点を点Rとする。また、走査画素R’のハイトフィールド29の高さをRhとする。
FIG. 6 is a diagram in which an arbitrary light source (or viewpoint) P is set in the height field 29 set in the X, Y, and Z planes.
The vector from the viewpoint P to the pixel of interest Q is PQ, the pixels Q and P are projected perpendicularly to the XY plane are the pixels Q ′ and P ′, and the heights of the pixels Q ′ and P ′ are Qh, respectively. , Ph. Further, a certain pixel on a straight line connecting the pixel Q ′ and the pixel P ′ is set as a scanning target, and the pixel R ′ is called a scanning pixel. A point obtained by vertically projecting the scanning pixel R ′ onto the vector PQ (that is, the line of sight) is defined as a point R. The height of the height field 29 of the scanning pixel R ′ is Rh.

ステップS103の影・オクルージョンの判定処理では、制御部3は、注目画素Q’を始点として画素P’までXY平面の走査画素R’を走査する。走査方向はベクトルQ’P’の方向とする。図7に、走査画素R’毎に行われる影・オクルージョン判定処理の流れを示す。   In the shadow / occlusion determination process in step S103, the control unit 3 scans the scanning pixel R 'on the XY plane from the target pixel Q' to the pixel P '. The scanning direction is the direction of vector Q'P '. FIG. 7 shows a flow of shadow / occlusion determination processing performed for each scanning pixel R ′.

図7に示すように、まず制御部3は、ある走査画素R’の位置及び走査画素R’におけるハイトフィールド29の高さRhを取得する(ステップS201)。
次に、制御部3は、ハイトフィールド29から始点画素Q’の高さQhを取得し、また、走査画素R’における視線PQまでの距離(ベクトルRR’の長さ)を算出する(ステップS202)。
走査画素R’におけるベクトルRR’の長さは以下の式(1)によって算出する。
As shown in FIG. 7, the control unit 3 first acquires the position of a certain scanning pixel R ′ and the height Rh of the height field 29 in the scanning pixel R ′ (step S201).
Next, the control unit 3 obtains the height Qh of the start pixel Q ′ from the height field 29 and calculates the distance (the length of the vector RR ′) to the line of sight PQ at the scanning pixel R ′ (step S202). ).
The length of the vector RR ′ in the scanning pixel R ′ is calculated by the following equation (1).

次に、制御部3は、ベクトルRR’の長さと走査画素R’の高さRhを比較する(ステップS203)。RR’<Rhならば(ステップS203;Yes)、点Qから点Pは画素R’の高さRhによって妨げられ、見えないことを意味し、点Qは影またはオクルージョンである旨の判定結果を出力する(ステップS204)。制御部3は、本判定処理を終了して判定結果を図2のステップS103へ返す。ステップS103において、注目画素Q’が影またはオクルージョンであるという判定結果を得た場合は、この画素Q’の輝度値は、影またはオクルージョンの輝度値に設定される。本実施の形態では、影及びオクルージョンの輝度値は、0または他の領域より小さい値とする。   Next, the control unit 3 compares the length of the vector RR 'with the height Rh of the scanning pixel R' (step S203). If RR ′ <Rh (step S203; Yes), it means that the point Q to the point P are blocked by the height Rh of the pixel R ′ and cannot be seen, and the determination result that the point Q is a shadow or an occlusion is obtained. Output (step S204). The control unit 3 ends the determination process and returns the determination result to step S103 in FIG. If it is determined in step S103 that the target pixel Q 'is a shadow or occlusion, the luminance value of the pixel Q' is set to the luminance value of the shadow or occlusion. In the present embodiment, the luminance values of shadows and occlusions are 0 or smaller than other areas.

一方、図7のステップS203の比較処理において、RR’がRh以上ならば(ステップS203;No)、点Qから点Pは見えると判断される。制御部3は、走査線P’Q’上の全ての画素について走査が終了したか否かを判定し(ステップS205)、走査終了していなければ(ステップS205;No)走査画素R’の位置を次の画素に移し(ステップS206)、次の走査画素R’について、ステップS201〜ステップS205の処理を繰り返し実行する。   On the other hand, in the comparison process of step S203 of FIG. 7, if RR 'is equal to or greater than Rh (step S203; No), it is determined that the point P can be seen from the point Q. The controller 3 determines whether or not scanning has been completed for all the pixels on the scanning line P′Q ′ (step S205), and if scanning has not been completed (step S205; No), the position of the scanning pixel R ′. Is moved to the next pixel (step S206), and the processing of step S201 to step S205 is repeatedly executed for the next scanning pixel R ′.

繰り返し処理にて、走査画素R’が影またはオクルージョンと判定された場合(ステップS203;Yes)には、点Qは影またはオクルージョンとなる。一方、走査線P’Q’上の全ての画素R’について、影またはオクルージョンと判定されなければ(ステップS205;Yes)、点Qは影またはオクルージョンでない旨の判定結果を図2のステップS103へ返し(ステップS207)、本判定処理を終了する。   If the scanning pixel R ′ is determined to be a shadow or an occlusion in the repetitive processing (step S203; Yes), the point Q becomes a shadow or an occlusion. On the other hand, if all the pixels R ′ on the scanning line P′Q ′ are not determined to be shadows or occlusions (step S205; Yes), the determination result that the point Q is not a shadow or occlusion is transferred to step S103 in FIG. Return (step S207), and the determination process is terminated.

図2のステップS103において、注目画素が影でもオクルージョンでもないと判定された場合は、その注目画素の輝度値を算出する(ステップS105)。   If it is determined in step S103 of FIG. 2 that the pixel of interest is neither a shadow nor an occlusion, the luminance value of the pixel of interest is calculated (step S105).

輝度値の算出処理において、柄癖可視化装置1の制御部3は、注目画素と隣接する周囲4近傍の画素との高度差を示す接線ベクトルを算出する。図8に示すように、右側の隣接画素との接線ベクトルをT、下側の隣接画素との接線ベクトルをT、左側の隣接画素との接線ベクトルをT、上側の隣接画素との接線ベクトルをTとし、位置(x,y)での表面形状の高度をzx,y、左右に隣接する画素との距離、すなわちハイトフィールドの幅方向をΔx、上下に隣接する画素との距離、すなわちハイトフィールドの縦方向をΔyとすると、各接線ベクトルは、次の式(2)〜(5)で表される。 In the luminance value calculation process, the control unit 3 of the handle heel visualizing device 1 calculates a tangent vector that indicates an altitude difference between the pixel of interest and neighboring pixels in the vicinity of the surrounding four. As shown in FIG. 8, the tangent vector with the right adjacent pixel is T r , the tangent vector with the lower adjacent pixel is T d , the tangent vector with the left adjacent pixel is T l , and the upper adjacent pixel is The tangent vector is T u , the height of the surface shape at the position (x, y) is z x, y , the distance from the left and right adjacent pixels, that is, the height field width direction is Δx, and the upper and lower adjacent pixels are When the distance, that is, the vertical direction of the height field is Δy, each tangent vector is expressed by the following equations (2) to (5).

=(Δx,0,(zx+1,y−zx,y))・・・・(2)
=(0,Δy,(zx,y+1−zx,y))・・・・(3)
l=(−Δx,0,(zx―1,y−zx,y))・・・・(4)
=(0,−Δy,(zx,y―1−zx,y))・・・・(5)
T r = (Δx, 0, (z x + 1, y −z x, y )) (2)
T d = (0, Δy, (z x, y + 1 −z x, y )) (3)
T l = (− Δx, 0, (z x−1, y −z x, y )) (4)
T u = (0, −Δy, (z x, y−1 −z x, y )) (5)

次に、制御部3は、注目画素の周囲4近傍の法線ベクトルの平均である法線ベクトルNi,jを算出する。
まず制御部3は、注目画素の4近傍の接線ベクトルT、T、T、Tの外積から次の式(6)〜(9)で表される法線ベクトルを算出する。
Next, the control unit 3 calculates a normal vector N i, j that is an average of normal vectors in the vicinity of the periphery 4 of the target pixel.
First, the control unit 3 calculates a normal vector represented by 4 near the tangent vector T r, T d, T l , the following equation from the outer product of T u (6) ~ (9 ) of the pixel of interest.

lu=T×T・・・・(6)
ur=T×T・・・・(7)
rd=T×T・・・・(8)
dl=T×T・・・・(9)
N lu = T l × T u ···· (6)
N ur = T u × T r (7)
N rd = T r × T d (8)
N dl = T d × T l (9)

そして、制御部3は、上述の法線ベクトルNlu,Nur,Nrd,Ndlの平均を算出し、注目画素の法線ベクトルNi,jとする。注目画素の法線ベクトルNi,jは以下の式(10)で表される。 Then, the control unit 3, the normal vector N lu above, N ur, calculates the average of the N rd, N dl, the normal vector N i of the target pixel, and j. The normal vector N i, j of the pixel of interest is expressed by the following equation (10).

i,j=(Nlu+Nur+Nrd+Ndl)/4 ・・・・(10) Ni , j = ( Nlu + Nur + Nrd + Ndl ) / 4 (10)

次に、制御部3は、ステップS102の光源方向・視点方向設定処理にて設定した光源方向から、図9に示す光源ベクトルLを算出する。光源の仰角をθ、方位角をφとすると、光源ベクトルLは次の式(11)のように表される。   Next, the control unit 3 calculates a light source vector L shown in FIG. 9 from the light source direction set in the light source direction / viewpoint direction setting process in step S102. Assuming that the elevation angle of the light source is θ and the azimuth angle is φ, the light source vector L is expressed by the following equation (11).

L=(cosθcosφ,cosθsinφ,sinθ)・・・・(11)   L = (cos θ cos φ, cos θ sin φ, sin θ) (11)

制御部3は、注目画素の法線ベクトルNと光源ベクトルLから、光線の正反射ベクトルRを算出する。正反射ベクトルRは次の式(12)のように表される。   The control unit 3 calculates a regular reflection vector R of the light ray from the normal vector N and the light source vector L of the target pixel. The regular reflection vector R is expressed as the following equation (12).

R=(2×N)×(L・N)−L ・・・・(12)   R = (2 × N) × (L · N) −L (12)

視点方向の視点ベクトルWについても、光源ベクトルLと同様に、ステップS102で設定した視点方向から式(11)のように表される。   As with the light source vector L, the viewpoint vector W in the viewpoint direction is also expressed by Expression (11) from the viewpoint direction set in step S102.

次に制御部3は、視点ベクトルWと正反射ベクトルRのなす角の余弦を算出する。ここで、視点ベクトルWと正反射ベクトルRのなす角をαとする。余弦cosαは次の式(13)により算出される。   Next, the control unit 3 calculates the cosine of the angle formed by the viewpoint vector W and the regular reflection vector R. Here, an angle formed by the viewpoint vector W and the regular reflection vector R is α. The cosine cos α is calculated by the following equation (13).

cosα=(W・R)/(|W|×|R|) ・・・(13)   cos α = (W · R) / (| W | × | R |) (13)

次に制御部3は、法線ベクトルNと光源ベクトルLのなす角の余弦を算出する。ここで、法線ベクトルNと光源ベクトルLのなす角をβとする。余弦cosβは次の式(14)により算出される。   Next, the control unit 3 calculates the cosine of the angle formed by the normal vector N and the light source vector L. Here, the angle formed by the normal vector N and the light source vector L is β. The cosine cos β is calculated by the following equation (14).

cosβ=(L・N)/(|L|×|N|) ・・・(14)   cos β = (L · N) / (| L | × | N |) (14)

光源から照射された光による媒体の各画素の輝度値は、拡散反射と鏡面反射の各成分を足し合わせることにより求められる。   The luminance value of each pixel of the medium by the light emitted from the light source is obtained by adding the diffuse reflection and specular reflection components.

拡散反射光による輝度値Iは、ランバートの余弦則に基づき、次の式(15)で表される。 Luminance value I d by diffusion reflected light, based on the Lambert's cosine law is expressed by the following equation (15).

=I・k・cosβ ・・・(15) I d = I i · k d · cos β (15)

また、鏡面反射光による輝度値Iは、フォンの反射モデルに基づき、次の式(16)で表される。 The luminance value I s of specular reflected light, based on the reflection model of phone, it is expressed by the following equation (16).

=I・k・cosα ・・・(16) I s = I i · k s · cos n α (16)

ここで、入射光の強さをI、拡散反射光による輝度値をI、鏡面反射光による輝度値をI、反射の強さを表す拡散反射率をk、光沢の強さを表す鏡面反射率をk、光沢の鋭さを表す係数をnとしている。
入射光の強さI、拡散反射率k、鏡面反射率k、光沢の鋭さを表す係数nは定数で、固定値としてもよいし、ユーザが設定するようにしてもよい。これらは媒体の材質によって定まるものである。
Here, the intensity of incident light is I i , the luminance value by diffuse reflected light is I d , the luminance value by specular reflected light is I s , the diffuse reflectance indicating the intensity of reflection is k d , and the intensity of gloss is The specular reflectance is represented by k s , and the coefficient representing the sharpness of gloss is represented by n.
The incident light intensity I i , diffuse reflectance k d , specular reflectance k s , and coefficient n representing the sharpness of the gloss are constants, which may be fixed values or set by the user. These are determined by the material of the medium.

以上より、制御部3は、光源から照射された光による媒体の各画素の輝度値Ioを、次の式(17)により算出する。 As described above, the control unit 3 calculates the luminance value I o of each pixel of the medium by the light emitted from the light source by the following equation (17).

Io=I+I=I(kcosβ+kcosα) ・・・(17) Io = I d + I s = I i (k d cos β + k s cos n α) (17)

以上の演算により各画素に輝度値が設定されると、次に、柄癖可視化装置1の制御部3は、ステップS104またはS105で算出した各画素の輝度値を媒体の鉛直方向に投影変換する(ステップS106)。
平行投影の場合、変換前後で注目画素のx、y座標は変わらないため、算出した輝度値を元の画素のx、y位置での値とする。なお、投影変換は、平行投影に限らず、例えば、透視投影でもよい。
制御部3は投影変換後の画素の輝度値を輝度データメモリに格納する(ステップS107)。
When the luminance value is set for each pixel by the above calculation, the control unit 3 of the handle pattern visualization device 1 then projects and converts the luminance value of each pixel calculated in step S104 or S105 in the vertical direction of the medium. (Step S106).
In the case of parallel projection, the x and y coordinates of the pixel of interest do not change before and after conversion, so the calculated luminance value is the value at the x and y position of the original pixel. The projection conversion is not limited to parallel projection, and may be perspective projection, for example.
The control unit 3 stores the luminance value of the pixel after projection conversion in the luminance data memory (step S107).

次に、柄癖可視化装置1の制御部3は、ハイトフィールド29の全画素についてステップS103〜ステップS107の処理が終了したか否かを判定し(ステップS108)、全画素の処理が終了していなければ、次の画素に移動し(ステップS109)、ステップS103〜ステップS107の処理を繰り返し実行する。繰り返し処理によってハイトフィールド29の全画素についてステップS103〜ステップS107の処理が行われると(ステップS108;Yes)、制御部3は、輝度データメモリに格納された各画素の輝度値に応じた画像を出力画像として出力する(ステップS110)。   Next, the control unit 3 of the handle rod visualization device 1 determines whether or not the processing in steps S103 to S107 has been completed for all the pixels in the height field 29 (step S108), and the processing for all the pixels has been completed. If not, the process moves to the next pixel (step S109), and the processes in steps S103 to S107 are repeated. When the processing of step S103 to step S107 is performed for all the pixels in the height field 29 by the repetition processing (step S108; Yes), the control unit 3 displays an image corresponding to the luminance value of each pixel stored in the luminance data memory. It outputs as an output image (step S110).

ステップS110において、柄癖可視化装置1の制御部3は、輝度値を階調数に応じた値(例えば、0から255といった所定範囲の整数や0か1の整数等)に正規化し、グレースケール画像または色相画像として表示したり、ファイル出力したり、印刷装置に印刷させたりする。   In step S110, the control unit 3 of the handle collar visualization apparatus 1 normalizes the luminance value to a value corresponding to the number of gradations (for example, an integer in a predetermined range such as 0 to 255, an integer of 0 or 1), and the gray scale. It is displayed as an image or hue image, output to a file, or printed on a printing device.

輝度値を0から255の整数に正規化し、その数値を濃度値に変換して出力した場合は、256階調のグレースケール画像が出力される。また輝度値を0か1の整数に正規化した場合は、2値画像として出力される。   When the luminance value is normalized to an integer from 0 to 255 and the numerical value is converted into a density value and output, a grayscale image of 256 gradations is output. When the luminance value is normalized to an integer of 0 or 1, it is output as a binary image.

また、輝度値を例えば0から255の整数に正規化し、その数値を図10に示すようなR・G・Bの組み合わせからなる色相データに変換して出力した場合は、色相画像が出力される。   When the luminance value is normalized to an integer from 0 to 255, for example, and the numerical value is converted into hue data composed of a combination of R, G, and B as shown in FIG. 10, a hue image is output. .

図11に示す出力画像は、図3に示す織物調の意匠のハイトフィールド29に対して本柄癖可視化処理を施し、柄癖が表現された画像である。図3の入力画像には本柄癖可視化処理の効果を分かり易くするために、本来の意匠とは異なる柄癖として、アルファベットの大文字「A」の模様をすり込んでいる。すり込むための具体的な方法は、大文字「A」の部分は光の強度が強くなる形状を含む傾向を高くし、大文字「A」以外の領域では光の強度が強くなる形状を含む傾向を低くしている。図11をディスプレイ装置上で目視すると、視点角度によっては部分的に濃淡が浮き出し、アルファベットの大文字「A」が柄癖として認識できる。図11は柄癖を濃淡で示しているが、色相の変化で表現すれば、より明確に認識できる。   The output image shown in FIG. 11 is an image in which the handle pattern is visualized by performing the pattern handle visualization process on the height field 29 of the fabric-like design shown in FIG. In order to make it easy to understand the effect of the main pattern wrinkle visualization process, the input image of FIG. 3 is rubbed with an alphabetic capital letter “A” as a handle different from the original design. The specific method for rubbing increases the tendency that the part of the capital letter “A” includes a shape in which the intensity of light is increased, and decreases the tendency to include a shape in which the intensity of light is increased in a region other than the capital letter “A”. doing. When FIG. 11 is visually observed on the display device, depending on the viewpoint angle, the shading partially emerges and the capital letter “A” of the alphabet can be recognized as a handle. In FIG. 11, the handle is shown by shading, but can be recognized more clearly if expressed by a change in hue.

実際の柄癖確認作業では、図12に示す3パターンの位置からの意匠の確認が行われる。
(a)意匠の施された壁紙から所定距離(数メートル程度)離れた位置に確認者が立ち、斜め方向(γ=15°程度)から光をあて、その反対の方向(γ=15°程度)から確認者が目視する。
(b)壁紙の配置を90度回転させて、上述の(a)と同様に確認者が目視する。
(c)光源の位置は(a)と同様にし、視点は光源の方位角と90度をなす方向とする。
In the actual pattern check operation, the design is checked from the positions of the three patterns shown in FIG.
(A) A confirmer stands at a predetermined distance (about several meters) away from the wallpaper on which the design is applied, shines light from an oblique direction (γ 1 = about 15 °), and the opposite direction (γ 2 = 15) The person who confirms it visually observes the angle.
(B) The arrangement of the wallpaper is rotated 90 degrees, and the confirmer visually observes the same as (a) above.
(C) The position of the light source is the same as in (a), and the viewpoint is the direction that makes 90 degrees with the azimuth angle of the light source.

従って、図2の柄癖可視化処理のステップS102で設定する光源方向及び視点方向も、図12(a),(b),(c)に示すパターンで、光源方向及び視点方向を設定することが望ましい。ただし、この他の光源方向及び視点方向に設定することを妨げるものではなく、必要に応じて適当な光源方向及び視点方向の設定が行われることが望ましい。   Accordingly, the light source direction and the viewpoint direction set in step S102 of the pattern bud visualization process in FIG. 2 can also be set in the patterns shown in FIGS. 12 (a), (b), and (c). desirable. However, it does not hinder setting other light source directions and viewpoint directions, and it is desirable that appropriate light source directions and viewpoint directions are set as necessary.

また、通常、壁紙等は、数メートル離れた位置から視認されることが多いため、柄癖を見る際には視覚的にぼやけることがある。
そこで、図11の出力画像に対して、更に、ぼかし処理を施すようにしてもよい。
In general, wallpaper or the like is often visually recognized from a position several meters away, so that it may be visually blurred when viewing the handle.
Therefore, a blurring process may be further performed on the output image of FIG.

ぼかし処理とは、例えば、注目画素の周辺の画素(ぼかすときの範囲)に重みをかけた後、足し合わせ、画素数で除した値とすることである。このぼかすときの範囲、すなわちフィルタの形状は正方形、長方形、円形、楕円形などが一般的であるが、本発明の柄癖可視化装置1においては、楕円形を採用することが好適である。これは、観察者が壁紙を見るときの視点位置が壁紙に対して斜め方向にあるため、観察者が投影面での円を見ていても、壁紙では楕円形の領域が投影されているからである。すなわち、観察者は楕円形の領域の輝度値を積算した値を観察しているとみなせる。
図13は、図11の出力画像に対して、ぼかし処理を施した画像である。本来の意匠とは異なる柄癖であるアルファベットの大文字「A」が中央に確認できる。
The blurring process is, for example, applying a weight to the pixels around the pixel of interest (the range when blurring), adding them, and dividing the result by the number of pixels. The range for blurring, that is, the shape of the filter is generally a square, a rectangle, a circle, an ellipse, or the like, but it is preferable to adopt an ellipse in the handle hull visualization device 1 of the present invention. This is because the viewpoint position when the observer sees the wallpaper is oblique to the wallpaper, so even if the observer looks at the circle on the projection plane, an elliptical area is projected on the wallpaper. It is. That is, the observer can be regarded as observing a value obtained by integrating the luminance values of the elliptical area.
FIG. 13 is an image obtained by performing a blurring process on the output image of FIG. The capital letter “A” of the alphabet, which is a handle different from the original design, can be confirmed in the center.

以上説明したように、本発明の実施の形態に係る柄癖可視化装置1は、媒体表面に対する光源方向と視点方向を設定し、媒体のハイトフィールド29、設定された光源方向、視点方向を用いて、影及びオクルージョンを考慮した輝度値を算出し、投影面33に投影し、この投影画像を出力する。出力される投影画像は、グレースケール画像、二値画像、または色相画像等の出力画像に変換して出力される。よって、媒体表面の凹凸により生じる柄癖を画像として確認できるようになり、柄癖確認用のエンボス版を製造する必要がなくなる。また、視点方向や光源方向に応じた影及びオクルージョンを考慮するため、柄癖を正確に可視化できる。   As described above, the handle hull visualization device 1 according to the embodiment of the present invention sets the light source direction and the viewpoint direction with respect to the medium surface, and uses the height field 29 of the medium, the set light source direction, and the viewpoint direction. Then, a luminance value considering shadow and occlusion is calculated, projected onto the projection plane 33, and this projection image is output. The output projection image is converted into an output image such as a gray scale image, a binary image, or a hue image and output. Therefore, it becomes possible to confirm the handle resulting from the unevenness of the medium surface as an image, and it becomes unnecessary to manufacture an embossed plate for checking the handle. In addition, since the shadow and occlusion corresponding to the viewpoint direction and the light source direction are taken into account, the handle can be accurately visualized.

また、制御部3は、ハイトフィールド29の各画素について陰影またはオクルージョンが有るか否かを判定し、陰影またはオクルージョンがあると判定された画素については、その画素の輝度値を0とするか、または他の画素より小さく設定するので、陰影またはオクルージョンとなる画素を他の領域より暗くでき、実環境と同様に柄癖を表現できる。   Further, the control unit 3 determines whether or not each pixel of the height field 29 has a shadow or occlusion, and for a pixel determined to have a shadow or occlusion, the luminance value of the pixel is set to 0, Alternatively, since it is set to be smaller than other pixels, a pixel that becomes a shadow or occlusion can be made darker than other regions, and a pattern can be expressed as in the actual environment.

また、出力画像にぼかし処理を施せば、遠方から意匠を観察したような画像を出力でき、壁紙等の大判の対象についての柄癖確認作業に好適である。
また、出力画像は、濃淡情報、二値情報、または色相情報として表されるため、画像の濃淡、二値(白/黒)、または色相によって柄癖の観察を容易に行うことが可能となる。
Further, if the output image is subjected to a blurring process, an image as if the design was observed from a distance can be output, which is suitable for a work of confirming habit of a large object such as wallpaper.
In addition, since the output image is expressed as shading information, binary information, or hue information, it becomes possible to easily observe the pattern by using the shading, binary (white / black), or hue of the image. .

以上、添付図面を参照して、本発明に係る柄癖確認装置等の好適な実施形態について説明したが、本発明は係る例に限定されない。当業者であれば、本願で開示した技術的思想の範疇内において、各種の変更例または修正例に想到し得ることは明らかであり、それらについても当然に本発明の技術的範囲に属するものと了解される。   The preferred embodiments of the handle checker and the like according to the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to such examples. It will be apparent to those skilled in the art that various changes or modifications can be conceived within the scope of the technical idea disclosed in the present application, and these are naturally within the technical scope of the present invention. Understood.

1・・・・・・柄癖可視化装置
3・・・・・制御部
5・・・・・記憶部
7・・・・・メディア入出力部
9・・・・・通信制御部
11・・・・入力部
13・・・・表示部
15・・・・周辺機器I/F部
17・・・・バス
19・・・・ネットワーク
29・・・・ハイトフィールド
33・・・・投影面
P・・・・・視点(光源)
Q・・・・・注目画素のハイトフィールド
Q’・・・・・注目画素
R・・・・・走査画素R’における視線PQの高さ位置
R’・・・・・走査画素
DESCRIPTION OF SYMBOLS 1 .... Pattern handle visualizing device 3 ... Control part 5 ... Memory | storage part 7 ... Media input / output part 9 ... Communication control part 11 ...・ Input unit 13 ・ ・ ・ ・ Display unit 15 ・ ・ ・ ・ Peripheral equipment I / F unit 17 ・ ・ ・ ・ Bus 19 ・ ・ ・ ・ Network 29 ・ ・ ・ ・ Height field 33 ・ ・ ・ ・ Projection plane P ・ ・... Viewpoint (light source)
Q: Height field of the target pixel Q ′: Target pixel R: Height position of the line of sight PQ at the scanning pixel R ′ R ′: Scanning pixel

Claims (9)

入力されたXY平面上に配置されたハイトフィールドに対して設定される視点及び光源により生じる陰影及びオクルージョンを反映して、前記ハイトフィールドの各画素の輝度値を算出し、前記ハイトフィールドのXY座標に対応する画素の画素値が前記輝度値である投影画像を生成する演算手段と、
前記演算手段により生成された投影画像を出力する出力手段と、
を備える柄癖可視化装置。
The brightness value of each pixel of the height field is calculated by reflecting the shadow and occlusion caused by the viewpoint and light source set for the height field arranged on the input XY plane, and the XY coordinates of the height field are calculated. Computing means for generating a projection image in which the pixel value of the pixel corresponding to is the luminance value ;
Output means for outputting the projection image generated by the computing means;
A handle collar visualization device comprising:
前記演算手段は、
前記ハイトフィールドの各画素について前記陰影またはオクルージョンか否かを判定する判定手段を備え、
前記判定手段によって陰影またはオクルージョンがあると判定された画素については前記輝度値を0とするか、または他の画素より小さく算出することを特徴とする請求項1に記載の柄癖可視化装置。
The computing means is
Determination means for determining whether each pixel of the height field is the shadow or occlusion,
2. The stalk visualization apparatus according to claim 1, wherein the brightness value is calculated to be 0 or smaller than other pixels for a pixel determined to have shadow or occlusion by the determination unit.
前記投影画像の各画素に対して、ぼかし処理を施すぼかし手段を更に備え、
前記出力手段によって出力される画像は、前記ぼかし手段によるぼかし処理が施された画像を含むことを特徴とする請求項1に記載の柄癖可視化装置。
The image processing apparatus further includes a blurring unit that performs a blurring process on each pixel of the projection image.
The pattern bud visualization apparatus according to claim 1, wherein the image output by the output unit includes an image subjected to a blurring process by the blurring unit.
前記投影画像は、前記演算手段により算出された各画素の輝度値を、濃淡情報、二値情報、または色相情報として表した画像であることを特徴とする請求項1に記載の柄癖可視化装置。   The pattern projection visualizing device according to claim 1, wherein the projected image is an image representing the luminance value of each pixel calculated by the computing unit as grayscale information, binary information, or hue information. . コンピュータが行う柄癖可視化方法であって、
前記コンピュータの制御部が、入力されたXY平面上に配置されたハイトフィールドに対して設定される視点及び光源により生じる陰影及びオクルージョンを反映して、前記ハイトフィールドの各画素の輝度値を算出し、前記ハイトフィールドのXY座標に対応する画素の画素値が前記輝度値である投影画像を生成する演算ステップと、
前記制御部が、前記演算ステップにより生成された投影画像を出力する出力ステップと、
を含む柄癖可視化方法。
A computer-aided pattern visualization method performed by a computer,
The control unit of the computer calculates the luminance value of each pixel of the height field, reflecting the shadow and occlusion caused by the viewpoint and the light source set for the height field arranged on the input XY plane. A calculation step of generating a projection image in which the pixel value of the pixel corresponding to the XY coordinates of the height field is the luminance value ;
An output step in which the control unit outputs the projection image generated by the calculation step;
A method for visualizing the handle pattern.
前記演算ステップは、
前記制御部が、前記ハイトフィールドの各画素について前記陰影またはオクルージョンか否かを判定する判定ステップを備え、
前記判定ステップにおいて陰影またはオクルージョンがあると判定された画素については前記輝度値を0とするか、または他の画素より小さく算出することを特徴とする請求項5に記載の柄癖可視化方法。
The calculation step includes:
The control unit includes a determination step of determining whether each pixel of the height field is the shadow or occlusion,
6. The pattern hull visualization method according to claim 5, wherein the luminance value is calculated to be 0 or smaller than other pixels for pixels determined to have shadow or occlusion in the determination step.
前記制御部が、前記投影画像の各画素に対して、ぼかし処理を施すぼかしステップを更に備え、
前記出力ステップによって出力される画像は、前記ぼかし処理が施された画像を含むことを特徴とする請求項5に記載の柄癖可視化方法。
The control unit further includes a blurring step of performing a blurring process on each pixel of the projection image,
The method according to claim 5, wherein the image output by the output step includes an image subjected to the blurring process.
前記投影画像は、前記演算ステップにより算出された各画素の輝度値を、濃淡情報、二値情報、または色相情報として表した画像であることを特徴とする請求項5に記載の柄癖可視化方法。   The pattern projection visualization method according to claim 5, wherein the projection image is an image in which the luminance value of each pixel calculated in the calculation step is represented as grayscale information, binary information, or hue information. . コンピュータにより読み取り可能なプログラムであって、
前記コンピュータを、
入力されたXY平面上に配置されたハイトフィールドに対して設定される視点及び光源により生じる陰影及びオクルージョンを反映して、前記ハイトフィールドの各画素の輝度値を算出し、前記ハイトフィールドのXY座標に対応する画素の画素値が前記輝度値である投影画像を生成する演算手段、
前記演算手段により生成された投影画像を出力する出力手段、
として機能させるためのプログラム。
A computer-readable program,
The computer,
The brightness value of each pixel of the height field is calculated by reflecting the shadow and occlusion caused by the viewpoint and light source set for the height field arranged on the input XY plane, and the XY coordinates of the height field are calculated. Computing means for generating a projection image in which the pixel value of the pixel corresponding to
Output means for outputting the projection image generated by the computing means;
Program to function as.
JP2009258501A 2009-11-12 2009-11-12 Handle pattern visualization apparatus, pattern pattern visualization method, and program Active JP5434499B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009258501A JP5434499B2 (en) 2009-11-12 2009-11-12 Handle pattern visualization apparatus, pattern pattern visualization method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009258501A JP5434499B2 (en) 2009-11-12 2009-11-12 Handle pattern visualization apparatus, pattern pattern visualization method, and program

Publications (2)

Publication Number Publication Date
JP2011103097A JP2011103097A (en) 2011-05-26
JP5434499B2 true JP5434499B2 (en) 2014-03-05

Family

ID=44193399

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009258501A Active JP5434499B2 (en) 2009-11-12 2009-11-12 Handle pattern visualization apparatus, pattern pattern visualization method, and program

Country Status (1)

Country Link
JP (1) JP5434499B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10475230B2 (en) 2015-06-19 2019-11-12 Toppan Printing Co., Ltd. Surface material pattern finish simulation device and surface material pattern finish simulation method

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105142498B (en) * 2013-03-15 2022-10-11 感知技术有限公司 Enhanced optical and perceptual digital eyewear
JP6052000B2 (en) * 2013-03-27 2016-12-27 大日本印刷株式会社 Height data correction device, height data correction method, program
JP6167796B2 (en) * 2013-09-24 2017-07-26 大日本印刷株式会社 Non-landscape concealment visualization device, landless concealment visualization method, program, storage medium, embossed plate production method, sheet production method
JP6550828B2 (en) * 2015-03-23 2019-07-31 大日本印刷株式会社 Information processing apparatus, information processing method, program, recording medium, embossed plate manufacturing system
JP6610065B2 (en) * 2015-07-31 2019-11-27 凸版印刷株式会社 Cosmetic material simulation system, method, and program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5136282B2 (en) * 2008-08-21 2013-02-06 大日本印刷株式会社 Design confirmation device, design confirmation method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10475230B2 (en) 2015-06-19 2019-11-12 Toppan Printing Co., Ltd. Surface material pattern finish simulation device and surface material pattern finish simulation method

Also Published As

Publication number Publication date
JP2011103097A (en) 2011-05-26

Similar Documents

Publication Publication Date Title
JP5434499B2 (en) Handle pattern visualization apparatus, pattern pattern visualization method, and program
US9323490B2 (en) Image processing apparatus and image processing method
US10403040B2 (en) Vector graphics rendering techniques
US9392263B2 (en) 3D scanner, 3D scan method, computer program, and storage medium
US10475230B2 (en) Surface material pattern finish simulation device and surface material pattern finish simulation method
JP2017192767A (en) Image analysis method, image analysis device, and image analysis program
JP5136282B2 (en) Design confirmation device, design confirmation method, and program
US10297036B2 (en) Recording medium, information processing apparatus, and depth definition method
JP4224222B2 (en) Drawing method
JPWO2007013300A1 (en) Abnormal shadow candidate detection method and abnormal shadow candidate detection apparatus
JP7527532B1 (en) IMAGE POINT CLOUD DATA PROCESSING APPARATUS, IMAGE POINT CLOUD DATA PROCESSING METHOD, AND IMAGE POINT CLOUD DATA PROCESSING PROGRAM
JP5630173B2 (en) Gloss unevenness removal noise data generation device, gloss variation removal device, gloss variation removal noise data generation method, gloss variation removal method, and program
JP2006031595A (en) Image processing device
JP6051890B2 (en) Image processing apparatus, image processing method, image display method, and program
CN115452831A (en) Surface inspection device, storage medium, and surface inspection method
JP4826298B2 (en) Optically anisotropic medium creation system and method
CN101174329A (en) Medical image generator and method thereof
US12169627B2 (en) Image display method, information processing apparatus, and recording medium having program recorded thereon
JP7290780B1 (en) Information processing method, computer program and information processing device
JP7708966B2 (en) Output device, output method and program
JP5104040B2 (en) Medium, medium manufacturing apparatus, medium manufacturing method, and program thereof
TWI282947B (en) Silhouette oriented gray font generation
JP6052000B2 (en) Height data correction device, height data correction method, program
JP4726087B2 (en) Data processing apparatus, data processing method, electronic information device, control program, and readable recording medium
JP2012048657A (en) Image processing apparatus and image processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120918

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130430

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130507

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130705

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130726

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130903

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130912

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131125

R150 Certificate of patent or registration of utility model

Ref document number: 5434499

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150