JP5772019B2 - Image processing apparatus and image processing method - Google Patents

Image processing apparatus and image processing method Download PDF

Info

Publication number
JP5772019B2
JP5772019B2 JP2011021640A JP2011021640A JP5772019B2 JP 5772019 B2 JP5772019 B2 JP 5772019B2 JP 2011021640 A JP2011021640 A JP 2011021640A JP 2011021640 A JP2011021640 A JP 2011021640A JP 5772019 B2 JP5772019 B2 JP 5772019B2
Authority
JP
Japan
Prior art keywords
color
deformation
image
medium
grid
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
JP2011021640A
Other languages
Japanese (ja)
Other versions
JP2012161928A (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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2011021640A priority Critical patent/JP5772019B2/en
Publication of JP2012161928A publication Critical patent/JP2012161928A/en
Application granted granted Critical
Publication of JP5772019B2 publication Critical patent/JP5772019B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Record Information Processing For Printing (AREA)
  • Color, Gradation (AREA)

Description

本発明は、変形が施される媒体に該変形前に形成される画像を処理する画像処理装置および画像処理方法に関する。   The present invention relates to an image processing apparatus and an image processing method for processing an image formed on a medium to be deformed before the deformation.

従来、この種の画像処理装置としては、格子が形成されたテスト版下としての成形加工前のデータと、テスト版下で印刷されたものに成形加工が施された三次元形状物をスキャニングして得られた成形加工後のデータとに基づいて、成形加工による形状の変形具合の特徴をつかみ、つかんだ特徴に基づいて三次元形状物に成形した場合にデザイナーが要求する意匠になるような版下を作成するものが提案されている(例えば、特許文献1参照)。また、成形前のuv座標系と成形後のxy座標系とを定め、xy座標上の目標絵柄の各点について対応するuv座標上の各点を求めることで成形に伴う変形を補正した補正済み絵柄を作成し、xy座標上の目標絵柄の各点の色の濃度と濃度関数とから対応するuv座標上の各点の色の濃度を算出することで成形に伴う色の濃度を補正した補正済み濃度を求めるものが提案されている(例えば、特許文献2参照)。   Conventionally, this type of image processing apparatus scans data before molding as a test plate on which a lattice is formed and a three-dimensional shape product that has been molded under the test plate. Based on the post-molding data obtained in this way, grasp the characteristics of the shape deformation by the molding process, and when it is molded into a three-dimensional shape based on the grabbed characteristics, it will become a design required by the designer One that creates a composition has been proposed (see, for example, Patent Document 1). Moreover, the uv coordinate system before shaping | molding and the xy coordinate system after shaping | molding are defined, and the correction | amendment which corrected the deformation | transformation accompanying shaping | molding by calculating | requiring each point on the uv coordinate corresponding to each point of the target picture on xy coordinates Correction that creates a pattern and corrects the density of the color associated with molding by calculating the color density of each point on the corresponding uv coordinate from the density and density function of each point of the target pattern on the xy coordinates A method for obtaining a used concentration has been proposed (see, for example, Patent Document 2).

特開平11−119409号公報JP 11-119409 A 特開2005−199625号公報Japanese Patent Laid-Open No. 2005-199625

しかしながら、上述の特許文献1の装置では、成形加工による形状の変形については考慮されているが、成形加工による色の変化については考慮されていなかった。また、上述の特許文献2の装置では、成形加工による色の濃度変化については考慮されているものの、濃度の補正を行なう各点の位置が変形の補正を行なう各点と同じ位置に限られるから、色の補正が適切になされない場合がある。   However, in the apparatus of the above-described Patent Document 1, the deformation of the shape due to the molding process is considered, but the change of the color due to the molding process is not considered. Further, in the apparatus of Patent Document 2 described above, although the change in color density due to molding is taken into consideration, the position of each point for correcting the density is limited to the same position as each point for correcting the deformation. The color correction may not be performed properly.

本発明の画像処理装置および画像処理方法は、変形が施される媒体に変形前に画像を形成する際に、より適切に色の補正を行なうことを主目的とする。   The image processing apparatus and the image processing method of the present invention are mainly intended to perform color correction more appropriately when an image is formed on a medium to be deformed before the deformation.

本発明の画像処理装置および画像処理方法は、上述の主目的を達成するために以下の手段を採った。   The image processing apparatus and the image processing method of the present invention employ the following means in order to achieve the main object described above.

本発明の画像処理装置は、
変形が施される媒体に該変形前に形成される画像を処理する画像処理装置であって、
複数の多角形を要素とする格子を変形前の前記媒体上に設定する格子設定手段と、
該媒体の変形前後における前記格子の各格子点の位置情報を取得し、該取得した位置情報に基づく各要素の変形の度合いを反映させることにより前記形成される画像の形状を補正する形状補正手段と、
前記格子のいずれかの要素に含まれると共に前記各格子点から外れた位置を画像の色を補正するための色補正点として前記格子上に複数設定する色補正点設定手段と、
形状が補正された形状補正済みの画像が前記格子上に配置された状態で前記色補正点の色を取得すると共に該色補正点を含む要素の変形の度合いを取得し、前記媒体の変形前後の色と該媒体の変形の度合いとの所定の対応関係に基づいて、該媒体の変形後の色として前記取得した色補正点の色を用いると共に該媒体の変形の度合いとして前記取得した要素の変形の度合いを用いて前記複数の色補正点に形成すべき変形前の色をそれぞれ定めることにより前記形成される画像の色を補正する色補正手段と
を備えることを要旨とする。
The image processing apparatus of the present invention
An image processing apparatus for processing an image formed on a medium to be deformed before the deformation,
Lattice setting means for setting a lattice having a plurality of polygons as elements on the medium before deformation;
Shape correction means for acquiring position information of each lattice point of the lattice before and after deformation of the medium and correcting the shape of the formed image by reflecting the degree of deformation of each element based on the acquired position information When,
Color correction point setting means for setting a plurality of positions on the grid as color correction points for correcting the color of the image included in any element of the grid and out of the grid points;
Before and after the deformation of the medium, the color of the color correction point is acquired in a state where the shape-corrected image whose shape is corrected is arranged on the grid, and the degree of deformation of the element including the color correction point is acquired. Based on a predetermined correspondence between the color of the medium and the degree of deformation of the medium, the color of the acquired color correction point is used as the color after deformation of the medium, and the degree of deformation of the medium And a color correction unit that corrects the color of the image to be formed by respectively determining the color before deformation to be formed at the plurality of color correction points using the degree of deformation.

この本発明の画像処理装置では、複数の多角形を要素とする格子を変形前の媒体上に設定し、媒体の変形前後における格子の各格子点の位置情報を取得し、取得した位置情報に基づく各要素の変形の度合いを反映させることにより形成される画像の形状を補正する。そして、格子のいずれかの要素に含まれると共に各格子点から外れた位置を画像の色を補正するための色補正点として格子上に複数設定し、形状が補正された形状補正済みの画像が格子上に配置された状態で色補正点の色を取得すると共に色補正点を含む要素の変形の度合いを取得し、媒体の変形前後の色と媒体の変形の度合いとの所定の対応関係に基づいて、取得した色補正点の色を媒体の変形後の色として用いると共に取得した各要素の変形の度合いを媒体の変形の度合いとして用いて複数の色補正点に形成すべき変形前の色をそれぞれ定めることにより形成される画像の色を補正する。これにより、色の補正に用いる色補正点を、形状の補正に用いる格子点の位置に限られず、必要とされる色補正の精度などに応じて適正な位置に定めて色補正することができる。この結果、変形が施される媒体に変形前に画像を形成する際に、より適切に色の補正を行なうことができる。   In this image processing apparatus of the present invention, a lattice having a plurality of polygons as elements is set on the medium before deformation, position information of each lattice point of the lattice before and after deformation of the medium is acquired, and the acquired position information is The shape of the image to be formed is corrected by reflecting the degree of deformation of each element based thereon. Then, a plurality of positions that are included in any element of the grid and deviate from each grid point are set as color correction points for correcting the color of the image on the grid, and the shape-corrected image whose shape is corrected is obtained. Acquire the color of the color correction point in a state of being arranged on the grid, acquire the degree of deformation of the element including the color correction point, and obtain a predetermined correspondence between the color before and after the deformation of the medium and the degree of deformation of the medium Based on the obtained color correction point color as a post-deformation color of the medium, and using the obtained degree of deformation of each element as the degree of deformation of the medium, the color before deformation to be formed at a plurality of color correction points The color of the image formed is corrected by determining each of the above. Accordingly, the color correction point used for color correction is not limited to the position of the grid point used for shape correction, and color correction can be performed by determining an appropriate position according to the required color correction accuracy. . As a result, when an image is formed on the medium to be deformed before the deformation, color correction can be performed more appropriately.

また、本発明の画像処理装置において、前記色補正点設定手段は、前記色補正点が前記各要素に1つずつ含まれるよう設定する手段であるものとすることもできる。こうすれば、色補正点と格子の要素とが一対一で対応するから、各要素の変形の度合いを色の補正にスムーズに反映させることができる。   In the image processing apparatus of the present invention, the color correction point setting unit may be a unit that sets the color correction point to be included in each element one by one. In this way, since the color correction points and the lattice elements correspond one-to-one, the degree of deformation of each element can be smoothly reflected in the color correction.

さらに、本発明の画像処理装置において、前記色補正点設定手段は、前記色補正点が前記要素の重心に位置するよう設定する手段であるものとすることもできる。こうすれば、各要素の変形の度合いをより精度よく色の補正に反映させることができる。   Furthermore, in the image processing apparatus of the present invention, the color correction point setting means may be a means for setting the color correction point to be positioned at the center of gravity of the element. In this way, the degree of deformation of each element can be reflected in color correction with higher accuracy.

そして、本発明の画像処理装置において、前記色補正点設定手段は、前記格子設定手段により設定される格子の多角形とは別の複数の多角形を要素とする第2の格子の各頂点を、前記複数の色補正点として設定する手段であり、前記色補正手段は、前記定めた色補正点の色を前記第2の格子の各要素における四隅の頂点の色として用いて、該第2の格子の各要素内の色を補間処理により定める手段であるものとすることもできる。こうすれば、第2の格子の各要素内を滑らかに色補正することができる。この態様の本発明の画像処理装置において、前記色補正点設定手段は、前記形状補正手段により形状が補正された画像を覆うよう前記第2の格子を定める手段であり、前記色補正手段により前記色補正点の色と前記第2の格子の各要素内の色とが定められた後に、該第2の格子から前記形状が補正された画像の輪郭に沿って該画像の色を切り出す切出手段と、前記形状補正手段により補正された画像の形状と、前記切出手段により切り出された画像の色とを合わせて、前記画像の形成用のデータとして出力する出力手段とを備えるものとすることもできる。こうすれば、色の属性と形状の属性とに分けたデータとして画像の形成用のデータを得ることができるから、色と形をそれぞれ別々に容易に修正することができる。また、画像の色補正の範囲を、必要な範囲に限定することができるから、処理負担の増加を抑制することができる。   In the image processing apparatus of the present invention, the color correction point setting means calculates each vertex of the second lattice having a plurality of polygons different from the polygon of the lattice set by the lattice setting means. , And a means for setting as a plurality of color correction points, wherein the color correction means uses the color of the determined color correction points as the colors of the vertices of the four corners of each element of the second grid. It can also be a means for determining the color in each element of the grid by interpolation processing. In this way, it is possible to perform color correction smoothly in each element of the second lattice. In this aspect of the image processing apparatus of the present invention, the color correction point setting means is a means for determining the second grid so as to cover an image whose shape has been corrected by the shape correction means. After the color of the color correction point and the color in each element of the second grid are determined, a cutout for cutting out the color of the image along the contour of the image whose shape has been corrected from the second grid And an output unit that outputs the shape of the image corrected by the shape correcting unit and the color of the image cut out by the cutting unit and outputs the data as data for forming the image. You can also. In this way, data for forming an image can be obtained as data divided into color attributes and shape attributes, so that the colors and shapes can be easily corrected separately. Further, since the range of image color correction can be limited to a necessary range, an increase in processing load can be suppressed.

そして、本発明の画像処理装置において、前記所定の対応関係は、複数の色により構成されるカラーサンプルを異なる面積変化率で変形させて測色する処理により得られる、前記カラーサンプルの各色値を前記変形前の色とし、変形後の測色値を変形後の色とし、前記面積変化率を前記変形の度合いとして、予め作成された関係であるものとすることもできる。こうすれば、実際の変形の度合いや実際の色の変化をより正確に反映させた対応関係を用いることができるから、より精度よく媒体に形成すべき色を定めることができる。   In the image processing apparatus of the present invention, the predetermined correspondence relationship is obtained by processing each color value of the color sample obtained by a process of measuring a color sample formed by a plurality of colors with different area change rates. It is also possible to use the pre-deformation color, the post-deformation colorimetric value as the post-deformation color, and the area change rate as the degree of deformation and a previously created relationship. By doing this, it is possible to use a correspondence relationship that more accurately reflects the actual degree of deformation and the actual color change, so that the color to be formed on the medium can be determined more accurately.

本発明の画像処理方法は、
変形が施される媒体に該変形前に形成される画像を処理する画像処理方法であって、
(a)複数の多角形を要素とする格子を変形前の前記媒体上に設定するステップと、
(b)該媒体の変形前後における前記格子の各格子点の位置情報を取得し、該取得した位置情報に基づく各要素の変形の度合いを反映させることにより前記形成される画像の形状を補正するステップと、
(c)該格子のいずれかの要素に含まれると共に前記各格子点から外れた位置を画像の色を補正するための色補正点として前記格子上に複数設定するステップと、
(d)形状が補正された形状補正済みの画像が前記格子上に配置された状態で前記色補正点の色を取得すると共に該色補正点を含む要素の変形の度合いを取得し、前記媒体の変形前後の色と該媒体の変形の度合いとの所定の対応関係に基づいて、該媒体の変形後の色として前記取得した色補正点の色を用いると共に該媒体の変形の度合いとして前記取得した要素の変形の度合いを用いて前記複数の色補正点に形成すべき変形前の色をそれぞれ定めることにより前記形成される画像の色を補正するステップと
を含むことを要旨とする。
The image processing method of the present invention includes:
An image processing method for processing an image formed on a medium to be deformed before the deformation,
(A) setting a lattice having a plurality of polygons as elements on the medium before deformation;
(B) The position information of each lattice point of the lattice before and after the deformation of the medium is acquired, and the shape of the formed image is corrected by reflecting the degree of deformation of each element based on the acquired position information. Steps,
(C) setting a plurality of positions on the grid that are included in any element of the grid and out of the grid points as color correction points for correcting the color of the image;
(D) acquiring the color of the color correction point in a state in which the shape-corrected image whose shape is corrected is arranged on the grid, acquiring the degree of deformation of the element including the color correction point, and the medium Based on a predetermined correspondence between the color before and after the deformation of the medium and the degree of deformation of the medium, the color of the acquired color correction point is used as the color after the deformation of the medium and the degree of deformation of the medium is acquired. And a step of correcting the color of the image to be formed by determining the color before deformation to be formed at the plurality of color correction points using the degree of deformation of the element.

この本発明の画像処理方法では、複数の多角形を要素とする格子を変形前の媒体上に設定し、媒体の変形前後における格子の各格子点の位置情報を取得し、取得した位置情報に基づく各要素の変形の度合いを反映させることにより形成される画像の形状を補正する。そして、格子のいずれかの要素に含まれると共に各格子点から外れた位置を画像の色を補正するための色補正点として格子上に複数設定し、形状が補正された形状補正済みの画像が格子上に配置された状態で色補正点の色を取得すると共に色補正点を含む要素の変形の度合いを取得し、媒体の変形前後の色と媒体の変形の度合いとの所定の対応関係に基づいて、取得した色補正点の色を媒体の変形後の色として用いると共に取得した要素の変形の度合いを媒体の変形の度合いとして用いて複数の色補正点に形成すべき変形前の色をそれぞれ定めることにより形成される画像の色を補正する。これにより、色の補正に用いる色補正点を、形状の補正に用いる格子点の位置に限られず、必要とされる色補正の精度などに応じて適正な位置に定めて色補正することができる。この結果、変形が施される媒体に変形前に画像を形成する際に、より適切に色の補正を行なうことができる。この結果、変形が施される媒体に変形前に画像を形成する際に、より適切に色の補正を行なうことができる。なお、この画像処理方法において、上述した画像処理装置の種々の態様を採用してもよいし、上述した画像処理装置の各機能を実現するようなステップを追加してもよい。   In the image processing method of the present invention, a lattice having a plurality of polygons as elements is set on a medium before deformation, position information of each lattice point of the lattice before and after deformation of the medium is acquired, and the acquired position information is The shape of the image to be formed is corrected by reflecting the degree of deformation of each element based thereon. Then, a plurality of positions that are included in any element of the grid and deviate from each grid point are set as color correction points for correcting the color of the image on the grid, and the shape-corrected image whose shape is corrected is obtained. Acquire the color of the color correction point in a state of being arranged on the grid, acquire the degree of deformation of the element including the color correction point, and obtain a predetermined correspondence between the color before and after the deformation of the medium and the degree of deformation of the medium On the basis of the obtained color correction point color as a post-deformation color of the medium, and using the obtained degree of element deformation as the degree of medium deformation, the color before deformation to be formed at a plurality of color correction points The color of the image formed is corrected by determining each. Accordingly, the color correction point used for color correction is not limited to the position of the grid point used for shape correction, and color correction can be performed by determining an appropriate position according to the required color correction accuracy. . As a result, when an image is formed on the medium to be deformed before the deformation, color correction can be performed more appropriately. As a result, when an image is formed on the medium to be deformed before the deformation, color correction can be performed more appropriately. In this image processing method, various aspects of the above-described image processing apparatus may be adopted, and steps for realizing each function of the above-described image processing apparatus may be added.

加飾成形システム10の構成の概略の一例を示す構成図。The block diagram which shows an example of the outline of a structure of the decoration shaping | molding system 10. FIG. 色補償変換LUT作成システム80の構成の概略の一例を示す構成図。1 is a configuration diagram showing an example of a schematic configuration of a color compensation conversion LUT creation system 80. FIG. 色補償変換LUT66の作成工程の一例を示す工程図。FIG. 5 is a process diagram showing an example of a process for creating a color compensation conversion LUT 66. 色補償変換LUT66の一例を示す説明図。4 is an explanatory diagram illustrating an example of a color compensation conversion LUT 66. FIG. 形状補償処理の様子を示す説明図。Explanatory drawing which shows the mode of a shape compensation process. 色補償処理ルーチンの一例を示すフローチャート。6 is a flowchart illustrating an example of a color compensation processing routine. グリッド92の各格子点と各四角形とを示す説明図。Explanatory drawing which shows each lattice point and each square of the grid 92. FIG. 算出された各四角形の面積変化率Δsの一例を示す説明図。Explanatory drawing which shows an example of the calculated area change rate (DELTA) s of each square. グリッド92上に作成されるメッシュ94の一例を示す説明図。Explanatory drawing which shows an example of the mesh 94 produced on the grid 92. FIG.

次に、本発明の実施の形態を図面を用いて説明する。図1は、本発明の一実施形態である加飾成形システム10の構成の概略の一例を示す構成図である。本実施形態の加飾成形システム10は、図示するように、樹脂製のシート(例えばポリフィルム)などの媒体Sがロール状に巻かれてなるロール36から媒体Sを引き出してインクを吐出することにより画像を印刷するプリンター20と、画像が印刷された後の媒体Sを所望の三次元形状に立体成形する成形装置40と、プリンター20と通信可能に接続され媒体Sに形成すべき画像を入力して印刷データに処理して出力する画像処理装置の機能を有する汎用のパソコン(PC)50とを備えている。   Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram illustrating an example of a schematic configuration of a decorative molding system 10 according to an embodiment of the present invention. As shown in the figure, the decorative molding system 10 of the present embodiment draws out the medium S from a roll 36 in which the medium S such as a resin sheet (for example, a polyfilm) is wound in a roll shape, and ejects ink. A printer 20 that prints an image, a molding device 40 that three-dimensionally shapes the medium S after the image is printed, and an image to be formed on the medium S that is communicably connected to the printer 20 And a general-purpose personal computer (PC) 50 having the function of an image processing apparatus that processes and outputs print data.

プリンター20は、装置全体を制御するコントローラー21と、インクを媒体Sに吐出する印刷機構25と、ロール36から媒体Sを引き出しながら搬送する送り機構32とを備えている。コントローラー21は、CPU22を中心とするマイクロプロセッサーとして構成されており、各種処理プログラムを記憶しデータを書き換え可能なフラッシュメモリー23と、一時的にデータを記憶したりデータを保存したりするRAM24などを備えている。このコントローラー21は、PC50からの印刷データを受信すると共に印刷処理を実行するよう印刷機構25や送り機構32を制御する。印刷機構25は、キャリッジベルト31によりキャリッジ軸30に沿って左右(主走査方向)に往復動するキャリッジ26と、インクに圧力をかけノズル27からインク滴を吐出する印刷ヘッド28と、各色のインクを収容したカートリッジ29とを備えている。印刷ヘッド28は、キャリッジ26の下部に設けられており、圧電素子に電圧をかけることによりこの圧電素子を変形させてインクを加圧する方式により、印刷ヘッド28の下面に設けられたノズル27から各色のインクを吐出して媒体S上にドットを形成するものである。なお、インクへ圧力をかける機構は、ヒーターの熱による気泡の発生によるものとしてもよい。カートリッジ29は、本体側に装着され、シアン(c),マゼンタ(m),イエロー(y),ブラック(k),オレンジ(o),パープル(p)などのcmykopの各色のインクを個別に収容しており、この収容したインクを図示しないチューブを介して印刷ヘッド28へ供給する。送り機構32は、駆動モーター33により駆動されて媒体Sを搬送する送りローラー35などを備えている。   The printer 20 includes a controller 21 that controls the entire apparatus, a printing mechanism 25 that ejects ink onto the medium S, and a feeding mechanism 32 that conveys the medium S while being pulled out from a roll 36. The controller 21 is configured as a microprocessor centered on the CPU 22, and includes a flash memory 23 that stores various processing programs and can rewrite data, and a RAM 24 that temporarily stores data and stores data. I have. This controller 21 receives the print data from the PC 50 and controls the printing mechanism 25 and the feeding mechanism 32 so as to execute the printing process. The printing mechanism 25 includes a carriage 26 that reciprocates left and right (main scanning direction) along a carriage shaft 30 by a carriage belt 31, a print head 28 that applies pressure to ink and ejects ink droplets from nozzles 27, and inks of various colors. And a cartridge 29 containing the cartridge. The print head 28 is provided in the lower part of the carriage 26, and each color is supplied from the nozzle 27 provided on the lower surface of the print head 28 by applying a voltage to the piezoelectric element to deform the piezoelectric element and pressurize the ink. The ink is ejected to form dots on the medium S. The mechanism for applying pressure to the ink may be based on the generation of bubbles due to the heat of the heater. The cartridge 29 is mounted on the main body side and individually accommodates inks of each color of cmykop such as cyan (c), magenta (m), yellow (y), black (k), orange (o), purple (p). The accommodated ink is supplied to the print head 28 through a tube (not shown). The feed mechanism 32 includes a feed roller 35 that is driven by a drive motor 33 and transports the medium S.

成形装置40は、媒体Sの上方側に配置される上型部41と、媒体Sの下方側に配置される下型部42とを備えている。上型部41や下型部42には、図示しない金型がセットされており、上下の金型で媒体Sを挟み込むことにより媒体Sを三次元形状に成形する。なお、成形装置40による成形は、加熱成形であってもよいし、加圧成形であってもよい。また、この成形装置40にセットされる金型は、複数種の異なる金型を交換可能なものとした。なお、媒体Sは、成形前あるいは成形後に、プリンター20と成形装置40との間に配置された切断機37により所定長さに切断される。   The forming apparatus 40 includes an upper mold part 41 disposed on the upper side of the medium S and a lower mold part 42 disposed on the lower side of the medium S. A mold (not shown) is set in the upper mold part 41 and the lower mold part 42, and the medium S is formed into a three-dimensional shape by sandwiching the medium S with upper and lower molds. The molding by the molding apparatus 40 may be heat molding or pressure molding. In addition, the mold set in the molding apparatus 40 can be replaced with a plurality of different molds. The medium S is cut into a predetermined length by a cutting machine 37 disposed between the printer 20 and the molding apparatus 40 before or after molding.

PC50は、装置全体の制御を司るコントローラー51と、各種アプリケーションプログラムや各種データファイルを記憶する大容量メモリであるHDD55と、プリンター20などの外部機器とのデータの入出力を行うネットワークインターフェイス(I/F)56と、ユーザーが各種指令を入力するキーボードやマウスなどの入力装置57と、各種情報を表示するディスプレイ58とを備えている。コントローラー51は、各種制御を実行するCPU52や各種制御プログラムを記憶するフラッシュメモリー53、データを一時的に記憶するRAM54などを備えている。このPC50は、ディスプレイ58に表示されたカーソルなどをユーザーが入力装置57を介して入力操作すると、その入力操作に応じた動作を実行する機能を有している。コントローラー51やHDD55、I/F56、入力装置57、ディスプレイ58などは、バス59によって電気的に接続され、各種制御信号やデータのやり取りができるよう構成されている。   The PC 50 is a network interface (I / O) for inputting / outputting data to / from an external device such as the controller 51, the HDD 55, which is a large-capacity memory that stores various application programs and various data files, and the like. F) 56, an input device 57 such as a keyboard and a mouse for inputting various commands by the user, and a display 58 for displaying various information. The controller 51 includes a CPU 52 that executes various controls, a flash memory 53 that stores various control programs, a RAM 54 that temporarily stores data, and the like. The PC 50 has a function of executing an operation corresponding to the input operation when the user performs an input operation on the cursor or the like displayed on the display 58 via the input device 57. The controller 51, the HDD 55, the I / F 56, the input device 57, the display 58, and the like are electrically connected by a bus 59 so that various control signals and data can be exchanged.

このPC50のHDD55には、図示しないアプリケーションプログラムや変形画像処理プログラム60,印刷ドライバー70などが格納されている。変形画像処理プログラム60は、媒体Sの成形に伴う変形により成形品(成形後の媒体S)の表面に形成されている画像(文字や模様などを含む)に生じる形状ずれや色ずれを補正するために用いられるプログラムである。この変形画像処理プログラム60は、各種データを入力するデータ入力部61と、入力されたデータから処理に必要な値を算出する算出部62と、三次元の画像(絵柄)モデルを編集する3D絵柄編集部63と、成形に伴う形状ずれを補償する形状補償部64と、成形に伴う色ずれを補償する色補償部65と、処理したデータを出力するデータ出力部67とを有している。データ入力部61は、複数の四角形を要素とするグリッドが構成された媒体Sの成形前後のグリッドの各格子点の位置情報をそれぞれ入力したり媒体Sに形成される対象の画像を入力したりする機能を有している。算出部62は、データ入力部61により入力された成形前後のグリッドの各格子点の位置情報に基づいて各格子点の歪み方向や歪み量を算出したりグリッドの各四角形の成形前後の面積変化を算出したりする機能を有している。3D絵柄編集部63は、データ入力部61により入力された各格子点の位置情報を基に成形前の媒体Sに形成した画像の編集や成形後の媒体Sに形成した画像の編集を実行する機能を有している。形状補償部64は、媒体Sの成形時の変形によって生じる画像の形状の変化を反映させて目的の形状に補正する形状補償を実行する機能を有している。色補償部65は、媒体Sの成形時の変形によって生じる画像の色合いの変化を反映させるために色補償変換ルックアップテーブル(LUT)66を用いて目的の色合いに補正する色補償を実行する機能を有している。なお、色補償変換LUT66については後述する。データ出力部67は、形状ずれや色ずれが補償された補正後の画像データを印刷ドライバー70や図示しないアプリケーションプログラムなどへ出力する機能を有している。これらのデータ入力部61や算出部62,3D絵柄編集部63,形状補償部64,色補償部65,データ出力部67は、それぞれ、データ入力モジュールや算出モジュール,3D絵柄編集モジュール,形状補償モジュール,色補償モジュール,データ出力モジュールとして変形画像処理プログラムに組み込まれている。そして、これらの各モジュールがコントローラー51により実行されることにより、それぞれ上述した機能を発現するものとした。また、印刷ドライバー70は、アプリケーションプログラム側から受けた印刷ジョブをプリンター20で直接印刷処理可能な印刷データへ変換してプリンター20へ出力(送信)するプログラムである。この印刷ドライバー70は、変形画像処理プログラム60で作成された印刷データをプリンター20へ出力する機能を有している。   The HDD 55 of the PC 50 stores an application program (not shown), a modified image processing program 60, a print driver 70, and the like. The deformed image processing program 60 corrects a shape shift and a color shift that occur in an image (including characters and patterns) formed on the surface of a molded product (the medium S after molding) due to deformation accompanying the molding of the medium S. This is a program used for this purpose. The modified image processing program 60 includes a data input unit 61 for inputting various data, a calculation unit 62 for calculating a value necessary for processing from the input data, and a 3D picture for editing a three-dimensional image (picture) model. The editing unit 63 includes a shape compensation unit 64 that compensates for a shape shift associated with molding, a color compensation unit 65 that compensates for a color shift associated with molding, and a data output unit 67 that outputs processed data. The data input unit 61 inputs position information of each lattice point of the grid before and after forming the medium S in which a grid having a plurality of quadrilateral elements is configured, or inputs an image of a target formed on the medium S. It has a function to do. The calculation unit 62 calculates the strain direction and the strain amount of each grid point based on the positional information of each grid point before and after the molding input by the data input unit 61 and changes the area before and after the molding of each square of the grid. It has the function to calculate. The 3D picture editing unit 63 executes editing of the image formed on the medium S before forming and editing of the image formed on the medium S after forming based on the position information of each grid point input by the data input unit 61. It has a function. The shape compensation unit 64 has a function of executing shape compensation that corrects the target shape by reflecting a change in the shape of the image caused by deformation during the formation of the medium S. The color compensation unit 65 has a function of executing color compensation for correcting to a target color using a color compensation conversion look-up table (LUT) 66 in order to reflect a change in color of an image caused by deformation at the time of forming the medium S. have. The color compensation conversion LUT 66 will be described later. The data output unit 67 has a function of outputting the corrected image data compensated for the shape shift and color shift to the print driver 70, an application program (not shown), and the like. The data input unit 61, the calculation unit 62, the 3D picture editing unit 63, the shape compensation unit 64, the color compensation unit 65, and the data output unit 67 are respectively a data input module, a calculation module, a 3D picture editing module, and a shape compensation module. , A color compensation module and a data output module are incorporated in the modified image processing program. Each of these modules is executed by the controller 51 so that the functions described above are expressed. The print driver 70 is a program that converts a print job received from the application program side into print data that can be directly printed by the printer 20 and outputs (transmits) the print job to the printer 20. The print driver 70 has a function of outputting print data created by the modified image processing program 60 to the printer 20.

ここで、色補償処理で用いられる色補償変換LUT66について説明する。この色補償変換LUT66は、媒体Sの成形時の変形に伴う色変化が反映された変形後の色値と、成形に伴う媒体Sの変形の度合いと、成形前の媒体Sに形成(印刷)される変形前の色値との関係を定めた対応関係テーブルとして、色補償変換LUT作成システム80において作成されるものである。図2は、色補償変換LUT作成システム80の構成の概略の一例を示す構成図である。色補償変換LUT作成システム80は、汎用のインク色のデータや媒体Sの面積変化率のデータ,変形後の測色データなど処理に必要な各種データを入力するデータ入力部82と、入力されたデータを用いて色補償変換LUT66を作成するLUT作成処理部82と、作成された色補償変換LUT66を出力するLUT出力部86とを有している。ここで、色補償変換LUT66では、成形前の媒体Sに形成される変形前の色値として、汎用の色規格で用いられる原色の組合せを用いるものとした。この原色の組合せとしては、本実施形態では、JapanColor認証制度の色規格に準拠したシアン(C),マゼンタ(M),イエロー(Y),ブラック(K)のCMYKの各色成分(ここでは、プリンター20のインク色と区別するために大文字で表記)の組合せを用いるものとした。次に、色補償変換LUT作成システム80を用いて行なわれる色補償変換LUT66の作成工程について説明する。図3は、色補償変換LUTの作成工程の一例を示す工程図である。   Here, the color compensation conversion LUT 66 used in the color compensation process will be described. The color compensation conversion LUT 66 is formed (printed) on the deformed color value reflecting the color change accompanying the deformation at the time of forming the medium S, the degree of deformation of the medium S accompanying the forming, and the medium S before forming. The color compensation conversion LUT creation system 80 creates a correspondence table that defines the relationship with the color values before transformation. FIG. 2 is a configuration diagram illustrating an example of a schematic configuration of the color compensation conversion LUT creation system 80. The color compensation conversion LUT creation system 80 has a data input unit 82 for inputting various data necessary for processing such as general-purpose ink color data, area S rate change data of the medium S, and colorimetric data after deformation. An LUT creation processing unit 82 that creates a color compensation conversion LUT 66 using data and an LUT output unit 86 that outputs the created color compensation conversion LUT 66 are provided. Here, in the color compensation conversion LUT 66, a combination of primary colors used in a general-purpose color standard is used as a color value before deformation formed on the medium S before molding. In this embodiment, the primary color combinations include cyan (C), magenta (M), yellow (Y), and black (K) CMYK color components (in this case, a printer) that comply with the color standards of the JapanColor certification system. In order to distinguish from the 20 ink colors, a combination of uppercase letters) was used. Next, a process of creating the color compensation conversion LUT 66 performed using the color compensation conversion LUT creation system 80 will be described. FIG. 3 is a process diagram illustrating an example of a process for creating a color compensation conversion LUT.

この色補償変換LUTの作成工程では、まず、実成形に用いられる媒体Sと同じ素材の複数のテストシート(媒体S)を準備してそれぞれのテストシートに複数のカラーパッチを印刷する印刷処理を行なう(工程S100)。このカラーパッチの印刷に用いられるデータは、上述した汎用のCMYK値の組合せにより定めるものとし、具体的には、印刷後に成形を行なわない通常の印刷において最大濃度のパッチを形成するのに必要なインクの吐出量を100%として、CMYKの各色成分を0%から500%までの通常の印刷範囲を超える範囲内で50%刻みで変化させた組合せを用いるものとした。ここで、印刷後に媒体Sの成形を行なうものにおいては、画像が大きく引き延ばされることによる各色の濃度低下の防止を目的として、通常の印刷範囲を超えるインク量が使用される場合がある。そのような場合に対応するために、CMYKの組合せとして各色成分が100%を超える組合せを用いるのである。なお、こうして定めた汎用のCMYK値の組合せを印刷前に印刷装置で用いられるインクの各色の組合せに変換するものとし、例えば、上述したプリンター20を用いて印刷処理を行なう場合には、印刷前にCMYK値の組合せからインクの各色の組合せとしてのcmykop値に変換する。次に、カラーパッチが印刷された複数のテストシートをそれぞれ異なる面積変化率Δsをもって変形させる変形処理を行なう(工程S110)。この面積変化率Δsは、変形後のテストシートの面積を変形前の面積で除したものであり、成形装置40により複数種の異なる金型をそれぞれ用いて媒体Sの各種成形がなされた場合の媒体Sの変形範囲を十分にカバーできる程度の範囲を定めて行なう。本実施形態では、100%(変形なし)から400%の間を50%刻みとした計7通りの面積変化率Δsでテストシートを変形させるものとした。なお、この7通りの変形を行なうため、工程S100では、7枚のテストシートを準備して印刷するものとした。また、工程S110の変形は、成形装置40にセットされる実成形用の金型を用いて行なわれるものではなく、定められた面積変化率Δsをもって各テストシート全体を均一に変形させることが可能な装置を用いるものとした。こうして変形処理を行なうと、変形後の各テストシートのすべてのカラーパッチをそれぞれ測色する測色処理を行なう(工程S120)。この測色処理は、例えば、分光光度計などを用いて、色相,彩度,明度を表すL*a*b*表色系の色座標の値(以下、Lab値とする)を求めることにより行なう。   In the process of creating the color compensation conversion LUT, first, a printing process is performed in which a plurality of test sheets (medium S) made of the same material as the medium S used for actual forming are prepared and a plurality of color patches are printed on each test sheet. Perform (step S100). The data used for printing this color patch is determined by a combination of the above-mentioned general-purpose CMYK values. Specifically, it is necessary to form a patch having the maximum density in normal printing in which no shaping is performed after printing. A combination was used in which each of the CMYK color components was changed in 50% increments within a range exceeding the normal printing range from 0% to 500%, assuming that the ink ejection amount was 100%. Here, in the case where the medium S is formed after printing, an ink amount exceeding the normal printing range may be used for the purpose of preventing the density of each color from being lowered due to the image being greatly stretched. In order to cope with such a case, a combination in which each color component exceeds 100% is used as a combination of CMYK. The combination of general-purpose CMYK values determined in this way is converted into a combination of ink colors used in the printing apparatus before printing. For example, when printing is performed using the printer 20 described above, before printing, The CMYK value is converted from the combination of the CMYK values to the combination of the ink colors. Next, a deformation process for deforming the plurality of test sheets on which the color patches are printed with different area change rates Δs is performed (step S110). This area change rate Δs is obtained by dividing the area of the test sheet after deformation by the area before deformation, and when the medium S is variously molded by the molding apparatus 40 using a plurality of different molds. A range that can sufficiently cover the deformation range of the medium S is determined. In the present embodiment, the test sheet is deformed at a total area change rate Δs of 7 patterns in which 100% (no deformation) to 400% is incremented by 50%. In order to perform these seven variations, in step S100, seven test sheets were prepared and printed. Further, the deformation in step S110 is not performed using an actual molding die set in the molding apparatus 40, and the entire test sheet can be uniformly deformed with a predetermined area change rate Δs. A simple apparatus was used. When the deformation process is performed in this way, a color measurement process is performed to measure all the color patches of each test sheet after the deformation (step S120). In this color measurement process, for example, by using a spectrophotometer or the like, a color coordinate value (hereinafter referred to as a Lab value) of the L * a * b * color system representing hue, saturation, and brightness is obtained. Do.

こうして印刷処理と変形処理と測色処理とを行なうと、汎用のインク色データとしてのCMYK値と、面積変化率のデータとしての面積変化率Δsと、測色データとしてのLab値とを処理に必要なデータとして色補償変換LUT作成システム80のデータ入力部82に入力する入力処理を行なう(工程S130)。次に、演算処理部84により、面積変化率Δs毎に変形前のCMYK値から変形後のLab値への変換を対応付ける処理を行なう(工程S140)。こうして対応付けられた面積変化率Δs毎のCMYK値からLab値への変換に基づいて、変形後のLab値と面積変化率Δsとから変形前のCMYK値を逆変換により導出するための対応関係をルックアップテーブル形式で作成する作成処理を行なって(工程S150)、作成したルックアップテーブル形式の対応関係を色補償変換LUT66としてLUT出力部86から出力して(工程S160)、本工程を終了する。ここで、工程S150の作成処理では、Lab値の各値をそれぞれ所定値(例えば、値10)ずつ変化させた色に対するCMYK値を各面積変化率Δs毎にそれぞれ求める処理を行なう。このとき、工程S140でLab値の各値をそれぞれ所定値ずつ変化させた色に対するCMYK値が対応付けられていない場合には、近似の値から補間処理により求めるものとした。この作成工程により作成された色補償変換LUT66の一例を図4に示す。なお、図4では、色補償変換LUT66の一部分のみを図示した。図示するように、色補償変換LUT66では、変形後のLab値と面積変化率Δsとが与えられると変形前の汎用のCMYK値を導出することができ、面積変化率Δsが大きくなるほどCMYK値が大きくなる傾向に設定する。また、色相を表すことができるLab値を用いた対応関係として色補償変換LUT66を作成したから、後述する色補償処理において色相の変化を含めて色の変化の影響をより精度よく反映させることができる。このように、変形後の色値としてのLab値と、変形の度合いとしての面積変化率Δsと、変形前の色値としてのCMYK値との対応関係を定めた色補償変換LUT66が作成され、こうして作成された色補償変換LUT66がPC50のHDD55に記憶されることになる。   When the printing process, the deformation process, and the colorimetric process are thus performed, the CMYK value as general-purpose ink color data, the area change rate Δs as the area change rate data, and the Lab value as the colorimetric data are processed. An input process for inputting the data as necessary data to the data input unit 82 of the color compensation conversion LUT creation system 80 is performed (step S130). Next, the arithmetic processing unit 84 performs processing for associating conversion from the CMYK value before deformation to the Lab value after deformation for each area change rate Δs (step S140). Based on the conversion from the CMYK value to the Lab value for each area change rate Δs thus associated, the correspondence relationship for deriving the CMYK value before deformation from the Lab value after deformation and the area change rate Δs by inverse conversion. Is created in the lookup table format (step S150), and the correspondence relationship of the created lookup table format is output from the LUT output unit 86 as the color compensation conversion LUT 66 (step S160), thus ending this process. To do. Here, in the creation process of step S150, a CMYK value for a color obtained by changing each value of the Lab value by a predetermined value (for example, value 10) is obtained for each area change rate Δs. At this time, if the CMYK values corresponding to the colors obtained by changing the Lab values by predetermined values in step S140 are not associated with each other, the approximate values are obtained by interpolation processing. An example of the color compensation conversion LUT 66 created by this creation step is shown in FIG. In FIG. 4, only a part of the color compensation conversion LUT 66 is shown. As shown in the figure, in the color compensation conversion LUT 66, when the Lab value after deformation and the area change rate Δs are given, a general-purpose CMYK value before deformation can be derived, and the CMYK value increases as the area change rate Δs increases. Set to tend to increase. In addition, since the color compensation conversion LUT 66 is created as a correspondence relationship using Lab values that can represent the hue, it is possible to more accurately reflect the influence of the color change including the hue change in the color compensation processing described later. it can. In this way, the color compensation conversion LUT 66 that defines the correspondence between the Lab value as the color value after deformation, the area change rate Δs as the degree of deformation, and the CMYK value as the color value before deformation is created. The color compensation conversion LUT 66 created in this way is stored in the HDD 55 of the PC 50.

次に、こうして構成された本実施形態の加飾成形システム10の処理について、まず、形状補償処理について説明する。図5は、変形画像処理プログラム60により実行される形状補償処理の様子を示す説明図である。この形状補償処理では、コントローラー51のCPU52は、まず、縦横に等間隔の複数の格子点を有する四角形(正方形)を要素とするグリッド92を平面状の媒体に構成した画像を作成する(図5(a))。なお、図示の都合上、グリッド92の格子点は実際よりも少ない(間引いた)状態で図示し、格子点の間隔はプリンター20のドットの形成間隔(例えば、720dpiや1440dpiなど)よりも広いものとした。また、これらの各格子点の初期位置(変形前の位置)の位置情報は保持されるものとした。次に、目的の製品の形状に成形されるように媒体を変形させる処理を行ない、変形前後のグリッド92の各格子点の位置情報を入力して変形後の各格子点の三次元座標位置や各格子点の歪み方向や歪み量,各要素の変形度合いなどを算出する。なお、各要素の変形度合いとしては、四角形の面積変化率などが用いられるが、その詳細については後述する。そして、これらの算出結果に基づいて、各要素の変形度合いなどを反映させて成形後の立体物の三次元の画像モデルを作成し、作成した三次元の画像モデルをディスプレイ58へ表示処理する(図5(b))。次に、使用者の入力操作によって三次元の画像モデル上で絵柄の位置が指定されると、指定された位置に絵柄としての印刷対象の画像を配置し(図5(c))、二次元変換指示が入力されると、三次元での座標値を二次元の座標値に変換して変換後の画像を表示する(図5(d))。このようにして、成形後に目的とする絵柄となる形状の画像が成形前の媒体上に形成され、成形前に媒体Sに印刷すべき画像の形状データを作成することができる。なお、図5(d)の画像が媒体Sに印刷されて成形された結果の実成形品を図5(e)に示す。こうして作成された形状データには、以下に説明する色補償処理が施される。   Next, regarding the process of the decorative molding system 10 of the present embodiment configured as described above, the shape compensation process will be described first. FIG. 5 is an explanatory diagram showing the shape compensation process executed by the modified image processing program 60. In this shape compensation processing, the CPU 52 of the controller 51 first creates an image in which a grid 92 having a quadrilateral (square) having a plurality of lattice points at equal intervals in the vertical and horizontal directions is formed on a planar medium (FIG. 5). (A)). For the convenience of illustration, the grid 92 is shown with fewer grid points than the actual one (thinned out), and the grid point interval is wider than the dot formation interval of the printer 20 (for example, 720 dpi, 1440 dpi, etc.). It was. Further, the position information of the initial position (position before deformation) of each of these lattice points is held. Next, the medium is deformed so as to be formed into the shape of the target product, the positional information of each lattice point of the grid 92 before and after the deformation is input, and the three-dimensional coordinate position of each lattice point after the deformation is The distortion direction and distortion amount of each lattice point, the degree of deformation of each element, etc. are calculated. Note that a square area change rate or the like is used as the degree of deformation of each element, details of which will be described later. Based on these calculation results, a three-dimensional image model of the three-dimensional object after molding is created by reflecting the degree of deformation of each element, and the created three-dimensional image model is displayed on the display 58 ( FIG. 5B). Next, when the position of the pattern is specified on the three-dimensional image model by the user's input operation, the image to be printed as a pattern is arranged at the specified position (FIG. 5C), and the two-dimensional When a conversion instruction is input, the three-dimensional coordinate value is converted into a two-dimensional coordinate value, and the converted image is displayed (FIG. 5D). In this manner, an image having a shape that becomes a target pattern after forming is formed on the medium before forming, and shape data of an image to be printed on the medium S before forming can be created. FIG. 5E shows an actual molded product obtained by printing the image of FIG. 5D on the medium S and molding the image. The shape data thus created is subjected to color compensation processing described below.

次に、色補償変換LUT66を用いた色補償処理について説明する。図6は、コントローラー51のCPU52により実行される色補償処理ルーチンの一例を示すフローチャートである。このルーチンは、HDD55に記憶され、形状補償処理がなされた後に色補償の実行指示が入力されたときに実行される。なお、色補償の実行指示は、例えば、形状補償処理後に、変形画像処理プログラム60の図示しない編集画面がディスプレイ58に表示された状態で、編集画面上の色補償実行ボタンを入力装置57でクリックすることにより入力されるものなどとすればよい。   Next, color compensation processing using the color compensation conversion LUT 66 will be described. FIG. 6 is a flowchart illustrating an example of a color compensation processing routine executed by the CPU 52 of the controller 51. This routine is stored in the HDD 55 and executed when a color compensation execution instruction is input after the shape compensation process is performed. For example, the color compensation execution instruction is obtained by clicking the color compensation execution button on the editing screen with the input device 57 in a state where an editing screen (not shown) of the deformed image processing program 60 is displayed on the display 58 after the shape compensation processing. What is necessary is just to be input by doing.

この色補償処理ルーチンが実行されると、CPU52は、まず、変形加工前後のグリッド92の各格子点の位置情報を取得する(ステップS200)。この位置情報の取得は、上述した形状補償処理で説明した変形前後の格子点の三次元座標をそれぞれ取得することにより行なう。次に、取得した各格子点の位置情報からグリッド92の各要素の変形度合いとしての各四角形の面積変化率Δsを算出する(ステップS210)。ここで、グリッド92の各格子点と各四角形とを図7に示す。なお、図7では、グリッド92の一部を拡大して示しており、図7中の対象画像(文字A)は、上述した形状補償処理後の画像(図5(d)参照)が配置されたものである。各四角形の面積変化率Δsの算出は、ステップS200で取得した各格子点の変形前後の位置情報から変形前後の四角形の面積をそれぞれ算出して、変形後の四角形の面積を変形前の面積で除することにより行なう。なお、変形前の各四角形の面積はすべて同一であるため一定値を用いてもよい。こうして算出される各四角形の面積変化率Δsの一例を図8に示す。なお、要素No.は、グリッド92の左上の四角形を起点として左から右へ、上から下へと順に付すものとした。続いて、グリッド92の各四角形の重心の位置を頂点とするメッシュ94をグリッド92上に作成する(ステップS220)。このグリッド92上に作成されるメッシュ94の一例を図9に示す。図示するように、形状補償処理後の画像が配置されたグリッド92上に、グリッド92の各四角形のそれぞれにメッシュ94の各頂点(白丸で図示)が1つずつ含まれると共に各頂点がグリッド92の各格子点から外れた四角形の重心に位置するよう、メッシュ94を作成する。なお、このメッシュ94の頂点が、本発明の色補正点に相当する。そして、このメッシュ94の各頂点のLab値を取得する(ステップS230)。このLab値は変形加工後に呈すべき色であり、その取得は、入力された画像のRGB値やCMYK値などの色の情報に基づいて各頂点に対応する位置の形状補償処理後の画像の色値を求め、求めた色値をLab値に変換することにより取得することができる。あるいは、図5(d)や図7,図9のような形状補償処理後の画像を含む図示しない編集画面をディスプレイ58上に表示して入力装置57を用いた画像の色の指定を受け付け、受け付けた色に基づいて各頂点に対応する位置の色値を求め、求めた色値をLab値に変換することにより取得することができる。   When this color compensation processing routine is executed, the CPU 52 first acquires position information of each grid point of the grid 92 before and after the deformation process (step S200). This position information is acquired by acquiring the three-dimensional coordinates of the lattice points before and after the deformation described in the shape compensation process described above. Next, the area change rate Δs of each square as the degree of deformation of each element of the grid 92 is calculated from the acquired position information of each grid point (step S210). Here, each lattice point and each square of the grid 92 are shown in FIG. In FIG. 7, a part of the grid 92 is shown in an enlarged manner, and the target image (character A) in FIG. 7 is an image after the shape compensation processing described above (see FIG. 5D). It is a thing. The area change rate Δs of each quadrangle is calculated by calculating the area of the quadrangle before and after the deformation from the position information before and after the deformation of each lattice point acquired in step S200, and the area of the quadrangle after the deformation is the area before the deformation. It is done by dividing. In addition, since the area of each square before the deformation is the same, a constant value may be used. An example of the area change rate Δs of each quadrangle calculated in this way is shown in FIG. Element No. Are given in order from left to right and from top to bottom starting from the upper left square of the grid 92. Subsequently, a mesh 94 having a vertex at the position of the center of gravity of each square of the grid 92 is created on the grid 92 (step S220). An example of the mesh 94 created on the grid 92 is shown in FIG. As shown in the drawing, each vertex of the mesh 94 (shown by a white circle) is included in each of the squares of the grid 92 on the grid 92 on which the image after the shape compensation processing is arranged, and each vertex is represented by the grid 92. The mesh 94 is created so as to be positioned at the center of gravity of the quadrangle that is out of each grid point. The vertex of the mesh 94 corresponds to the color correction point of the present invention. Then, the Lab value of each vertex of the mesh 94 is acquired (step S230). This Lab value is a color to be presented after the deformation processing, and the acquisition thereof is the color of the image after the shape compensation processing at the position corresponding to each vertex based on the color information such as the RGB value and CMYK value of the input image. It can be obtained by obtaining a value and converting the obtained color value into a Lab value. Alternatively, an editing screen (not shown) including the image after the shape compensation processing as shown in FIG. 5 (d), FIG. 7, or FIG. 9 is displayed on the display 58, and designation of the color of the image using the input device 57 is accepted. A color value at a position corresponding to each vertex is obtained based on the received color, and can be obtained by converting the obtained color value into a Lab value.

こうしてメッシュ94の各頂点のLab値やグリッド92の各四角形の面積変化率Δsを取得すると、処理対象のメッシュ94の頂点を設定して(ステップS240)、処理対象の頂点のLab値と処理対象の頂点に対応するグリッド92の四角形の面積変化率Δsとをそれぞれ読み込む(ステップS250)。なお、処理対象の頂点は、メッシュ94の左上隅の頂点を起点として左から右へ、上から下へと順に設定する。ここで、処理対象範囲としては、後述するようにメッシュ94の色値を補間処理するため、対象画像(文字A)の外側まで完全に包含するのに必要な範囲を定めるものとした。また、処理対象の頂点に対応するグリッド92の四角形は、処理対象の頂点に重心が一致する四角形に定める。上述したように、グリッド92の各四角形にメッシュ94の各頂点が1つずつ含まれており、メッシュ94の頂点とグリッド92の四角形とが一対一で対応しているから、処理対象の頂点に対応するグリッド92の四角形の面積変化率Δsをそのまま読み込むことができる。また、上述したように、本実施形態では、各四角形の重心に各頂点が位置するようメッシュ94を作成している。ここで、四角形の重心の近傍には、四角形の各頂点の近傍などに比して、四角形の各部分に生じる大小様々な変形のうち平均的な度合いの変形が作用するといえるため、その四角形の面積変化率Δsに近い変形が生じていると考えることができる。このため、メッシュ94の頂点を重心とするグリッド92の四角形の面積変化率Δsを読み込むことにより、メッシュ94の頂点における変形の度合いをより正確に反映させたものを読み込むことができる。   When the Lab value of each vertex of the mesh 94 and the area change rate Δs of each square of the grid 92 are acquired in this way, the vertex of the mesh 94 to be processed is set (step S240), and the Lab value of the vertex to be processed and the processing target are set. The square area change rate Δs of the grid 92 corresponding to each vertex is read (step S250). The processing target vertices are set in order from left to right and from top to bottom starting from the top left corner of the mesh 94. Here, as the processing target range, since the color value of the mesh 94 is interpolated as will be described later, a range necessary for completely including the outside of the target image (character A) is determined. Further, the quadrilateral of the grid 92 corresponding to the vertex to be processed is determined to be a quadrangle whose centroid coincides with the vertex to be processed. As described above, each square of the grid 92 includes one vertex of the mesh 94, and the vertex of the mesh 94 and the square of the grid 92 have a one-to-one correspondence. The square area change rate Δs of the corresponding grid 92 can be read as it is. Further, as described above, in this embodiment, the mesh 94 is created so that each vertex is located at the center of gravity of each quadrangle. Here, in the vicinity of the center of gravity of the quadrilateral, it can be said that an average degree of deformation among the large and small deformations that occur in each part of the quadrilateral acts as compared to the vicinity of each vertex of the quadrilateral. It can be considered that deformation close to the area change rate Δs occurs. Therefore, by reading the square area change rate Δs of the grid 92 with the vertex of the mesh 94 as the center of gravity, it is possible to read the data that more accurately reflects the degree of deformation at the vertex of the mesh 94.

次に、読み込んだメッシュ94の頂点のLab値を変形後の色値として用いると共に頂点に対応するグリッド92の四角形の面積変化率Δsを用いて色補償変換LUT66から得られる変形前の色値としてのCMYK値を処理対象の頂点のCMYK値に設定する(ステップS260)。ここで、読み込んだLab値と面積変化率Δsとが色補償変換LUT66に登録されている場合には、色補償変換LUT66から対応する値を導出して処理対象の頂点のCMYK値に設定する。一方、読み込んだLab値や面積変化率Δsが色補償変換LUT66に登録されていない場合には、色補償変換LUT66から近似するCMYK値を抽出して補間処理により求めた値を処理対象の頂点のCMYK値に設定する。こうしてCMYK値を設定すると、すべての頂点のCMYK値を設定したか否かを判定し(ステップS270)、未設定の頂点があるときには、ステップS230に戻り各頂点を順次処理対象に設定して処理を繰り返す。一方、すべての頂点のCMYK値を設定したときには、各頂点のCMYK値をそれぞれ通常の印刷範囲の値に圧縮すると共に(ステップS280)、各頂点のCMYK値を用いてメッシュ94の内部(各四角形内)のCMYK値を補間処理によりそれぞれ演算する(ステップS290)。このように、メッシュ94の各頂点の色からメッシュ94内の色を補間処理により求めるから、メッシュ94内を滑らかに色補償することができる。なお、色補償変換LUT66ではCMYK値を500%までの値としているため、各頂点に設定されたCMYK値をそれぞれ1/5にすることで通常の印刷範囲(0〜100%)に圧縮するものとした。こうして、各頂点や内部のCMYK値が定められたメッシュ94を形状補償処理後の画像の輪郭で切り出して(ステップS300)、切り出したメッシュ94のCMYK値を色補償データとしてHDD55に保存して(ステップS310)、本ルーチンを終了する。こうして作成された色補償データは対象画像の色として定めることができ、上述した形状補償処理により形状が補償された形状データは対象画像の形状として定めることができる。そして、これらを合わせたデータをデータ出力部67から版下データとして出力して、画像の表示や印刷に用いるものとした。なお、形状補償処理後の画像における輪郭内の色は、メッシュ94から切り出された輪郭内の色として色補償データを用いて定めることができ、輪郭外の色は背景色などを用いて定めることができる。ここで、本実施形態では、汎用のインク色であるCMYK値を用いて色補償データを作成するため、通常の印刷範囲に圧縮することで作成された色補償データを画像編集ツールなどのアプリケーションソフト上で広く用いることができるものとなる。なお、版下データをもって印刷する際には、例えば、版下データからプリンター20のドットの形成間隔に応じてCMYK値を取得すると共に汎用のインク色であるCMYK値をプリンター20のインク色であるcmykop値に変換した値を5倍して圧縮前の数値範囲に戻すことにより印刷用のデータを作成する処理などが、印刷ドライバー70などを用いて行なわれる。   Next, the Lab Lab vertex value that has been read is used as a color value after transformation, and as the color value before transformation obtained from the color compensation conversion LUT 66 using the area change rate Δs of the square of the grid 92 corresponding to the vertex. Is set to the CMYK value of the vertex to be processed (step S260). Here, when the read Lab value and the area change rate Δs are registered in the color compensation conversion LUT 66, a corresponding value is derived from the color compensation conversion LUT 66 and set to the CMYK value of the vertex to be processed. On the other hand, when the read Lab value or area change rate Δs is not registered in the color compensation conversion LUT 66, the approximate CMYK values are extracted from the color compensation conversion LUT 66 and the values obtained by the interpolation process are obtained as the vertices to be processed. Set to CMYK value. When the CMYK values are set in this way, it is determined whether or not the CMYK values for all the vertices have been set (step S270). If there are unset vertices, the process returns to step S230 to sequentially set each vertex as a processing target. repeat. On the other hand, when the CMYK values of all the vertices are set, the CMYK values of the respective vertices are respectively compressed to the normal printing range values (step S280), and the inside of the mesh 94 (each square) is used using the CMYK values of the respective vertices. The CMYK values are calculated by interpolation processing (step S290). As described above, since the color in the mesh 94 is obtained from the color of each vertex of the mesh 94 by the interpolation process, the color in the mesh 94 can be smoothly compensated. In the color compensation conversion LUT 66, since the CMYK value is set to a value up to 500%, the CMYK value set at each vertex is reduced to 1/5 to compress the image to the normal printing range (0 to 100%). It was. In this way, the mesh 94 in which the CMYK values of each vertex and the inside are determined is cut out by the contour of the image after the shape compensation processing (step S300), and the CMYK values of the cut out mesh 94 are stored in the HDD 55 as color compensation data ( Step S310), this routine is finished. The color compensation data created in this way can be determined as the color of the target image, and the shape data whose shape has been compensated by the shape compensation process described above can be determined as the shape of the target image. The combined data is output from the data output unit 67 as block data and used for image display and printing. The color in the contour in the image after the shape compensation processing can be determined using color compensation data as the color in the contour cut out from the mesh 94, and the color outside the contour is determined using the background color or the like. Can do. Here, in this embodiment, since color compensation data is created using CMYK values that are general-purpose ink colors, the color compensation data created by compressing the data to a normal printing range is applied to application software such as an image editing tool. It can be widely used above. When printing with the composition data, for example, the CMYK value is acquired from the composition data according to the dot formation interval of the printer 20 and the CMYK value, which is a general-purpose ink color, is the ink color of the printer 20. A process of creating print data by multiplying the value converted into the cmykop value by 5 and returning it to the numerical value range before compression is performed using the print driver 70 or the like.

このように、形状補償はグリッド92を用いて処理するのに対し、図6の色補償処理ルーチンにおいては、グリッド92とは別にメッシュ94を作成しメッシュ94の各頂点を色補正点として用いて処理するのである。これにより、グリッド92の各四角形の面積変化率Δsを各四角形の重心に位置するメッシュ94の各頂点にそれぞれ反映させることができる。上述したように、四角形の重心の近傍には四角形の各頂点の近傍に比して面積変化率Δsに近い変形が生じると考えることができるから、面積変化率Δsを各四角形の頂点(グリッド92の各格子点)に反映させるものなどに比して、面積変化率Δsをより正確に反映させて色補償を行なうことができる。したがって、媒体Sのグリッド92の個々の要素(四角形)の面積変化に伴う色の変化の影響をより精度よく反映させてメッシュ94の各頂点のCMYK値を設定することができ、ひいては、媒体S全体の変形による色の変化の影響を精度よく反映させて色補償データを作成することができる。また、色補償データは、形状補償に用いられるグリッド92とは別のメッシュ94に基づいて作成されるから、形状補償のデータとは別個に取り扱うことができ、画像の形状と画像の色とを別々に修正することができるなどユーザーの使い勝手を向上させることができる。さらに、メッシュ94を用いた処理対象範囲は、対象画像(文字A)の外側まで完全に包含するのに必要な範囲としたから、必要以上に処理対象範囲が大きくなるのを抑制して、処理負担が増加するのを防止することができる。形状補償はグリッド92を用いて処理し、色補償はグリッド92とは別に作成したメッシュ94を用いて処理するのはこうした理由による。   In this way, shape compensation is processed using the grid 92, whereas in the color compensation processing routine of FIG. 6, a mesh 94 is created separately from the grid 92 and each vertex of the mesh 94 is used as a color correction point. Process it. Thereby, the area change rate Δs of each square of the grid 92 can be reflected on each vertex of the mesh 94 located at the center of gravity of each square. As described above, since it can be considered that deformation close to the area change rate Δs occurs in the vicinity of the center of gravity of the quadrilateral compared to the vicinity of each vertex of the quadrangle, the area change rate Δs is represented by the vertex of each square (grid 92). The color compensation can be performed by more accurately reflecting the area change rate Δs as compared with those reflected at each grid point). Therefore, it is possible to set the CMYK value of each vertex of the mesh 94 more accurately reflecting the influence of the color change accompanying the area change of the individual elements (rectangles) of the grid 92 of the medium S. The color compensation data can be created by accurately reflecting the influence of the color change due to the overall deformation. Further, since the color compensation data is created based on a mesh 94 different from the grid 92 used for shape compensation, it can be handled separately from the shape compensation data, and the shape of the image and the color of the image can be handled. It is possible to improve the user-friendliness such as being able to modify it separately. Further, since the processing target range using the mesh 94 is a range necessary to completely cover the outside of the target image (character A), the processing target range is prevented from becoming larger than necessary, and the processing is performed. It is possible to prevent the burden from increasing. For this reason, the shape compensation is processed using the grid 92 and the color compensation is processed using the mesh 94 created separately from the grid 92.

ここで、本実施形態の構成要素と本発明の構成要素との対応関係を明らかにする。本実施形態のPC50のコントローラー51が本発明の「格子設定手段」に相当し、データ入力部61と算出部62と3D絵柄編集部63と形状補償部64とが「形状補正手段」に相当し、図6の色補償処理ルーチンのステップS220の処理を実行するコントローラー51が「色補正点設定手段」に相当し、色補償処理ルーチンのステップS210,230〜S260の処理を実行するコントローラー51と色補償部65とが「色補正手段」に相当する。また、図6の色補償処理ルーチンのステップS300の処理を実行するコントローラー51が「切出手段」に相当し、データ出力部67が「出力手段」に相当する。なお、本実施形態では、PC50の動作を説明することにより本発明の画像処理方法の一例も明らかにしている。   Here, the correspondence between the components of the present embodiment and the components of the present invention will be clarified. The controller 51 of the PC 50 of the present embodiment corresponds to the “grid setting unit” of the present invention, and the data input unit 61, the calculation unit 62, the 3D picture editing unit 63, and the shape compensation unit 64 correspond to “shape correction unit”. The controller 51 that executes the process of step S220 of the color compensation process routine of FIG. 6 corresponds to the “color correction point setting means”, and the controller 51 that executes the processes of steps S210, 230 to S260 of the color compensation process routine and the color The compensation unit 65 corresponds to “color correction means”. Further, the controller 51 that executes the processing of step S300 of the color compensation processing routine of FIG. 6 corresponds to “cutting means”, and the data output unit 67 corresponds to “output means”. In the present embodiment, an example of the image processing method of the present invention is also clarified by describing the operation of the PC 50.

以上詳述した本実施形態のPC50によれば、複数の四角形を要素とするグリッド92を用いて形状補償処理を行ない、形状補償処理後の画像が配置されたグリッド92上に、グリッド92の各四角形に色補正点としての各頂点が1つずつ含まれると共に各四角形の重心に各頂点が位置するようメッシュ94を作成する。そして、メッシュ94の各頂点に対応する位置における形状補償処理後の画像の色値から各頂点のLab値を取得し、取得した頂点のLab値と頂点を含むグリッド92の四角形の面積変化率Δsとを用いて色補償変換LUT66から得られる値をメッシュ94の頂点のCMYK値に設定する。これにより、色補正点であるメッシュ94の各頂点を、形状の補正に用いるグリッド92の各格子点の位置に限られず、色補正に適した位置に定めることができるから、より適切に色補正することができる。   According to the PC 50 of the present embodiment described in detail above, shape compensation processing is performed using the grid 92 having a plurality of quadrilateral elements, and each of the grids 92 is placed on the grid 92 on which the image after shape compensation processing is arranged. A mesh 94 is created so that each quadrangle includes one vertex as a color correction point and each vertex is located at the center of gravity of each quadrangle. Then, the Lab value of each vertex is acquired from the color value of the image after the shape compensation process at the position corresponding to each vertex of the mesh 94, and the area change rate Δs of the square of the grid 92 including the acquired Lab value and the vertex value. Are used to set the value obtained from the color compensation conversion LUT 66 as the CMYK value of the vertex of the mesh 94. Thereby, each vertex of the mesh 94 which is a color correction point is not limited to the position of each grid point of the grid 92 used for shape correction, and can be determined at a position suitable for color correction. can do.

また、メッシュ94の頂点とグリッド92の四角形とが一対一で対応するから、対応する四角形の面積変化率Δsをそのまま読み込んでスムーズに色補正をすることができる。さらに、各四角形の重心に各頂点が位置するようメッシュ94を作成するから、各頂点に四角形の面積変化率Δsをより正確に反映させて色補正をすることができる。そして、変形後の色値としてのLab値と、変形の度合いとしての面積変化率Δsと、変形前の色値としてのCMYK値との対応関係を定めた色補償変換LUT66を用いて色補正を行なうから、変形による色の変化の影響を精度よく反映させて色補正をすることができる。   Further, since the vertex of the mesh 94 and the quadrangle of the grid 92 correspond one-to-one, the area change rate Δs of the corresponding quadrangle can be read as it is, and color correction can be performed smoothly. Furthermore, since the mesh 94 is created so that each vertex is located at the center of gravity of each quadrangle, color correction can be performed by more accurately reflecting the area change rate Δs of the quadrangle at each vertex. Then, color correction is performed using the color compensation conversion LUT 66 that defines the correspondence between the Lab value as the color value after deformation, the area change rate Δs as the degree of deformation, and the CMYK value as the color value before deformation. Therefore, the color correction can be performed by accurately reflecting the influence of the color change due to the deformation.

なお、本発明は上述した実施形態に何ら限定されることはなく、本発明の技術的範囲に属する限り種々の態様で実施し得ることはいうまでもない。   It should be noted that the present invention is not limited to the above-described embodiment, and it goes without saying that the present invention can be implemented in various modes as long as it belongs to the technical scope of the present invention.

上述した実施形態では、メッシュ94の各頂点がグリッド92の各四角形の重心に位置するものとしたが、これに限られず、グリッド92の各四角形内にメッシュ94の各頂点が含まれるものであればよい。また、グリッド92の各四角形にメッシュ94の頂点を1つずつ含むものとしたが、これに限られず、グリッド92の各四角形にメッシュ94の頂点を複数含むものとしてもよいし、グリッド92の各四角形のうちいくつかの四角形にメッシュ94の頂点を含まないものとしてもよい。このように、メッシュ94の頂点を必要とされる色補正の精度などに応じて適正な位置に定めるものとすればよいから、より適切に色の補正を行なうことができる。   In the embodiment described above, each vertex of the mesh 94 is positioned at the center of gravity of each square of the grid 92. However, the present invention is not limited to this, and each vertex of the mesh 94 is included in each square of the grid 92. That's fine. In addition, each quadrilateral of the grid 92 includes one vertex of the mesh 94. However, the present invention is not limited to this, and each quadrilateral of the grid 92 may include a plurality of vertices of the mesh 94. Some of the quadrangles may not include the apex of the mesh 94. As described above, the vertex of the mesh 94 may be determined at an appropriate position in accordance with the required color correction accuracy and the like, so that color correction can be performed more appropriately.

上述した実施形態では、色補正点をメッシュ94の頂点として定めるものとしたが、これに限られず、色補正点をメッシュ状に構成することなく各点毎に独立した点として定めるものとしてもよい。   In the above-described embodiment, the color correction point is determined as the vertex of the mesh 94. However, the present invention is not limited to this, and the color correction point may be determined as an independent point for each point without configuring the mesh. .

上述した実施形態では、プリンター20がインク色としてcmykopの6色を有するものとしたが、これに限られず、複数のインク色を有するものであればよく、例えば、cmykの4色を有するものとしてもよいし、cmykの4色にライトシアンやライトマゼンタを加えた6色を有するものとしてもよいし、6色以上の複数色を有するものなどとしてもよい。   In the above-described embodiment, the printer 20 has six colors of cmykop as ink colors. However, the present invention is not limited to this, and any printer having a plurality of ink colors may be used. For example, the printer 20 has four colors of cmyk. Alternatively, it may have six colors obtained by adding light cyan or light magenta to four colors of cmyk, or may have six colors or more.

上述した実施形態では、JapanColor認証制度の色規格を用いるものとしたが、これに限られず、他の汎用の色規格を用いるものとしてもよく、例えば、DIC(DIC標準色)やTOYO(東洋インキ標準色)、SWOP(米国標準色)、EURO Standard(欧州標準色)などの色規格を用いるものとしてもよい。   In the above-described embodiment, the color standard of the JapanColor certification system is used. However, the present invention is not limited to this, and other general-purpose color standards may be used. For example, DIC (DIC standard color) or TOYO (Toyo Ink) may be used. Color standards such as standard color), SWOP (US standard color), and EURO Standard (European standard color) may be used.

上述した実施形態では、媒体Sのグリッド92は各要素が正方形となるよう構成するものとしたが、これに限られず、各要素が三角形や矩形,菱形などの多角形となるものであればどのように構成するものとしてもよい。   In the embodiment described above, the grid 92 of the medium S is configured such that each element is a square. However, the present invention is not limited to this, and any element may be used as long as each element is a polygon such as a triangle, a rectangle, or a rhombus. It is good also as what comprises.

上述した実施形態では、各格子点のCMYK値を通常の印刷範囲に圧縮して色補償データを作成するものとしたが、これに限られず、各格子点のCMYK値を圧縮することなく用いて色補償データを作成するものとしてもよい。ただし、汎用性をもたせるためには、本実施形態のように圧縮するものが好ましい。   In the above-described embodiment, the color compensation data is generated by compressing the CMYK value of each grid point to the normal print range. However, the present invention is not limited to this, and the CMYK value of each grid point is used without being compressed. Color compensation data may be created. However, in order to have versatility, the compression as in this embodiment is preferable.

上述した実施形態では、色補償変換LUT66の変形後の色値としてLab表色系の値を用いるものとしたが、これに限られず、RGB表色系やCMYK表色系などの他の表色系の値を用いるものなどとしてもよい。   In the above-described embodiment, the Lab color system value is used as the color value after the color compensation conversion LUT 66 is deformed. However, the present invention is not limited to this, and other color systems such as the RGB color system and the CMYK color system are used. It is good also as what uses the value of a system.

上述した実施形態では、色補償変換LUT66の変形の度合いとして面積変化率Δsを用いるものとしたが、これに限られず、変形の度合いを示すものであれば伸び率などの他の指標を用いるものとしてもよい。また、面積変化率Δsとしては、100%以上に拡大される範囲を用いたが、100%未満に縮小される範囲を含めるものとしてもよい。   In the above-described embodiment, the area change rate Δs is used as the degree of deformation of the color compensation conversion LUT 66. However, the present invention is not limited to this, and other indicators such as elongation are used as long as the degree of deformation is indicated. It is good. Further, as the area change rate Δs, a range that is enlarged to 100% or more is used, but a range that is reduced to less than 100% may be included.

上述した実施形態では、形状補償処理において成形後の各格子点の三次元座標(位置情報)をソフトウェアプログラムにより取得するものとして説明したが、これに限られず、、グリッドを形成した媒体Sを実際に成形した成形品における各格子点の位置を測定することにより各格子点の三次元座標を取得するものとしてもよい。その場合、形状補償処理は以下のような手順で行うことができる。例えば、目的の製品と同じ材質の媒体Sにグリッドを形成し、各格子点の位置を二次元座標として記録する。次に、この媒体Sを実成形品と同じ成形条件(温度や圧力など)で成形装置40により成形する。続いて、成形後の媒体Sの各格子点の位置を三次元測定器などにより測定し、測定した各格子点の位置を三次元座標として記録して、変形前後の座標を対応付けて位置情報とすることができる。このとき、測定した各格子点の三次元座標を入力装置57で入力することにより、位置情報を取得するものとしてもよい。   In the embodiment described above, the three-dimensional coordinates (position information) of each lattice point after forming are acquired by the software program in the shape compensation processing. However, the present invention is not limited to this, and the medium S on which the grid is formed is actually used. The three-dimensional coordinates of each lattice point may be acquired by measuring the position of each lattice point in the molded product formed into the same. In that case, the shape compensation process can be performed by the following procedure. For example, a grid is formed on the medium S made of the same material as the target product, and the position of each lattice point is recorded as a two-dimensional coordinate. Next, the medium S is molded by the molding apparatus 40 under the same molding conditions (temperature, pressure, etc.) as the actual molded product. Subsequently, the position of each lattice point of the formed medium S is measured by a three-dimensional measuring device, the measured position of each lattice point is recorded as a three-dimensional coordinate, and the position information is associated with the coordinates before and after the deformation. It can be. At this time, the positional information may be acquired by inputting the measured three-dimensional coordinates of each lattice point with the input device 57.

上述した実施形態では、ルックアップテーブルとして作成された変形色補償LUT66を用いて色補償処理を行なうものとしたが、これに限られず、変形後の目的色の色値と、変形の度合いと、変形前の色値との対応関係式を予めHDD55に記憶しておき演算により変形前の色値を算出するものなどとしてもよい。   In the above-described embodiment, the color compensation process is performed using the modified color compensation LUT 66 created as a lookup table. However, the present invention is not limited to this, and the color value of the target color after modification, the degree of deformation, A relational expression with the color value before the deformation may be stored in the HDD 55 in advance and the color value before the deformation may be calculated by calculation.

上述した実施形態では、着色剤としてインクを用いるものとしたが、これに限られず、媒体S上に画像を形成可能なものであればよく、例えば、ジェルのような流状体,トナーなどの粉体などとしてもよい。また、インクとしては、溶媒に溶解したものであってもよいし、機能材料の粒子が分散されている液状体(分散液)であってもよい。また、インクは、溶媒や分散液以外の液体を含有してもよい。   In the above-described embodiment, ink is used as the colorant. However, the present invention is not limited to this, and any material that can form an image on the medium S may be used. For example, a fluid such as a gel, toner, or the like may be used. It may be a powder. Further, the ink may be dissolved in a solvent, or may be a liquid (dispersed liquid) in which functional material particles are dispersed. The ink may contain a liquid other than the solvent and the dispersion.

10 加飾成形システム、20 プリンター、21 コントローラー、22 CPU、23 フラッシュメモリー、24 RAM、25 印刷機構、26 キャリッジ、27 ノズル、28 印刷ヘッド、29 カートリッジ、30 キャリッジ軸、31 キャリッジベルト、32 送り機構、33 駆動モーター、34 送りローラー、36 ロール、37 切断機、40 成形装置、41 上型部、42 下型部、50 PC、51 コントローラー、52 CPU、53 フラッシュメモリー、54 RAM、55 HDD、56 I/F、57 入力装置、58 ディスプレイ、59 バス、60 変形画像処理プログラム、61 データ入力部、62 算出部、63 3D絵柄編集部、64 形状補償部、65 色補償部、66 色補償変換LUT、67 データ出力部、70 印刷ドライバー、80 色補償変換LUT作成システム、82 データ入力部、84 演算処理部、86 LUT出力部、92 グリッド、94 メッシュ、S 媒体。   DESCRIPTION OF SYMBOLS 10 Decorative molding system, 20 Printer, 21 Controller, 22 CPU, 23 Flash memory, 24 RAM, 25 Printing mechanism, 26 Carriage, 27 Nozzle, 28 Print head, 29 Cartridge, 30 Carriage shaft, 31 Carriage belt, 32 Feed mechanism , 33 Drive motor, 34 Feed roller, 36 roll, 37 Cutting machine, 40 Molding device, 41 Upper mold part, 42 Lower mold part, 50 PC, 51 Controller, 52 CPU, 53 Flash memory, 54 RAM, 55 HDD, 56 I / F, 57 input device, 58 display, 59 bus, 60 modified image processing program, 61 data input unit, 62 calculation unit, 63 3D picture editing unit, 64 shape compensation unit, 65 color compensation unit, 66 color compensation conversion LUT , 67 de Data output unit, 70 print driver, 80-color compensation conversion LUT generation system, 82 a data input unit, 84 arithmetic processing unit, 86 LUT output unit, 92 grid, 94 mesh, S medium.

Claims (7)

変形が施される媒体に該変形前に形成される画像を処理する画像処理装置であって、
複数の多角形を構成する格子を変形前の前記媒体上に設定する格子設定手段と、
該媒体の変形前後における前記格子の各格子点の位置情報を取得し、該取得した位置情報に基づく各要素の変形の度合いを反映させることにより前記形成される画像の形状を補正する形状補正手段と、
前記複数の多角形のいずれかに含まれると共に前記各格子点から外れた位置を画像の色を補正するための色補正点として複数設定する色補正点設定手段と、
形状が補正された形状補正済みの画像が前記格子上に配置された状態で前記色補正点の色を取得すると共に該色補正点を含む要素の変形の度合いを取得し、前記媒体の変形前後の色と該媒体の変形の度合いとの所定の対応関係に基づいて、該媒体の変形後の色として前記取得した色補正点の色を用いると共に該媒体の変形の度合いとして前記取得した要素の変形の度合いを用いて前記複数の色補正点に形成すべき変形前の色をそれぞれ定めることにより前記形成される画像の色を補正する色補正手段と
を備える画像処理装置。
An image processing apparatus for processing an image formed on a medium to be deformed before the deformation,
Grid setting means for setting a grid forming a plurality of polygons on the medium before deformation;
Shape correction means for acquiring position information of each lattice point of the lattice before and after deformation of the medium and correcting the shape of the formed image by reflecting the degree of deformation of each element based on the acquired position information When,
The position where the deviated from each lattice point as would fall either crab of the plurality of polygons, and color correction point setting means for setting multiple as the color correction point for correcting the color of an image,
Before and after the deformation of the medium, the color of the color correction point is acquired in a state where the shape-corrected image whose shape is corrected is arranged on the grid, and the degree of deformation of the element including the color correction point is acquired. Based on a predetermined correspondence between the color of the medium and the degree of deformation of the medium, the color of the acquired color correction point is used as the color after deformation of the medium, and the degree of deformation of the medium An image processing apparatus comprising: a color correction unit that corrects the color of the image to be formed by determining a color before deformation to be formed at each of the plurality of color correction points using a degree of deformation.
前記色補正点設定手段は、前記色補正点が前記複数の多角形に1つずつ含まれるよう設定する手段である請求項1記載の画像処理装置。 The image processing apparatus according to claim 1, wherein the color correction point setting unit is a unit that sets the color correction points so as to be included one by one in the plurality of polygons . 前記色補正点設定手段は、前記色補正点が前記多角形の重心に位置するよう設定する手段である請求項1または2記載の画像処理装置。 The image processing apparatus according to claim 1, wherein the color correction point setting unit is a unit that sets the color correction point so as to be positioned at the center of gravity of the polygon . 請求項1ないし3いずれか1項に記載の画像処理装置であって、
前記色補正点設定手段は、前記格子設定手段により設定される前記格子が構成する多角形とは別の複数の多角形を構成する第2の格子における、前記別の複数の多角形の各頂点を、前記複数の色補正点として設定する手段であり、
前記色補正手段は、前記定めた色補正点の色を前記第2の格子が構成する複数の多角形の各頂点の色として用いて、該第2の格子の各多角形内の色を補間処理により定める手段である
画像処理装置。
The image processing apparatus according to any one of claims 1 to 3,
The color correction point setting means, the second grating constituting another plurality of polygons and polygons the grid set by the grid setting means is configured, each vertex of the another of the plurality of polygons Is set as the plurality of color correction points,
The color correction means interpolates the colors in the polygons of the second grid using the color of the determined color correction point as the colors of the vertices of the plurality of polygons formed by the second grid. An image processing apparatus which is a means determined by processing.
請求項4記載の画像処理装置であって、
前記色補正点設定手段は、前記形状補正手段により形状が補正された画像を覆うよう前記第2の格子を定める手段であり、
前記色補正手段により前記色補正点の色と前記第2の格子の各要素内の色とが定められた後に、該第2の格子から前記形状が補正された画像の輪郭に沿って該画像の色を切り出す切出手段と、
前記形状補正手段により補正された画像の形状と、前記切出手段により切り出された画像の色とを合わせて、前記画像の形成用のデータとして出力する出力手段と
を備える画像処理装置。
The image processing apparatus according to claim 4,
The color correction point setting means is means for determining the second lattice so as to cover the image whose shape is corrected by the shape correction means,
After the color correction means determines the color of the color correction point and the color in each element of the second grid, the image is corrected along the outline of the image whose shape is corrected from the second grid. A cutting means for cutting out the color of
An image processing apparatus comprising: an output unit that outputs the shape of the image corrected by the shape correction unit and the color of the image cut out by the cutout unit and outputs the combined data as data for forming the image.
前記所定の対応関係は、複数の色により構成されるカラーサンプルを異なる面積変化率で変形させて測色する処理により得られる、前記カラーサンプルの各色値を前記変形前の色とし、変形後の測色値を変形後の色とし、前記面積変化率を前記変形の度合いとして、予め作成された関係である請求項1ないし5いずれか1項に記載の画像処理装置。   The predetermined correspondence relationship is obtained by a process of measuring a color sample composed of a plurality of colors with different area change rates and measuring the color values. 6. The image processing apparatus according to claim 1, wherein the colorimetric value is a color after deformation, and the area change rate is the degree of deformation. 変形が施される媒体に該変形前に形成される画像を処理する画像処理方法であって、
(a)複数の多角形を構成する格子を変形前の前記媒体上に設定するステップと、
(b)該媒体の変形前後における前記格子の各格子点の位置情報を取得し、該取得した位置情報に基づく各要素の変形の度合いを反映させることにより前記形成される画像の形状を補正するステップと、
(c)前記複数の多角形のいずれかに含まれると共に前記各格子点から外れた位置を画像の色を補正するための色補正点として複数設定するステップと、
(d)形状が補正された形状補正済みの画像が前記格子上に配置された状態で前記色補正点の色を取得すると共に該色補正点を含む要素の変形の度合いを取得し、前記媒体の変形前後の色と該媒体の変形の度合いとの所定の対応関係に基づいて、該媒体の変形後の色として前記取得した色補正点の色を用いると共に該媒体の変形の度合いとして前記取得した要素の変形の度合いを用いて前記複数の色補正点に形成すべき変形前の色をそれぞれ定めることにより前記形成される画像の色を補正するステップと
を含む画像処理方法。
An image processing method for processing an image formed on a medium to be deformed before the deformation,
(A) setting a grid constituting a plurality of polygons on the medium before deformation;
(B) The position information of each lattice point of the lattice before and after the deformation of the medium is acquired, and the shape of the formed image is corrected by reflecting the degree of deformation of each element based on the acquired position information. Steps,
The position where the deviated from each lattice point as would fall either crab (c) the plurality of polygons, and setting multiple as the color correction point for correcting the color of an image,
(D) acquiring the color of the color correction point in a state in which the shape-corrected image whose shape is corrected is arranged on the grid, acquiring the degree of deformation of the element including the color correction point, and the medium Based on a predetermined correspondence between the color before and after the deformation of the medium and the degree of deformation of the medium, the color of the acquired color correction point is used as the color after the deformation of the medium and the degree of deformation of the medium is acquired. And correcting the color of the image to be formed by respectively determining the color before deformation to be formed at the plurality of color correction points using the degree of deformation of the element.
JP2011021640A 2011-02-03 2011-02-03 Image processing apparatus and image processing method Expired - Fee Related JP5772019B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011021640A JP5772019B2 (en) 2011-02-03 2011-02-03 Image processing apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011021640A JP5772019B2 (en) 2011-02-03 2011-02-03 Image processing apparatus and image processing method

Publications (2)

Publication Number Publication Date
JP2012161928A JP2012161928A (en) 2012-08-30
JP5772019B2 true JP5772019B2 (en) 2015-09-02

Family

ID=46841851

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011021640A Expired - Fee Related JP5772019B2 (en) 2011-02-03 2011-02-03 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP5772019B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5772097B2 (en) * 2011-03-14 2015-09-02 セイコーエプソン株式会社 Image processing apparatus and image processing method
JP6235187B1 (en) * 2017-05-31 2017-11-22 南条装備工業株式会社 How to create a decorative image

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57176165A (en) * 1981-04-24 1982-10-29 Toppan Printing Co Ltd Printing method on formed product having three dimensional surface
JPH0758395B2 (en) * 1987-08-14 1995-06-21 大日本印刷株式会社 Transfer film distortion correction method and apparatus
JP2787453B2 (en) * 1988-10-25 1998-08-20 大日本印刷株式会社 How to determine the pattern allocation area of the pattern film
JP2933630B2 (en) * 1988-11-02 1999-08-16 大日本印刷株式会社 Evaluation method for distortion correction of picture film
JPH10155091A (en) * 1996-11-22 1998-06-09 Fuji Photo Film Co Ltd Image recorder
US6124857A (en) * 1998-08-12 2000-09-26 International Business Machines Corporation Meshing method and apparatus
JP2000253270A (en) * 1999-03-04 2000-09-14 Dainippon Printing Co Ltd Color conversion table generator, generating method, storage medium recording color conversion table generating program and color converter
JP4357631B2 (en) * 1999-04-13 2009-11-04 大日本印刷株式会社 Decorative molded products
JP2004009673A (en) * 2002-06-11 2004-01-15 Noritsu Koki Co Ltd Image formation device
JP2005199625A (en) * 2004-01-16 2005-07-28 Dainippon Printing Co Ltd Method for manufacturing in-mold decoration film
JP4826659B2 (en) * 2009-06-29 2011-11-30 コニカミノルタビジネステクノロジーズ株式会社 CONTROL PROGRAM FOR IMAGE PROCESSING DEVICE USING COLOR PROFILE, AND METHOD FOR CHECKING COLOR CONVERSION PROCESS RESULT
JP5625920B2 (en) * 2011-01-06 2014-11-19 セイコーエプソン株式会社 Image processing apparatus, image processing method, and program thereof
JP5736789B2 (en) * 2011-01-19 2015-06-17 セイコーエプソン株式会社 Image processing apparatus, image processing method, and program thereof
JP5673154B2 (en) * 2011-01-31 2015-02-18 セイコーエプソン株式会社 Image processing apparatus, image processing method, and program thereof
JP5760469B2 (en) * 2011-02-07 2015-08-12 セイコーエプソン株式会社 Image processing apparatus and image processing method
JP2012187889A (en) * 2011-03-14 2012-10-04 Seiko Epson Corp Light shielding layer formation processing device, and light shielding layer formation processing method
JP2012192601A (en) * 2011-03-16 2012-10-11 Seiko Epson Corp Printed layer formation processing device, and printed layer formation processing method

Also Published As

Publication number Publication date
JP2012161928A (en) 2012-08-30

Similar Documents

Publication Publication Date Title
JP5760469B2 (en) Image processing apparatus and image processing method
JP5625920B2 (en) Image processing apparatus, image processing method, and program thereof
US9272528B2 (en) Image processing device and method expanding aquired image data into printing data corresponding to a multi-layer image with color values less than or equal to a maximum ink amount
US10429821B2 (en) Method for printing colored object of 3D printer
KR20120104943A (en) Printed layer formation processing device, printed layer formation processing method, computer-readable recording medium having a program for executing the printed layer formation processing method, and printing system
JP5482626B2 (en) Printing system, correspondence information creation method
EP3086544B1 (en) Print data generation device, printing apparatus, method of generating print data
CN108068314B (en) Layer-cutting printing method and color three-dimensional printing system for color three-dimensional object
JP5736789B2 (en) Image processing apparatus, image processing method, and program thereof
WO2017069245A1 (en) Shaping system, method for controlling shaping operation, shaping control device, and program
JP2019005942A (en) Image processing device, image processing method, and program
JP5772019B2 (en) Image processing apparatus and image processing method
CN108081588B (en) Color object printing method of 3D printer
JP2013193238A (en) Image processing method and image processing system
JP5673154B2 (en) Image processing apparatus, image processing method, and program thereof
JP2012192601A (en) Printed layer formation processing device, and printed layer formation processing method
JP6532378B2 (en) Modeling system, control method of modeling operation, modeling control apparatus, and program
JP5772097B2 (en) Image processing apparatus and image processing method
JP2012187889A (en) Light shielding layer formation processing device, and light shielding layer formation processing method
JP2021016974A (en) Correction value setting method, recording method, and recording apparatus
JP2005184144A (en) Color image data correcting method, color image data correcting apparatus, and color correction table generating program
CN113393584B (en) Color processing method, device, equipment and storage medium of three-dimensional model
JP2012187893A (en) Image forming apparatus and image forming system, and image forming method
JP6172252B2 (en) Image processing apparatus, printing apparatus, image processing program, and image processing method
JP2021020384A (en) Correction value setting method, recording method, and recording device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140129

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141029

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141111

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141224

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150615

R150 Certificate of patent or registration of utility model

Ref document number: 5772019

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees