JP5699367B2 - Print control apparatus, print control method, and print control program - Google Patents

Print control apparatus, print control method, and print control program Download PDF

Info

Publication number
JP5699367B2
JP5699367B2 JP2010098258A JP2010098258A JP5699367B2 JP 5699367 B2 JP5699367 B2 JP 5699367B2 JP 2010098258 A JP2010098258 A JP 2010098258A JP 2010098258 A JP2010098258 A JP 2010098258A JP 5699367 B2 JP5699367 B2 JP 5699367B2
Authority
JP
Japan
Prior art keywords
dimensional
image data
medium
dimensional image
print control
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
JP2010098258A
Other languages
Japanese (ja)
Other versions
JP2011227782A (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.)
Mimaki Engineering Co Ltd
Original Assignee
Mimaki Engineering 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 Mimaki Engineering Co Ltd filed Critical Mimaki Engineering Co Ltd
Priority to JP2010098258A priority Critical patent/JP5699367B2/en
Publication of JP2011227782A publication Critical patent/JP2011227782A/en
Application granted granted Critical
Publication of JP5699367B2 publication Critical patent/JP5699367B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、三次元インクジェットプリンタで三次元形状のメディアに画像を印刷するための印刷制御装置、印刷制御方法及び印刷制御プログラムに関する。   The present invention relates to a print control apparatus, a print control method, and a print control program for printing an image on a three-dimensional shape medium with a three-dimensional inkjet printer.

近年、三次元形状のメディアに対しても印刷を行いたいとの要求から、特許文献1に記載された三次元インクジェットプリンタが考えられてきた。そして、このような三次元インクジェットプリンタを用いてメディアに画像を印刷する場合は、RGBで表された二次元画像データを、メディアの形状に対応付けた三次元画像データに変換している。   In recent years, a three-dimensional ink jet printer described in Patent Document 1 has been considered because of a demand for printing on a three-dimensional shape medium. When an image is printed on a medium using such a three-dimensional inkjet printer, the two-dimensional image data represented by RGB is converted into three-dimensional image data associated with the shape of the medium.

特開2007−008110号公報JP 2007-008110 A

ところで、通常の二次元インクジェットプリンタで画像を印刷する場合は、RGBで表された画像データに対してハーフトーン処理を行い、インク色であるYMCKの濃度階調を持ったハーフトーン画像を生成する必要がある。このため、二次元画像データをハーフトーン処理するアプリケーションは、様々な機能が搭載された製品が提供されている。   By the way, when printing an image with a normal two-dimensional inkjet printer, halftone processing is performed on image data expressed in RGB to generate a halftone image having a density gradation of YMCK which is an ink color. There is a need. For this reason, products having various functions are provided as applications for halftone processing of two-dimensional image data.

しかしながら、三次元インクジェットプリンタは未だ黎明期にあって一般に普及されていないため、三次元画像データをハーフトーン処理するアプリケーションが殆ど提供されていない。このため、一般的に普及されているアプリケーションを用いて、三次元画像データをハーフトーン処理したいとの強い要望があった。   However, since the three-dimensional ink jet printer is still in its early days and is not widely used, almost no application for halftone processing of three-dimensional image data is provided. For this reason, there has been a strong demand for halftone processing of three-dimensional image data using an application that is generally spread.

そこで、本発明は、二次元画像データをハーフトーン処理するアプリケーションを用いて三次元画像データのハーフトーン処理を行うことができる印刷制御装置、印刷制御方法及び印刷制御プログラムを提供することを目的とする。   Accordingly, an object of the present invention is to provide a print control apparatus, a print control method, and a print control program that can perform halftone processing of 3D image data using an application that performs halftone processing of 2D image data. To do.

本発明に係る印刷制御装置は、三次元インクジェットプリンタで三次元形状のメディアに画像を印刷するための印刷制御を行う印刷制御装置であって、前記メディアの形状情報と前記メディアに印刷させたい二次元画像の二次元画像データとに基づいて、前記二次元画像が前記メディアに投影されたように印刷される印刷範囲を特定する印刷範囲特定手段と、前記二次元画像データを前記印刷範囲に対応付けて、前記メディアの表面形状に対応した三次元画像データを生成する三次元画像データ生成手段と、コンピュータに二次元画像データ用ハーフトーンアプリケーションを実行させハーフトーン処理を行わせるために、前記三次元画像データを座標変換して前記印刷範囲の二次元座標に対応付けて、三次元画像の座標情報を持った二次元の擬似三次元画像データを生成する二次元化処理手段と、前記コンピュータによってハーフトーン処理が行われた前記擬似三次元画像データを座標変換して、前記メディアの形状に対応付けた三次元のハーフトーン画像を生成する三次元化処理手段とを有することを特徴とする。 A print control apparatus according to the present invention is a print control apparatus that performs print control for printing an image on a three-dimensional shape medium with a three-dimensional ink jet printer, and is configured to print on the medium shape information and the medium. Print range specifying means for specifying a print range in which the two-dimensional image is projected on the medium based on the two-dimensional image data of the two-dimensional image, and the two-dimensional image data corresponding to the print range In addition, three-dimensional image data generating means for generating three-dimensional image data corresponding to the surface shape of the medium, and the third order for executing a halftone process by causing a computer to execute a halftone application for two-dimensional image data. A two-dimensional image having coordinate information of a three-dimensional image by converting the original image data to correspond to the two-dimensional coordinates of the print range. And a two-dimensional processing means for generating a pseudo-three-dimensional image data, the pseudo-three-dimensional image data halftone processing is performed by the computer to coordinate transformation, the three-dimensional halftone associated with the shape of the media And a three-dimensional processing means for generating an image.

本発明に係る印刷制御装置によれば、メディアの形状に対応付けられた三次元画像データを二次元座標に対応付けて二次元の擬似三次元画像データに変換してからハーフトーン処理を行うため、二次元画像データのハーフトーン処理を行うアプリケーションを用いて、三次元画像データのハーフトーン処理を行うことができる。これにより、様々な機能を備えたアプリケーションによりハーフトーン処理を行うことができるため、三次元インクジェットプリンタにより印刷された印刷画像の画質を向上させることができる。   According to the printing control apparatus of the present invention, halftone processing is performed after converting 3D image data associated with the shape of the media into 2D pseudo 3D image data in association with 2D coordinates. The halftone process of 3D image data can be performed using an application that performs the halftone process of 2D image data. Thereby, since halftone processing can be performed by an application having various functions, the image quality of a printed image printed by a three-dimensional inkjet printer can be improved.

この印刷制御装置によれば、二次元座標に対応付けられた擬似三次元画像データに対してハーフトーン処理が行われると、このハーフトーン処理により生成されたハーフトーン画像を再度メディアの形状に対応付けて三次元化するため、二次元画像データのハーフトーン処理を行うアプリケーションを用いて、三次元のハーフトーン画像を生成することができる。 According to the printing control apparatus, the halftone processing is performed for the pseudo-three-dimensional image data kicked with corresponding two-dimensional coordinates, the shape of the media halftone image generated again by the halftoning Since the three-dimensional image is associated with each other, a three-dimensional halftone image can be generated using an application that performs halftone processing of two-dimensional image data.

そして、メディアが球状である場合、二次元化処理手段は、メディアの半径と、メディアの中心点からの仰角及び方位角とに基づいて、三次元画像データを二次元座標に対応付けて擬似三次元画像データを生成することが好ましい。   When the medium is spherical, the two-dimensional processing means associates the three-dimensional image data with the two-dimensional coordinates on the basis of the radius of the medium and the elevation angle and azimuth angle from the center point of the medium. It is preferable to generate original image data.

この印刷制御装置によれば、メディアが球状である場合は、メディアの半径と、メディアの中心点からの仰角及び方位角とに基づいて、三次元画像データを二次元座標に対応付けて擬似三次元画像データを生成するため、メディアの形状に応じた適切な座標変換を行うことができる。   According to this print control apparatus, when the medium is spherical, the pseudo-cubic image is correlated with the two-dimensional coordinates based on the radius of the medium and the elevation angle and azimuth angle from the center point of the medium. Since the original image data is generated, appropriate coordinate conversion according to the shape of the media can be performed.

また、メディアが柱状の場合、二次元化処理手段は、メディアの側面を展開した長方形の二次元座標に三次元画像データを対応付けて擬似三次元画像データを生成することが好ましい。   Further, when the medium is columnar, it is preferable that the two-dimensionalization processing unit generates pseudo three-dimensional image data by associating the three-dimensional image data with the rectangular two-dimensional coordinates in which the side surface of the medium is developed.

この印刷制御装置によれば、メディアが柱状である場合は、メディアの側面を展開した長方形の二次元座標に三次元画像データを対応付けて擬似三次元画像データを生成するため、メディアの形状に応じた適切な座標変換を行うことができる。   According to this printing control apparatus, when the medium is columnar, the pseudo three-dimensional image data is generated by associating the three-dimensional image data with the rectangular two-dimensional coordinates obtained by expanding the side surface of the medium. Appropriate coordinate conversion can be performed.

また、メディアが、上底の径よりも下底の径の方が大きい円錐台形状の場合、二次元化処理手段は、メディアを三次元座標のXY平面に上下逆においた場合のZ座標及び方位角と、メディアの上底の半径、下底の半径及び高さとに基づいて、三次元画像データを二次元座標に対応付けて擬似三次元画像データを生成することが好ましい。   Further, when the medium has a truncated cone shape in which the diameter of the lower base is larger than the diameter of the upper base, the two-dimensionalization processing means performs the Z coordinate when the medium is turned upside down on the XY plane of the three-dimensional coordinates, and It is preferable to generate pseudo three-dimensional image data by associating the three-dimensional image data with two-dimensional coordinates based on the azimuth angle, the upper base radius, the lower base radius, and the height of the medium.

この印刷制御装置によれば、メディアが上底の径よりも下底の径の方が大きい円錐台形状である場合は、メディアを三次元座標のXY平面に上下逆においた場合のZ座標及び方位角と、メディアの上底の半径、下底の半径及び高さとに基づいて、三次元画像データを二次元座標に対応付けて擬似三次元画像データを生成するため、メディアの形状に応じた適切な座標変換を行うことができる。   According to this printing control apparatus, when the medium has a truncated cone shape in which the diameter of the lower base is larger than the diameter of the upper base, the Z coordinate when the medium is turned upside down on the XY plane of the three-dimensional coordinates, and Based on the azimuth angle, the upper base radius, the lower base radius, and the height of the media, the pseudo three-dimensional image data is generated by associating the three-dimensional image data with the two-dimensional coordinates. Appropriate coordinate transformation can be performed.

本発明に係る印刷制御方法は、三次元インクジェットプリンタで三次元形状のメディアに画像を印刷するための印刷制御を行う印刷制御装置が、コンピュータに行わせる印刷制御方法であって、前記メディアの形状情報と前記メディアに印刷させたい二次元画像の二次元画像データとに基づいて、前記二次元画像が前記メディアに投影されたように印刷される印刷範囲を特定する印刷範囲特定ステップと、前記二次元画像データを前記印刷範囲に対応付けて、前記メディアの表面形状に対応した三次元画像データを生成する三次元画像データ生成ステップと、前記コンピュータに二次元画像データ用ハーフトーンアプリケーションを実行させハーフトーン処理を行わせるために、前記三次元画像データを座標変換して前記印刷範囲の二次元座標に対応付けて、三次元画像の座標情報を持った二次元の擬似三次元画像データを生成する二次元化処理ステップと、前記コンピュータによってハーフトーン処理が行われた前記擬似三次元画像データを座標変換して、前記メディアの形状に対応付けた三次元のハーフトーン画像を生成する三次元化処理ステップとを有することを特徴とする。 The print control method according to the present invention is a print control method for causing a computer to perform a print control apparatus for performing print control for printing an image on a three-dimensional shape medium with a three-dimensional inkjet printer, the shape of the medium A print range specifying step for specifying a print range in which the two-dimensional image is projected as projected on the medium based on the information and two-dimensional image data of the two-dimensional image to be printed on the medium; in association with dimension image data to the print range, and the three-dimensional image data generating step of generating a three-dimensional image data corresponding to the surface shape of the media, half to execute halftone application for two-dimensional image data to the computer In order to perform tone processing, the three-dimensional image data is coordinate-transformed to obtain a two-dimensional coordinate of the print range. The association, the two-dimensional processing step of generating a two-dimensional pseudo-three-dimensional image data having the coordinate information of the three-dimensional image, the pseudo-three-dimensional image data halftone processing is performed by the computer coordinates And a three-dimensionalization processing step for generating a three-dimensional halftone image corresponding to the shape of the media after conversion.

本発明に係る印刷制御方法によれば、メディアの形状に対応付けられた三次元画像データを二次元座標に対応付けて二次元の擬似三次元画像データに変換してからハーフトーン処理を行うため、二次元画像データのハーフトーン処理を行うアプリケーションを用いて、三次元画像データのハーフトーン処理を行うことができる。これにより、様々な機能を備えたアプリケーションによりハーフトーン処理を行うことができるため、三次元インクジェットプリンタにより印刷された印刷画像の画質を向上させることができる。   According to the printing control method of the present invention, halftone processing is performed after converting 3D image data associated with the shape of the media into 2D pseudo 3D image data in association with 2D coordinates. The halftone process of 3D image data can be performed using an application that performs the halftone process of 2D image data. Thereby, since halftone processing can be performed by an application having various functions, the image quality of a printed image printed by a three-dimensional inkjet printer can be improved.

本発明に係る印刷制御プログラムは、コンピュータに、三次元インクジェットプリンタで三次元形状のメディアに画像を印刷するための印刷制御を行わせる印刷制御プログラムであって、前記メディアの形状情報と前記メディアに印刷させたい二次元画像の二次元画像データとに基づいて、前記二次元画像が前記メディアに投影されたように印刷される印刷範囲を特定する印刷範囲特定ステップと、前記二次元画像データを前記印刷範囲に対応付けて、前記メディアの表面形状に対応した三次元画像データを生成する三次元画像データ生成ステップと、二次元画像データ用ハーフトーンアプリケーションを実行させハーフトーン処理を行わせるために、前記三次元画像データを座標変換して前記印刷範囲の二次元座標に対応付けて、三次元画像の座標情報を持った二次元の擬似三次元画像データを生成する二次元化処理ステップと、前記ハーフトーン処理が行われた前記擬似三次元画像データを座標変換して、前記メディアの形状に対応付けた三次元のハーフトーン画像を生成する三次元化処理ステップとを前記コンピュータに実行させることを特徴とする。 A print control program according to the present invention is a print control program for causing a computer to perform print control for printing an image on a three-dimensional shape medium with a three-dimensional ink jet printer. Based on the two-dimensional image data of the two-dimensional image to be printed, a print range specifying step for specifying a print range in which the two-dimensional image is projected as projected onto the medium; and the two-dimensional image data In order to perform a halftone process by executing a three-dimensional image data generation step that generates three-dimensional image data corresponding to the surface shape of the media in association with a print range, and a halftone application for two-dimensional image data, The three-dimensional image data is coordinate-transformed and associated with the two-dimensional coordinates of the print range, A two-dimensional processing step of generating a two-dimensional pseudo-three-dimensional image data having the coordinate information, the pseudo-three-dimensional image data to which the halftone processing is performed by coordinate transformation, corresponding to the shape of the media a three-dimensional processing step of generating a three-dimensional halftone image attached, characterized in that causing the computer to perform.

本発明に係る印刷制御プログラムによれば、メディアの形状に対応付けられた三次元画像データを二次元座標に対応付けて二次元の擬似三次元画像データに変換してからハーフトーン処理を行うため、二次元画像データのハーフトーン処理を行うアプリケーションを用いて、三次元画像データのハーフトーン処理を行うことができる。これにより、様々な機能を備えたアプリケーションによりハーフトーン処理を行うことができるため、三次元インクジェットプリンタにより印刷された印刷画像の画質を向上させることができる。   According to the printing control program of the present invention, halftone processing is performed after converting 3D image data associated with the shape of the media into 2D pseudo 3D image data in association with 2D coordinates. The halftone process of 3D image data can be performed using an application that performs the halftone process of 2D image data. Thereby, since halftone processing can be performed by an application having various functions, the image quality of a printed image printed by a three-dimensional inkjet printer can be improved.

本発明によれば、二次元画像データをハーフトーン処理するアプリケーションを用いて三次元画像データのハーフトーン処理を行うことができる。   According to the present invention, halftone processing of 3D image data can be performed using an application that performs halftone processing of 2D image data.

本実施形態に係る印刷制御部を適用した印刷システムを示した図である。1 is a diagram illustrating a printing system to which a printing control unit according to an embodiment is applied. メディアの形状情報を説明するための図であり、(a)は、球状のメディア、(b)は、角丸四角柱のメディア、(c)は、コップ状のメディアを示している。It is a figure for demonstrating the shape information of a medium, (a) has shown the spherical medium, (b) has shown the medium of a rounded square pillar, (c) has shown the cup-shaped medium. 球状のメディアに印刷する場合における二次元画像データの対応付けを説明するための図であり、(a)は、メディアの正面から見た図、(b)は、メディアの側面から見た図である。It is a figure for demonstrating matching of the two-dimensional image data in the case of printing on a spherical medium, (a) is the figure seen from the front of the medium, (b) is the figure seen from the side of the medium. is there. 角丸四角柱のメディアに印刷する場合における二次元画像データの対応付けを説明するための図であり、(a)は、メディアの正面から見た図、(b)は、メディアの斜め上方から見た図である。It is a figure for demonstrating matching of the two-dimensional image data in the case of printing on the medium of a rounded square prism, (a) is the figure seen from the front of the medium, (b) is from the diagonal upper direction of the medium. FIG. コップ状のメディアに印刷する場合における二次元画像データの対応付けを説明するための図であり、(a)は、メディアの正面から見た図、(b)は、メディアの側面から見た図である。It is a figure for demonstrating matching of the two-dimensional image data in the case of printing on a cup-shaped medium, (a) is the figure seen from the front of the medium, (b) is the figure seen from the side of the medium It is. 印刷制御部の処理動作を示すフローチャートである。6 is a flowchart illustrating a processing operation of a print control unit.

以下、図面を参照して、本発明に係る印刷制御装置、印刷制御方法及び印刷制御プログラムの好適な実施形態について詳細に説明する。本実施形態は、本発明を三次元インクジェットプリンタで画像を印刷する印刷システムに適用したものである。この印刷システムは、三次元形状のメディアに印刷させたい画像を二次元画像データとして描画すると、この二次元画像をメディアに投影したごとく、メディアの正面から見た場合に、又はメディアを回転させて見た場合に、印刷画像が歪むこと無くそのままの状態で見えるように、この二次元画像データを三次元画像データに変換する。そして、三次元画像データの各画素をメディアの各印刷位置に一対一で対応付けて、三次元インクジェットプリンタでメディアに画像を印刷するものである。本実施形態は、このような印刷システムにおいて、二次元画像データをメディアの形状に対応付けた三次元画像データに変換した後、この三次元画像データにハーフトーン処理を施すものである。なお、全図中、同一又は相当部分には同一符号を付すこととする。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, exemplary embodiments of a printing control apparatus, a printing control method, and a printing control program according to the present invention will be described in detail with reference to the drawings. In this embodiment, the present invention is applied to a printing system that prints an image with a three-dimensional inkjet printer. In this printing system, when an image to be printed on a three-dimensional shape medium is drawn as two-dimensional image data, the two-dimensional image is projected onto the medium, as viewed from the front of the medium, or the medium is rotated. The two-dimensional image data is converted into three-dimensional image data so that the printed image can be seen as it is without being distorted when viewed. Then, each pixel of the three-dimensional image data is associated with each printing position of the medium on a one-to-one basis, and an image is printed on the medium with a three-dimensional inkjet printer. In this embodiment, in such a printing system, after converting two-dimensional image data into three-dimensional image data associated with the shape of the medium, halftone processing is performed on the three-dimensional image data. In the drawings, the same or corresponding parts are denoted by the same reference numerals.

図1は、本実施形態に係る印刷制御部を適用した印刷システムを示した図である。   FIG. 1 is a diagram illustrating a printing system to which a printing control unit according to the present embodiment is applied.

図1に示すように、印刷システム1は、インクジェットヘッド11からインクを吐出して三次元形状のメディアMに画像を印刷する三次元インクジェットプリンタ10と、この三次元インクジェットプリンタ10で印刷する画像を作成するパソコン20とにより構成されている。   As shown in FIG. 1, the printing system 1 ejects ink from an inkjet head 11 to print an image on a three-dimensional medium M, and an image to be printed by the three-dimensional inkjet printer 10. It is comprised with the personal computer 20 to create.

三次元インクジェットプリンタ10は、例えば、本件出願人が先に出願した特願2008−304228号公報に記載したものであり、インクを吐出するインクジェットヘッド11とメディアMとを三次元空間において相対的に移動させながら、インクジェットヘッドからインクを吐出させることで、三次元形状のメディアMに画像を印刷するものである。   The three-dimensional ink jet printer 10 is described, for example, in Japanese Patent Application No. 2008-304228 filed earlier by the applicant of the present application, and the ink jet head 11 that ejects ink and the medium M are relatively arranged in a three-dimensional space. An image is printed on the three-dimensional media M by ejecting ink from the inkjet head while moving.

パソコン20は、三次元インクジェットプリンタ10によりメディアMに印刷させる画像を作成するものである。このため、パソコン20には、画像などを作成する描画アプリケーション30と、二次元の画像データに対してハーフトーン処理を行うハーフトーンアプリケーション40と、がインストールされている。そして、このパソコン20には、描画アプリケーション30で作成された画像を三次元インクジェットプリンタ10で印刷させるための印刷制御を行う印刷制御部50が設けられている。なお、本実施形態では、描画アプリケーション30、ハーフトーンアプリケーション40及び印刷制御部50を、それぞれ別物として説明するが、描画アプリケーション30の一機能として、ハーフトーンアプリケーション40や印刷制御部50が組み込まれていてもよい。   The personal computer 20 creates an image to be printed on the medium M by the three-dimensional inkjet printer 10. For this reason, a drawing application 30 for creating an image and the like, and a halftone application 40 for performing halftone processing on two-dimensional image data are installed in the personal computer 20. The personal computer 20 is provided with a print control unit 50 that performs print control for causing the three-dimensional inkjet printer 10 to print an image created by the drawing application 30. In the present embodiment, the drawing application 30, the halftone application 40, and the print control unit 50 are described as separate objects. However, the halftone application 40 and the print control unit 50 are incorporated as one function of the drawing application 30. May be.

描画アプリケーション30は、ユーザがメディアMに印刷させたい画像を描画するアプリケーションである。そして、この描画アプリケーション30は、ユーザにより描画された画像に基づいて、RGB(Red:赤、Green:緑、Blue:青)の3色で表した二次元画像データを生成するものである。   The drawing application 30 is an application that draws an image that the user wants to print on the medium M. The drawing application 30 generates two-dimensional image data represented by three colors of RGB (Red: red, Green: green, Blue: blue) based on the image drawn by the user.

ハーフトーンアプリケーション40は、描画アプリケーション30で生成された二次元画像データに対してハーフトーン処理を行うものである。すなわち、ハーフトーンアプリケーション40は、描画アプリケーション30で生成された二次元画像データに基づいて、三次元インクジェットプリンタ10のインク色であるCMYK(Cyan:シアン、Magenta:マゼンタ、Yellow:イエロー、Black:ブラック)に対応した濃度階調を示す二次元ハーフトーン画像を生成するものである。   The halftone application 40 performs halftone processing on the two-dimensional image data generated by the drawing application 30. That is, the halftone application 40 is based on the two-dimensional image data generated by the drawing application 30, and CMYK (Cyan: cyan, Magenta: magenta, Yellow: yellow, Black: black) that are ink colors of the three-dimensional inkjet printer 10. ) To generate a two-dimensional halftone image showing a density gradation corresponding to.

印刷制御部50は、パソコン20において印刷制御を行うものであり、例えば、CPU、ROM、RAMを含むコンピュータを主体として構成されている。そして、印刷制御部50は、メディア形状取得部51、画像データ取得部52、印刷範囲特定部53、三次元画像データ生成部54、プレビュー画像生成部55、プレビュー画像表示部56、二次元化処理部57及び三次元化処理部58として機能する。なお、これらの各機能は、印刷制御部50が、CPUやRAM上に所定のコンピュータソフトウェアを読み込ませ、CPUの制御のもとで動作させることで実現される。   The print control unit 50 performs print control in the personal computer 20, and is configured mainly by a computer including a CPU, a ROM, and a RAM, for example. The print control unit 50 includes a media shape acquisition unit 51, an image data acquisition unit 52, a print range specification unit 53, a 3D image data generation unit 54, a preview image generation unit 55, a preview image display unit 56, and a two-dimensionalization process. Functions as the unit 57 and the three-dimensional processing unit 58. Each of these functions is realized by causing the print control unit 50 to read predetermined computer software on the CPU or RAM and operate it under the control of the CPU.

メディア形状取得部51は、画像を印刷するメディアMの形状情報(表面形状)を取得するものである。すなわち、メディアMは、三次元形状である球状、角丸四角柱状、コップ状(円錐台形状)などに形成されているため、メディア形状取得部51は、これらのメディアMの形状を示す形状情報を取得する。   The media shape acquisition unit 51 acquires shape information (surface shape) of the medium M on which an image is printed. That is, since the medium M is formed in a three-dimensional shape such as a spherical shape, a rounded quadrangular prism shape, or a cup shape (conical truncated cone shape), the media shape acquisition unit 51 has shape information indicating the shape of these media M. To get.

図2は、メディアの形状情報を説明するための図であり、図2(a)は、球状のメディア、図2(b)は、角丸四角柱のメディア、図2(c)は、コップ状のメディアを示している。図2(a)に示すように、メディアMが球状の場合は、(1)メディアMが球状であることを示す情報と、(2)半径Rとが、メディアMの形状情報となる。図2(b)に示すように、メディアMが角丸四角柱の場合は、(1)メディアMが角丸四角柱であることを示す情報と、(2)メディアMの奥行きdと、(3)断面の縦幅hと、(4)断面の横幅wと、(5)四隅の曲率半径r〜rとが、メディアMの形状情報となる。図2(c)に示すように、メディアMがコップ状の場合は、(1)メディアMがコップ状であることを示す情報と、(2)メディアMの高さhと、(3)メディアMの上底半径Rと、(4)メディアMの下底半径Rとが、メディアMの形状情報となる。なお、本実施形態では、コップ状のメディアは、下底の径よりも上底の径の方が大きいものとして説明する。 2A and 2B are diagrams for explaining the shape information of the medium. FIG. 2A is a spherical medium, FIG. 2B is a rounded quadrangular prism medium, and FIG. 2C is a cup. Media. As shown in FIG. 2A, when the medium M is spherical, (1) information indicating that the medium M is spherical and (2) radius R are the shape information of the medium M. As shown in FIG. 2B, when the medium M is a rounded quadrangular prism, (1) information indicating that the medium M is a rounded quadrangular prism, (2) the depth d of the medium M, 3) The vertical width h of the cross section, (4) the horizontal width w of the cross section, and (5) the curvature radii r 1 to r 4 of the four corners are the shape information of the medium M. As shown in FIG. 2C, when the medium M is cup-shaped, (1) information indicating that the medium M is cup-shaped, (2) height h of the medium M, and (3) medium and the upper base radius R T of the M, and the lower base radius R B of (4) media M, the shape information of the media M. In the present embodiment, the description will be made assuming that the cup-shaped medium has a diameter of the upper base larger than that of the lower base.

画像データ取得部52は、描画アプリケーションで作成された画像の二次元画像データを取得するものである。   The image data acquisition unit 52 acquires two-dimensional image data of an image created by a drawing application.

印刷範囲特定部53は、メディア形状取得部51で取得したメディアMの形状情報と、画像データ取得部52で取得した二次元画像データとに基づいて、画像を印刷するメディアMの印刷範囲を特定するものである。上述したように、本実施形態では、この二次元画像をメディアに投影したごとく、メディアMの正面から見た場合に、又はメディアMを回転させて見た場合に、印刷画像が歪むこと無くそのままの状態で見えるように、二次元の画像をメディアMに投影したように印刷するものである。このため、印刷範囲特定部53は、二次元画像データが歪むことなくそのままの状態で見えるように、画像を印刷するメディアMの印刷範囲を特定する。従って、二次元画像データが正方形である場合は、印刷範囲特定部53により特定される印刷範囲は、メディアMの正面から見た場合に、又はメディアMを回転させて見た場合に、正方形となる。そして、印刷範囲特定部53は、この印刷範囲として、メディアMに対する画像の配置(画像の中心点)及び大きさ(拡大率又は縮小率)を特定する。   The print range specifying unit 53 specifies the print range of the medium M on which the image is to be printed based on the shape information of the medium M acquired by the media shape acquiring unit 51 and the two-dimensional image data acquired by the image data acquiring unit 52. To do. As described above, in this embodiment, when the two-dimensional image is projected onto the medium, when viewed from the front of the medium M or when the medium M is rotated, the print image is not distorted. The two-dimensional image is printed as if it was projected onto the medium M so that it can be seen in the above state. For this reason, the print range specifying unit 53 specifies the print range of the medium M on which the image is printed so that the two-dimensional image data can be seen as it is without being distorted. Therefore, when the two-dimensional image data is a square, the print range specified by the print range specifying unit 53 is a square when viewed from the front of the medium M or when the medium M is rotated. Become. Then, the print range specifying unit 53 specifies the arrangement (the center point of the image) and the size (enlargement ratio or reduction ratio) of the image with respect to the medium M as the print range.

三次元画像データ生成部54は、画像データ取得部52で取得した二次元画像データを印刷範囲特定部53で特定したメディアMの印刷範囲に対応付けて、メディアMの表面形状に対応した三次元画像データを生成するものである。なお、この対応付けはメディアMの形状によって異なるため、メディアMが球状である場合、メディアMが角丸四角柱である場合、メディアMがコップ状である場合に分けて説明する。   The three-dimensional image data generation unit 54 associates the two-dimensional image data acquired by the image data acquisition unit 52 with the print range of the medium M specified by the print range specifying unit 53, and corresponds to the surface shape of the medium M. Image data is generated. Since this association varies depending on the shape of the medium M, the description will be divided into a case where the medium M is spherical, a case where the medium M is a rounded quadrangular prism, and a case where the medium M is cup-shaped.

図3は、球状のメディアに印刷する場合における二次元画像データの対応付けを説明するための図であり、図3(a)は、メディアの正面から見た図、図3(b)は、メディアの側面から見た図である。なお、図3において、Aは、印刷範囲特定部53により特定された印刷範囲を示しており、Bは、メディアMに印刷しようとする二次元画像データを示している。   FIG. 3 is a diagram for explaining the association of two-dimensional image data when printing on a spherical medium. FIG. 3A is a diagram seen from the front of the medium, and FIG. It is the figure seen from the side of media. In FIG. 3, A indicates a print range specified by the print range specifying unit 53, and B indicates two-dimensional image data to be printed on the medium M.

図3(b)に示すように、メディアMが球状である場合、三次元画像データ生成部54は、二次元画像データBを印刷範囲特定部53により特定された印刷範囲Aの大きさに伸縮させて、二次元画像データBの中心点と印刷範囲特定部53により特定された印刷範囲Aの中心点とが対応するように二次元画像データBを配置する。そして、三次元画像データ生成部54は、メディアMを正面から見た場合の視点方向Dと平行になるように、二次元画像データBの各画素をメディアM表面に投影する。すると、二次元画像データBは、メディアMの表面の印刷範囲Aに投影されて、図3(a)に示すように、メディアMの正面から見た場合に、真正面に配置され、この二次元画像データBが歪むこと無くそのままの状態で見える。そして、メディアMの印刷範囲Aに投影された二次元画像データBの各画素を、メディアMの印刷範囲Aの三次元座標に対応付けることで、三次元画像データを生成する。このため、三次元画像データ生成部54により生成された三次元画像データは、メディアMの正面から見た場合に、画像が歪むこと無く2次元画像データのままの状態となる。   As shown in FIG. 3B, when the medium M is spherical, the 3D image data generation unit 54 expands or contracts the 2D image data B to the size of the printing range A specified by the printing range specifying unit 53. Thus, the two-dimensional image data B is arranged so that the center point of the two-dimensional image data B corresponds to the center point of the print range A specified by the print range specifying unit 53. Then, the three-dimensional image data generation unit 54 projects each pixel of the two-dimensional image data B on the surface of the medium M so as to be parallel to the viewpoint direction D when the medium M is viewed from the front. Then, the two-dimensional image data B is projected onto the printing range A on the surface of the medium M, and is arranged in front of the medium M when viewed from the front as shown in FIG. The image data B appears as it is without distortion. Then, the three-dimensional image data is generated by associating each pixel of the two-dimensional image data B projected onto the printing range A of the medium M with the three-dimensional coordinates of the printing range A of the medium M. For this reason, the three-dimensional image data generated by the three-dimensional image data generation unit 54 remains as two-dimensional image data without being distorted when viewed from the front of the medium M.

図4は、角丸四角柱のメディアに印刷する場合における二次元画像データの対応付けを説明するための図であり、図4(a)は、メディアの正面から見た図、図4(b)は、メディアの斜め上方から見た図である。なお、図4において、Aは、印刷範囲特定部53により特定された印刷範囲を示しており、Bは、メディアMに印刷しようとする二次元画像データを示している。   FIG. 4 is a diagram for explaining the association of two-dimensional image data when printing on a rounded quadrangular prism medium. FIG. 4A is a diagram viewed from the front of the medium, and FIG. ) Is a view as seen from obliquely above the media. In FIG. 4, A indicates a print range specified by the print range specifying unit 53, and B indicates two-dimensional image data to be printed on the medium M.

図4(b)に示すように、メディアMが、四角柱の四角が面取りされて隣り合う側面が曲面で接続された角丸四角柱である場合、三次元画像データ生成部54は、二次元画像データBを印刷範囲特定部53により特定された印刷範囲Aの大きさに伸縮させるとともに、この二次元画像データBを、印刷範囲特定部53により特定された印刷範囲Aの印刷開始位置SからメディアMの表面に沿って展開する。すると、二次元画像データBは、図4(a)に示すようにメディアMの正面から見た場合に、真正面に配置され、メディアMを回転させて見た場合に、二次元画像データBが歪むこと無くそのままの状態で見える。そして、メディアMの印刷範囲Aに展開された二次元画像データBの各画素を、メディアMの印刷範囲Aの三次元座標に対応付けることで、三次元画像データを生成する。   As shown in FIG. 4B, when the medium M is a rounded quadrangular prism in which quadrangular prisms are chamfered and adjacent side surfaces are connected by curved surfaces, the three-dimensional image data generation unit 54 The image data B is expanded or contracted to the size of the print range A specified by the print range specifying unit 53, and the two-dimensional image data B is changed from the print start position S of the print range A specified by the print range specifying unit 53. It develops along the surface of the media M. Then, as shown in FIG. 4A, the two-dimensional image data B is arranged in front of the medium M when viewed from the front, and when the medium M is rotated, the two-dimensional image data B is It looks as it is without distortion. Then, the three-dimensional image data is generated by associating each pixel of the two-dimensional image data B developed in the printing range A of the medium M with the three-dimensional coordinates of the printing range A of the medium M.

図5は、コップ状のメディアに印刷する場合における二次元画像データの対応付けを説明するための図であり、図5(a)は、メディアの正面から見た図、図5(b)は、メディアの側面から見た図である。なお、図5において、Aは、印刷範囲特定部53により特定された印刷範囲を示しており、Bは、メディアMに印刷しようとする二次元画像データを示している。   5A and 5B are diagrams for explaining the association of two-dimensional image data when printing on a cup-shaped medium. FIG. 5A is a diagram seen from the front of the medium, and FIG. It is the figure seen from the side of the media. In FIG. 5, A indicates a print range specified by the print range specifying unit 53, and B indicates two-dimensional image data to be printed on the medium M.

図5(b)に示すように、メディアMがコップ状である場合、三次元画像データ生成部54は、二次元画像データBを印刷範囲特定部53により特定された印刷範囲Aの大きさに伸縮させて、二次元画像データBの上辺の中間点(又は、二次元画像データBの中心点)と印刷範囲特定部53により特定された印刷範囲Aの上辺の中間点(又は、印刷範囲Aの中心点)とが対応するように二次元画像データBを配置する。そして、三次元画像データ生成部54は、メディアMを正面から見た場合の視点方向Dと平行になるように、二次元画像データBの各画素をメディアM表面に投影する。なお、視点方向Dは、印刷範囲Aの上辺の中間点Cを通りメディアMの中心軸Eに垂直な直線Fに平行な方向となる。すると、二次元画像データBは、メディアMの表面の印刷範囲Aに投影されて、図5(a)に示すように、メディアMの正面から見た場合に、真正面に配置され、この二次元画像データBが歪むこと無くそのままの状態で見える。そして、メディアMの印刷範囲Aに投影された二次元画像データBの各画素を、メディアMの印刷範囲Aの三次元座標に対応付けることで、三次元画像データを生成する。このため、三次元画像データ生成部54により生成された三次元画像データは、メディアMの正面から見た場合に、画像が歪むこと無く2次元画像データのままの状態となる。   As shown in FIG. 5B, when the medium M has a cup shape, the 3D image data generation unit 54 sets the 2D image data B to the size of the print range A specified by the print range specification unit 53. The intermediate point of the upper side of the two-dimensional image data B (or the center point of the two-dimensional image data B) and the intermediate point of the upper side of the printing range A specified by the printing range specifying unit 53 (or the printing range A) The two-dimensional image data B is arranged so as to correspond to the center point). Then, the three-dimensional image data generation unit 54 projects each pixel of the two-dimensional image data B on the surface of the medium M so as to be parallel to the viewpoint direction D when the medium M is viewed from the front. The viewpoint direction D is a direction parallel to a straight line F that passes through the middle point C on the upper side of the printing range A and is perpendicular to the central axis E of the medium M. Then, the two-dimensional image data B is projected onto the printing range A on the surface of the medium M, and is arranged in front of the medium M when viewed from the front of the medium M as shown in FIG. The image data B appears as it is without distortion. Then, the three-dimensional image data is generated by associating each pixel of the two-dimensional image data B projected onto the printing range A of the medium M with the three-dimensional coordinates of the printing range A of the medium M. For this reason, the three-dimensional image data generated by the three-dimensional image data generation unit 54 remains as two-dimensional image data without being distorted when viewed from the front of the medium M.

プレビュー画像生成部55は、三次元画像データ生成部54で生成した三次元画像データを所定方向から見たプレビュー画像を生成するものである。すなわち、プレビュー画像生成部55は、三次元画像データ生成部54で生成した三次元画像データを所定方向から見た二次元座標に変換して、描画アプリケーションで作成した画像をメディアMに印刷した状態を示すプレビュー画像を生成するものである。   The preview image generation unit 55 generates a preview image obtained by viewing the 3D image data generated by the 3D image data generation unit 54 from a predetermined direction. That is, the preview image generation unit 55 converts the 3D image data generated by the 3D image data generation unit 54 into two-dimensional coordinates viewed from a predetermined direction, and prints an image created by the drawing application on the medium M Is generated.

なお、プレビュー画像生成部55は、二次元座標に変換された画像にメディアM形状を重ね合わせたものをプレビュー画像として生成してもよい。   Note that the preview image generation unit 55 may generate a preview image obtained by superimposing the medium M shape on the image converted into the two-dimensional coordinates.

プレビュー画像表示部56は、プレビュー画像生成部55で生成されたプレビュー画像を、パソコン20のディスプレイ(不図示)に表示させるものである。   The preview image display unit 56 displays the preview image generated by the preview image generation unit 55 on a display (not shown) of the personal computer 20.

二次元化処理部57は、ハーフトーンアプリケーション40にハーフトーン処理を行わせるために、三次元画像データ生成部54で生成した三次元画像データを座標変換して、二次元座標に対応付けた擬似三次元画像データを生成するものである。すなわち、二次元化処理部57は、三次元画像データの座標情報を持った二次元の擬似三次元画像データを生成する。なお、三次元画像データを擬似三次元画像データに変換する手法はメディアMの形状によって異なるため、メディアMが球状である場合、メディアMが角丸四角柱である場合、メディアMがコップ状である場合に分けて説明する。   The two-dimensionalization processing unit 57 performs coordinate conversion on the three-dimensional image data generated by the three-dimensional image data generation unit 54 in order to cause the halftone application 40 to perform halftone processing, and performs pseudo-corresponding to the two-dimensional coordinates. It generates three-dimensional image data. That is, the two-dimensionalization processing unit 57 generates two-dimensional pseudo three-dimensional image data having the coordinate information of the three-dimensional image data. Note that the method of converting the 3D image data into the pseudo 3D image data differs depending on the shape of the medium M. Therefore, when the medium M is spherical, when the medium M is a rounded quadrangular prism, the medium M is cup-shaped. A description will be given in some cases.

まず、メディアMが球状である場合について説明する。球状のメディアMの表面の座標は、球の半径と、中心点からの仰角及び方位角の2座標と、によって一意に決まる。そこで、擬似三次元画像データの縦のサイズを円周の半分、横のサイズを円周とし、擬似三次元画像データの中心点を仰角0°及び方位角0°とし、擬似三次元画像データの右端を方位角180°、左端を方位角−180°、上端を仰角90°、下端を仰角−90°とする。そして、擬似三次元画像データの中心座標を(0,0)、仰角をψ(ラジアン)、方位角をθ(ラジアン)、半径をRとすると、擬似三次元画像データの任意の点(x,y)の座標は、
x=Rθ
y=Rψ
により求めることができる。
First, the case where the medium M is spherical will be described. The coordinates of the surface of the spherical medium M are uniquely determined by the radius of the sphere and the two coordinates of the elevation angle and the azimuth angle from the center point. Therefore, the vertical size of the pseudo 3D image data is half the circumference, the horizontal size is the circumference, the center point of the pseudo 3D image data is the elevation angle 0 ° and the azimuth angle 0 °, and the pseudo 3D image data The right end is azimuth angle 180 °, the left end is azimuth angle −180 °, the upper end is elevation angle 90 °, and the lower end is elevation angle −90 °. If the center coordinates of the pseudo 3D image data are (0, 0), the elevation angle is ψ (radian), the azimuth angle is θ (radian), and the radius is R, an arbitrary point (x, The coordinates of y) are
x = Rθ
y = Rψ
It can ask for.

次に、メディアMが角丸四角柱である場合について説明する。この場合、角丸四角柱の側面が長方形になるように切り開いた展開図に擬似三次元画像データを対応付けることで、擬似三次元画像データの任意の点(x,y)の座標を求めることができる。   Next, a case where the medium M is a rounded quadrangular prism will be described. In this case, the coordinates of an arbitrary point (x, y) of the pseudo three-dimensional image data can be obtained by associating the pseudo three-dimensional image data with a development view that is cut open so that the side surface of the rounded quadrangular prism is rectangular. it can.

次に、メディアMがコップ状である場合について説明する。コップの側面の座標は、当該コップを三次元座標のXY平面に上下逆においた場合のZ座標及び方位角の2座標と、上底の半径、下底の半径及びコップの高さと、によって一意に決まる。そこで、擬似三次元画像データの縦のサイズをコップの高さ、横のサイズを上底の円周とし、擬似三次元画像データの中心点を方位角0°、右端を方位角180°、左端を方位角−180°とする。そして、擬似三次元画像データの中心の座標を(0,0)、方位角をθ(ラジアン)、上底半径をRとすると、擬似三次元画像データの任意の点(x,y)の座標は、
x=Rθ
y=コップを三次元座標のXY平面に逆においた場合のZ座標
により求めることができる。
Next, a case where the medium M is cup-shaped will be described. The coordinates of the side of the cup are unique by the two coordinates of the Z coordinate and the azimuth when the cup is turned upside down on the XY plane of the three-dimensional coordinate, the upper base radius, the lower base radius, and the cup height. It is decided. Therefore, the vertical size of the pseudo 3D image data is the height of the cup, the horizontal size is the circumference of the upper base, the center point of the pseudo 3D image data is the azimuth angle 0 °, the right end is the azimuth angle 180 °, the left end Is an azimuth angle of −180 °. If the coordinate of the center of the pseudo 3D image data is (0, 0), the azimuth angle is θ (radian), and the upper base radius is RT , an arbitrary point (x, y) of the pseudo 3D image data is obtained. Coordinates are
x = R T θ
It can be obtained from the Z coordinate when y = cup is placed opposite to the XY plane of the three-dimensional coordinate.

三次元化処理部58は、ハーフトーンアプリケーション40でハーフトーン処理が行われた二次元のハーフトーン画像を座標変換して、メディアMの形状に対応付けた三次元のハーフトーン画像を生成するものである。なお、ハーフトーン画像を三次元化する手法はメディアMの形状によって異なるため、図2を参照しながら、メディアMが球状である場合、メディアMが角丸四角柱である場合、メディアMがコップ状である場合に分けて説明する。   The three-dimensional processing unit 58 performs coordinate conversion on the two-dimensional halftone image that has been subjected to the halftone processing by the halftone application 40, and generates a three-dimensional halftone image associated with the shape of the medium M It is. Since the method of three-dimensionalizing a halftone image differs depending on the shape of the medium M, referring to FIG. 2, when the medium M is spherical, when the medium M is a rounded quadrangular prism, the medium M is a cup. The case will be described separately.

まず、メディアMが球状である場合について説明する。上述したように、擬似三次元画像データの座標値は、メディアMの半径をR、仰角をψ(ラジアン)、方位角をθ(ラジアン)とすると、(x,y)=(Rθ,Rψ)で表される。そして、メディアMが球状であることと、半径Rを特定することで、仰角ψと方位角θが求まる。このため、三次元のハーフトーン画像の座標(P,P,P)は、
=Rcosθ
=Rsinθ
=Rsinψ
により求めることができる。
First, the case where the medium M is spherical will be described. As described above, the coordinate values of the pseudo three-dimensional image data are (x, y) = (Rθ, Rψ) where R is the radius of the medium M, ψ (radian) is the elevation angle, and θ (radian) is the azimuth angle. It is represented by The elevation angle ψ and the azimuth angle θ can be obtained by specifying the medium M to be spherical and specifying the radius R. Therefore, the coordinates (P x , P y , P Z ) of the three-dimensional halftone image are
P x = R cos θ
P y = R sin θ
P z = Rsinψ
It can ask for.

次に、メディアMが角丸四角柱である場合について説明する。上述したように、擬似三次元画像データは、角丸四角柱の側面が長方形になるように切り開いた展開図に対応付けられているため、擬似三次元画像データから得られる座標値xは、画像の開始位置からの距離となる。そして、三次元のハーフトーン画像の原点を角丸四角柱であるメディアMの中心とすると、三次元のハーフトーン画像の座標(P,P,P)は、
=角丸曲面上の点(開始位置からの距離により求める)
=角丸曲面上の点(開始位置からの距離により求める)
=1/2d−y
により求めることができる。
Next, a case where the medium M is a rounded quadrangular prism will be described. As described above, since the pseudo three-dimensional image data is associated with a development view that is cut open so that the side surface of the rounded quadrangular prism is rectangular, the coordinate value x obtained from the pseudo three-dimensional image data is the image This is the distance from the start position. Then, assuming that the origin of the three-dimensional halftone image is the center of the medium M, which is a rounded quadrangular prism, the coordinates (P x , P y , P Z ) of the three-dimensional halftone image are
P x = point on rounded curved surface (determined by distance from start position)
P y = point on rounded curved surface (determined by distance from start position)
P z = 1 / 2d−y
It can ask for.

次に、メディアMがコップ状である場合について説明する。上述したように、擬似三次元画像データの座標値は、方位角をθ(ラジアン)とすると、(x,y)=(R,コップを三次元座標のXY平面に逆においた場合のZ座標)で表される。このため、三次元のハーフトーン画像の座標(P,P,P)は、
=R+(R−R)×(y/h)×Rcosθ
=Rsinθ
=1/2h−y
により求めることができる。
Next, a case where the medium M is cup-shaped will be described. As described above, the coordinate value of the pseudo three-dimensional image data is the Z coordinate when the azimuth is θ (radian) and (x, y) = (R, cup is reversed on the XY plane of the three-dimensional coordinate. ). Therefore, the coordinates (P x , P y , P Z ) of the three-dimensional halftone image are
P x = R T + (R T -R B) × (y / h) × Rcosθ
P y = R sin θ
P z = 1 / 2h−y
It can ask for.

次に、図6を参照して、本実施形態に係る印刷制御部50の動作について説明する。図6は、印刷制御部の処理動作を示すフローチャートである。なお、以下に説明する印刷制御部50の処理動作は、印刷制御部50において、CPUなどで構成される処理部(不図示)が、ROMなどの記憶装置に記録されたプログラムに従い、メディア形状取得部51、画像データ取得部52、印刷範囲特定部53、三次元画像データ生成部54、プレビュー画像生成部55、プレビュー画像表示部56、二次元化処理部57、三次元化処理部58などの機能を統括管理することで、以下の処理が行われる。   Next, the operation of the print control unit 50 according to the present embodiment will be described with reference to FIG. FIG. 6 is a flowchart illustrating the processing operation of the print control unit. Note that the processing operation of the print control unit 50 described below is such that a processing unit (not shown) configured by a CPU or the like in the print control unit 50 acquires a media shape according to a program recorded in a storage device such as a ROM Unit 51, image data acquisition unit 52, print range specifying unit 53, three-dimensional image data generation unit 54, preview image generation unit 55, preview image display unit 56, two-dimensionalization processing unit 57, three-dimensionalization processing unit 58, etc. The following processes are performed by centrally managing the functions.

まず、印刷制御部50は、メディア形状取得部51により、メディアMの形状情報を取得する(ステップS1)。このとき、メディアMが球状である場合は、メディアMの形状情報として、(1)メディアMが球状であることを示す情報と、(2)半径Rとを取得する。メディアMが角丸四角柱の場合は、メディアMの形状情報として、(1)メディアMが角丸四角柱であることを示す情報と、(2)メディアMの奥行きdと、(3)断面の縦幅hと、(4)断面の横幅wと、(5)四隅の曲率半径r〜rとを取得する。メディアMがコップ状の場合は、メディアMの形状情報として、(1)メディアMがコップ状であることを示す情報と、(2)メディアMの高さhと、(3)メディアMの上底半径Rと、(4)メディアMの下底半径Rとを取得する。 First, the print control unit 50 acquires the shape information of the medium M by the media shape acquisition unit 51 (step S1). At this time, if the medium M is spherical, (1) information indicating that the medium M is spherical and (2) radius R are acquired as shape information of the medium M. When the medium M is a rounded square column, the shape information of the medium M includes (1) information indicating that the medium M is a rounded square column, (2) the depth d of the medium M, and (3) a cross section. The vertical width h of (4), the horizontal width w of the cross section, and (5) the curvature radii r 1 to r 4 of the four corners are acquired. When the medium M is cup-shaped, the shape information of the medium M includes (1) information indicating that the medium M is cup-shaped, (2) the height h of the medium M, and (3) the top of the medium M. obtaining a bottom radius R T, and a lower base radius R B of (4) media M.

次に、印刷制御部50は、画像データ取得部52により、描画アプリケーションなどで作成された画像の二次元画像データを取得する(ステップS2)。なお、ステップS2で取得する二次元画像データは、RGBの3色で表された二次元のデータである。   Next, the print control unit 50 acquires two-dimensional image data of an image created by a drawing application or the like by using the image data acquisition unit 52 (step S2). Note that the two-dimensional image data acquired in step S2 is two-dimensional data represented by three colors of RGB.

次に、印刷制御部50は、印刷範囲特定部53により、メディア形状取得部51で取得したメディアMの形状情報と、画像データ取得部52で取得した二次元画像データとに基づいて、メディアMを正面から見た場合におけるメディアMの印刷範囲を特定する(ステップS3)。このとき、印刷制御部50は、メディアMの正面から見た場合に、又はメディアMを回転させて見た場合に、二次元画像データが歪むことなくそのままの状態で見えるように、画像の印刷範囲を特定する。そして、印刷制御部50は、印刷範囲として、メディアMに対する画像の配置(画像の中心点)及び大きさ(拡大率又は縮小率)を特定する。   Next, the print control unit 50 uses the print range specifying unit 53 based on the shape information of the medium M acquired by the media shape acquisition unit 51 and the two-dimensional image data acquired by the image data acquisition unit 52. When printing is viewed from the front, the print range of the medium M is specified (step S3). At this time, the print control unit 50 prints an image so that the two-dimensional image data can be seen as it is without being distorted when viewed from the front of the medium M or when the medium M is rotated. Identify the range. Then, the print control unit 50 specifies the arrangement (the center point of the image) and the size (enlargement ratio or reduction ratio) of the image with respect to the medium M as the print range.

次に、印刷制御部50は、三次元画像データ生成部54により、ステップS1で取得したメディアMの形状情報に基づいて、ステップS2で取得した二次元画像データをステップS3で特定したメディアMの印刷範囲に対応付けて、メディアMの表面形状に対応した三次元画像データを生成する(ステップS4)。なお、ステップS4で生成する三次元画像データは、RGBの3色で表された三次元のデータである。   Next, the print control unit 50 uses the 3D image data generation unit 54 to determine the 2D image data acquired in step S2 based on the shape information of the medium M acquired in step S1. In association with the printing range, three-dimensional image data corresponding to the surface shape of the medium M is generated (step S4). Note that the three-dimensional image data generated in step S4 is three-dimensional data represented by three colors of RGB.

次に、印刷制御部50は、プレビューを行うか否かを判定する(ステップS5)。すなわち、ステップS5では、例えば、ユーザによりYESキーが押下されると、プレビューを行うと判定し、ユーザによりNOキーが押下されると、プレビューを行わないと判定する。   Next, the print control unit 50 determines whether to perform preview (step S5). That is, in step S5, for example, when the user presses the YES key, it is determined that the preview is performed, and when the user presses the NO key, it is determined that the preview is not performed.

そして、プレビューを行わないと判定すると、印刷制御部50は、プレビュー処理を行わずに後述するステップS11に進む。   If it is determined that the preview is not performed, the print control unit 50 proceeds to step S11 described later without performing the preview process.

一方、プレビューを行うと判定すると、印刷制御部50は、プレビュー処理を開始する。すなわち、印刷制御部50は、まず、プレビュー画像生成部55により、ステップS4で生成した三次元画像データを二次元画像に変換して、描画アプリケーションで作成した画像をメディアMに印刷した状態を示すプレビュー画像を生成する(ステップS6)。   On the other hand, when it is determined that the preview is performed, the print control unit 50 starts the preview process. That is, the print control unit 50 first shows a state in which the preview image generation unit 55 converts the 3D image data generated in step S4 into a 2D image and prints the image created by the drawing application on the medium M. A preview image is generated (step S6).

次に、印刷制御部50は、プレビュー画像表示部56により、ステップS6で生成したプレビュー画像をパソコン20のディスプレイに表示する(ステップS7)。これにより、ユーザは、表示されたプレビュー画像を観察することで、メディアMに画像が印刷された場合の印刷画像の状態を確認することができる。   Next, the print control unit 50 causes the preview image display unit 56 to display the preview image generated in step S6 on the display of the personal computer 20 (step S7). Thereby, the user can confirm the state of the print image when the image is printed on the medium M by observing the displayed preview image.

次に、印刷制御部50は、ユーザからの確認指示があるか否かを判定する(ステップS8)。すなわち、ステップS8では、例えば、ユーザによりYESキーが押下されると、確認指示があったと判定し、ユーザによりNOキーが押下されると、確認指示がないと判定する。なお、ユーザがYESキーを押下する場合とは、ディスプレイに表示されたプレビュー画像が予想通りの状態になっており、他の視点方向からのプレビュー画像は確認しなくてもよい場合などである。一方、ユーザがNOキーを押下する場合とは、ディスプレイに表示されたプレビュー画像が予想通りの状態になっていない場合や、他の視点方向からのプレビュー画像を確認したい場合や、画像の印刷範囲を再調整したい場合などである。   Next, the print control unit 50 determines whether there is a confirmation instruction from the user (step S8). That is, in step S8, for example, when the user presses the YES key, it is determined that there is a confirmation instruction, and when the user presses the NO key, it is determined that there is no confirmation instruction. The case where the user presses the YES key is a case where the preview image displayed on the display is in an expected state and the preview image from another viewpoint direction need not be confirmed. On the other hand, when the user presses the NO key, the preview image displayed on the display is not in an expected state, the user wants to confirm a preview image from another viewpoint direction, or the image print range. If you want to readjust.

そして、ステップS8において確認指示がないと判定すると(ステップS8:NG)、印刷制御部50は、ユーザが印刷範囲変更と視点変更の何れを希望しているのかを判定する(ステップS9)。すなわち、ステップS9では、ユーザにより印刷範囲変更のキーが押下されると、ユーザが印刷範囲変更を希望していると判定し、ユーザにより視点変更のキーが押下されると、ユーザが視点変更を希望していると判定する。   If it is determined in step S8 that there is no confirmation instruction (step S8: NG), the print control unit 50 determines whether the user desires a print range change or a viewpoint change (step S9). That is, in step S9, when the user presses the print range change key, it is determined that the user desires to change the print range. When the user presses the viewpoint change key, the user changes the viewpoint. Judge that you want.

そして、ステップS9において印刷範囲変更であると判定すると(ステップS9:印刷範囲変更)、印刷制御部50は、ステップS3に戻って印刷範囲を特定しなおして、再度、上述したステップS3〜ステップS8を繰り返す。   If it is determined in step S9 that the print range has been changed (step S9: print range change), the print control unit 50 returns to step S3, respecifies the print range, and again performs steps S3 to S8 described above. repeat.

一方、ステップS9において視点変更であると判定すると(ステップS9:視点変更)、印刷制御部50は、プレビュー画像生成部55により、プレビュー画像を表示させたい視点方向を変更する(ステップS10)。そして、印刷制御部50は、ステップS6に戻り、ステップS4で生成した三次元画像データをステップS10で変更した視点方向から見た二次元画像に変換して、再度プレビュー画像を生成する。   On the other hand, if it is determined in step S9 that the viewpoint has been changed (step S9: viewpoint change), the print control unit 50 changes the viewpoint direction in which the preview image is to be displayed by the preview image generation unit 55 (step S10). Then, the print control unit 50 returns to step S6, converts the three-dimensional image data generated in step S4 into a two-dimensional image viewed from the viewpoint direction changed in step S10, and generates a preview image again.

そして、最終的に、上述したステップS8において確認指示があると判定すると(ステップS8:OK)、印刷制御部50は、プレビュー処理を終了する。   When it is finally determined that there is a confirmation instruction in step S8 described above (step S8: OK), the print control unit 50 ends the preview process.

プレビュー処理が終了した場合(ステップS8:OK)、又は、プレビュー処理を行わない場合(ステップS5:NO)、印刷制御部50は、二次元化処理部57により、ステップS4で生成した三次元画像データに対して二次元化処理を行い、擬似三次元画像データを生成する(ステップS11)。なお、ステップS11で生成する擬似三次元画像データは、RGBの3色で表された二次元のデータである。   When the preview process is completed (step S8: OK) or when the preview process is not performed (step S5: NO), the print control unit 50 uses the two-dimensionalization processing unit 57 to generate the three-dimensional image generated in step S4. Two-dimensionalization processing is performed on the data to generate pseudo three-dimensional image data (step S11). Note that the pseudo three-dimensional image data generated in step S11 is two-dimensional data represented by three colors of RGB.

次に、印刷制御部50は、ステップS11で生成した擬似三次元画像データをハーフトーンアプリケーション40に渡して、ハーフトーン処理を行う(ステップS12)。すなわち、ステップS12では、二次元のデータである擬似三次元画像データに対してハーフトーン処理を行い、三次元インクジェットプリンタ10のインク色であるCMYKに対応した濃度階調を示す二次元ハーフトーン画像を生成する。   Next, the print control unit 50 passes the pseudo three-dimensional image data generated in step S11 to the halftone application 40 and performs halftone processing (step S12). That is, in step S12, a halftone process is performed on the pseudo three-dimensional image data that is two-dimensional data, and a two-dimensional halftone image that indicates a density gradation corresponding to CMYK, which is the ink color of the three-dimensional inkjet printer 10. Is generated.

次に、印刷制御部50は、ステップS12で生成した二次元ハーフトーン画像データに対して三次元化処理を行い、メディアMの形状に対応付けた三次元ハーフトーン画像データを生成する(ステップS13)。これにより、実質的に、メディアMの形状に対応付けられた三次元画像データに対してハーフトーン処理を行ったのと同様な三次元ハーフトーン画像が生成される。   Next, the print control unit 50 performs three-dimensional processing on the two-dimensional halftone image data generated in step S12, and generates three-dimensional halftone image data associated with the shape of the medium M (step S13). ). Thereby, a three-dimensional halftone image that is substantially the same as the halftone process performed on the three-dimensional image data associated with the shape of the medium M is generated.

その後、印刷制御部50は、ステップS13で生成した三次元ハーフトーン画像に基づいて、三次元インクジェットプリンタ10で印刷するためのコマンドを作成し、このコマンドを三次元インクジェットプリンタ10に送信することで、三次元インクジェットプリンタ10でメディアMに画像が印刷される。   Thereafter, the print control unit 50 creates a command for printing by the three-dimensional inkjet printer 10 based on the three-dimensional halftone image generated in step S <b> 13, and transmits the command to the three-dimensional inkjet printer 10. The image is printed on the medium M by the three-dimensional inkjet printer 10.

このように、本実施形態に係る印刷制御部50によれば、メディアMの形状に対応付けられた三次元画像データを二次元座標に対応付けて二次元の擬似三次元画像データに変換してからハーフトーン処理を行うため、二次元画像データのハーフトーン処理を行うアプリケーションを用いて、三次元画像データのハーフトーン処理を行うことができる。これにより、様々な機能を備えたアプリケーションによりハーフトーン処理を行うことができるため、三次元インクジェットプリンタにより印刷された印刷画像の画質を向上させることができる。   As described above, according to the print control unit 50 according to the present embodiment, the 3D image data associated with the shape of the medium M is converted into 2D pseudo 3D image data in association with the 2D coordinates. Therefore, halftone processing of 3D image data can be performed using an application that performs halftone processing of 2D image data. Thereby, since halftone processing can be performed by an application having various functions, the image quality of a printed image printed by a three-dimensional inkjet printer can be improved.

また、本実施形態に係る印刷制御部50によれば、二次元座標に対応付けてられた擬似三次元画像データに対してハーフトーン処理が行われると、このハーフトーン処理により生成されたハーフトーン画像を再度メディアMの形状に対応付けて三次元化するため、二次元画像データのハーフトーン処理を行うアプリケーションを用いて、三次元のハーフトーン画像を生成することができる。   Further, according to the print control unit 50 according to the present embodiment, when the halftone process is performed on the pseudo three-dimensional image data associated with the two-dimensional coordinates, the halftone generated by the halftone process is performed. Since the image is again associated with the shape of the medium M to be three-dimensional, a three-dimensional halftone image can be generated using an application that performs halftone processing of two-dimensional image data.

そして、メディアMが球状である場合は、メディアMの半径Rと、メディアMの中心点からの仰角ψ及び方位角θとに基づいて、三次元画像データを二次元座標に対応付けて擬似三次元画像データを生成するため、メディアMの形状に応じた適切な座標変換を行うことができる。   When the medium M is spherical, the pseudo three-dimensional image is associated with the two-dimensional coordinates on the basis of the radius R of the medium M and the elevation angle ψ and the azimuth angle θ from the center point of the medium M. Since the original image data is generated, appropriate coordinate conversion according to the shape of the medium M can be performed.

また、メディアMが柱状である場合は、メディアMの側面を展開した長方形の二次元座標に三次元画像データを対応付けて擬似三次元画像データを生成するため、メディアMの形状に応じた適切な座標変換を行うことができる。   Further, when the medium M is a columnar shape, the pseudo three-dimensional image data is generated by associating the three-dimensional image data with the rectangular two-dimensional coordinates in which the side surface of the medium M is expanded. Coordinate conversion can be performed.

また、メディアMが上底の径よりも下底の径の方が大きい円錐台形状である場合は、メディアMを三次元座標のXY平面に上下逆においた場合のZ座標及び方位角θと、メディアMの上底の半径R、下底の半径R及び高さhとに基づいて、三次元画像データを二次元座標に対応付けて擬似三次元画像データを生成するため、メディアMの形状に応じた適切な座標変換を行うことができる。 Further, when the medium M has a truncated cone shape in which the diameter of the lower base is larger than the diameter of the upper base, the Z coordinate and the azimuth angle θ when the medium M is turned upside down on the XY plane of the three-dimensional coordinates. In order to generate pseudo three-dimensional image data by associating the three-dimensional image data with the two-dimensional coordinates on the basis of the upper base radius R T , the lower base radius R B and the height h, the medium M It is possible to perform appropriate coordinate conversion according to the shape of the.

以上、本発明の好適な実施形態について説明したが、本発明は上記実施形態に限定されるものではない。例えば、上記実施形態において、三次元画像データ生成部54は、二次元画像データが三次元座標に変換された三次元画像データを生成するものとして説明したが、この三次元画像データは、メディアMの印刷範囲Aの三次元座標と二次元画像データBの各画素との対応関係が分かるデータであれば如何なるデータであってもよく、例えば、メディアMの印刷範囲Aの三次元座標に二次元画像データBの各画素が対応付けられたデータのみであってもよい。   The preferred embodiment of the present invention has been described above, but the present invention is not limited to the above embodiment. For example, in the above-described embodiment, the 3D image data generation unit 54 has been described as generating 3D image data in which 2D image data is converted into 3D coordinates. Any data can be used as long as the correspondence relationship between the three-dimensional coordinates of the printing range A and each pixel of the two-dimensional image data B can be obtained. Only data in which each pixel of the image data B is associated may be used.

また、上記実施形態において、印刷制御装置は、パソコン20に搭載されるものとして説明したが、三次元インクジェットプリンタ10においてハーフトーン処理を行う場合は、三次元インクジェットプリンタ10に載してもよい。この場合、印刷制御装置は、パソコン20から三次元インクジェットプリンタ10に送信された三次元の画像データ(印刷データやコマンドとも言う)に基づいて擬似三次元画像データを生成する。そして、擬似三次元画像データに対してハーフトーン処理が行われた後、ハーフトーン画像データを三次元化する。 In the above embodiment, the print control apparatus has been described as being mounted on the personal computer 20, the case of performing the halftone processing in the three-dimensional ink jet printer 10 may be the mounting tower into a three-dimensional ink-jet printer 10 . In this case, the print control apparatus generates pseudo three-dimensional image data based on the three-dimensional image data (also referred to as print data or command) transmitted from the personal computer 20 to the three-dimensional inkjet printer 10. Then, after halftone processing is performed on the pseudo three-dimensional image data, the halftone image data is three-dimensionalized.

1…印刷システム、10…三次元インクジェットプリンタ、11…インクジェットヘッド、20…パソコン、30…描画アプリケーション、40…ハーフトーンアプリケーション、50…印刷制御部、51…メディア形状取得部、52…画像データ取得部、53…印刷範囲特定部、54…三次元画像データ生成部、55…プレビュー画像生成部、56…プレビュー画像表示部、57…二次元化処理部、58…三次元化処理部、A…印刷範囲、B…二次元画像データ、M…メディア。
DESCRIPTION OF SYMBOLS 1 ... Printing system, 10 ... Three-dimensional inkjet printer, 11 ... Inkjet head, 20 ... Personal computer, 30 ... Drawing application, 40 ... Halftone application, 50 ... Print control part, 51 ... Media shape acquisition part, 52 ... Image data acquisition , 53... Print range identification unit, 54... 3D image data generation unit, 55... Preview image generation unit, 56... Preview image display unit, 57. Printing range, B ... 2D image data, M ... media.

Claims (6)

三次元インクジェットプリンタで三次元形状のメディアに画像を印刷するための印刷制御を行う印刷制御装置であって、
前記メディアの形状情報と前記メディアに印刷させたい二次元画像の二次元画像データとに基づいて、前記二次元画像が前記メディアに投影されたように印刷される印刷範囲を特定する印刷範囲特定手段と、
前記二次元画像データを前記印刷範囲に対応付けて、前記メディアの表面形状に対応した三次元画像データを生成する三次元画像データ生成手段と、
コンピュータに二次元画像データ用ハーフトーンアプリケーションを実行させハーフトーン処理を行わせるために、前記三次元画像データを座標変換して前記印刷範囲の二次元座標に対応付けて、三次元画像の座標情報を持った二次元の擬似三次元画像データを生成する二次元化処理手段と、
前記コンピュータによってハーフトーン処理が行われた前記擬似三次元画像データを座標変換して、前記メディアの形状に対応付けた三次元のハーフトーン画像を生成する三次元化処理手段と
を有することを特徴とする印刷制御装置。
A print control device that performs print control for printing an image on a three-dimensional medium with a three-dimensional inkjet printer,
Print range specifying means for specifying a print range in which the two-dimensional image is projected on the medium based on the shape information of the medium and the two-dimensional image data of the two-dimensional image to be printed on the medium When,
3D image data generating means for associating the 2D image data with the print range and generating 3D image data corresponding to the surface shape of the media;
In order to cause a computer to execute a halftone application for 2D image data and perform halftone processing, the 3D image data is coordinate-transformed and associated with the 2D coordinates of the print range to obtain coordinate information of the 3D image. Two-dimensional processing means for generating two-dimensional pseudo three-dimensional image data having
Three-dimensionalization processing means for generating a three-dimensional halftone image corresponding to the shape of the media by performing coordinate conversion on the pseudo three-dimensional image data that has been halftoned by the computer . A printing control device.
前記メディアが球状である場合、
前記二次元化処理手段は、前記メディアの半径と、前記メディアの中心点からの仰角及び方位角とに基づいて、前記三次元画像データを二次元座標に対応付けて前記擬似三次元画像データを生成することを特徴とする請求項1に記載の印刷制御装置。
If the media is spherical,
The two-dimensionalization processing means associates the three-dimensional image data with two-dimensional coordinates based on the radius of the medium and the elevation angle and azimuth angle from the center point of the medium, and converts the pseudo three-dimensional image data The print control apparatus according to claim 1, wherein the print control apparatus generates the print control apparatus.
前記メディアが柱状の場合、
前記二次元化処理手段は、前記メディアの側面を展開した長方形の二次元座標に前記三次元画像データを対応付けて前記擬似三次元画像データを生成することを特徴とする請求項1に記載の印刷制御装置。
If the media is columnar,
2. The two-dimensionalization processing unit generates the pseudo three-dimensional image data by associating the three-dimensional image data with a rectangular two-dimensional coordinate obtained by developing a side surface of the medium. Print control device.
前記メディアが、上底の径よりも下底の径の方が大きい円錐台形状の場合、
前記二次元化処理手段は、
前記メディアを三次元座標のXY平面に上下逆においた場合のZ座標及び方位角と、前記メディアの上底の半径、下底の半径及び高さとに基づいて、前記三次元画像データを二次元座標に対応付けて前記擬似三次元画像データを生成することを特徴とする請求項1に記載の印刷制御装置。
In the case where the medium has a truncated cone shape in which the diameter of the lower base is larger than the diameter of the upper base,
The two-dimensional processing means includes
Based on the Z coordinate and azimuth when the medium is turned upside down on the XY plane of the three-dimensional coordinates, and the upper base radius, lower base radius and height of the medium, the three-dimensional image data is The print control apparatus according to claim 1, wherein the pseudo three-dimensional image data is generated in association with coordinates.
三次元インクジェットプリンタで三次元形状のメディアに画像を印刷するための印刷制御を行う印刷制御装置が、コンピュータに行わせる印刷制御方法であって、
前記メディアの形状情報と前記メディアに印刷させたい二次元画像の二次元画像データとに基づいて、前記二次元画像が前記メディアに投影されたように印刷される印刷範囲を特定する印刷範囲特定ステップと、
前記二次元画像データを前記印刷範囲に対応付けて、前記メディアの表面形状に対応した三次元画像データを生成する三次元画像データ生成ステップと、
前記コンピュータに二次元画像データ用ハーフトーンアプリケーションを実行させハーフトーン処理を行わせるために、前記三次元画像データを座標変換して前記印刷範囲の二次元座標に対応付けて、三次元画像の座標情報を持った二次元の擬似三次元画像データを生成する二次元化処理ステップと、
前記コンピュータによってハーフトーン処理が行われた前記擬似三次元画像データを座標変換して、前記メディアの形状に対応付けた三次元のハーフトーン画像を生成する三次元化処理ステップと
を有することを特徴とする印刷制御方法。
A print control apparatus that performs print control for printing an image on a three-dimensional shape medium with a three-dimensional inkjet printer is a print control method that a computer performs,
A print range specifying step for specifying a print range in which the two-dimensional image is projected as projected on the medium based on the shape information of the medium and the two-dimensional image data of the two-dimensional image to be printed on the medium. When,
Associating the two-dimensional image data with the print range and generating three-dimensional image data corresponding to the surface shape of the media;
In order to cause the computer to execute a halftone application for 2D image data and perform halftone processing, the 3D image data is coordinate-transformed and associated with the 2D coordinates of the print range, and the coordinates of the 3D image A two-dimensionalization processing step for generating two-dimensional pseudo three-dimensional image data with information;
A three-dimensionalization processing step of generating a three-dimensional halftone image corresponding to the shape of the media by performing coordinate transformation on the pseudo three-dimensional image data that has been halftoned by the computer . A printing control method.
コンピュータに、三次元インクジェットプリンタで三次元形状のメディアに画像を印刷するための印刷制御を行わせる印刷制御プログラムであって、
前記メディアの形状情報と前記メディアに印刷させたい二次元画像の二次元画像データとに基づいて、前記二次元画像が前記メディアに投影されたように印刷される印刷範囲を特定する印刷範囲特定ステップと、
前記二次元画像データを前記印刷範囲に対応付けて、前記メディアの表面形状に対応した三次元画像データを生成する三次元画像データ生成ステップと、
二次元画像データ用ハーフトーンアプリケーションを実行させハーフトーン処理を行わせるために、前記三次元画像データを座標変換して前記印刷範囲の二次元座標に対応付けて、三次元画像の座標情報を持った二次元の擬似三次元画像データを生成する二次元化処理ステップと、
前記ハーフトーン処理が行われた前記擬似三次元画像データを座標変換して、前記メディアの形状に対応付けた三次元のハーフトーン画像を生成する三次元化処理ステップと
前記コンピュータに実行させることを特徴とする印刷制御プログラム。
A print control program for causing a computer to perform print control for printing an image on a three-dimensional shape medium with a three-dimensional inkjet printer,
A print range specifying step for specifying a print range in which the two-dimensional image is projected as projected on the medium based on the shape information of the medium and the two-dimensional image data of the two-dimensional image to be printed on the medium. When,
Associating the two-dimensional image data with the print range and generating three-dimensional image data corresponding to the surface shape of the media;
In order to execute the halftone application for two-dimensional image data and perform halftone processing, the three-dimensional image data is coordinate-transformed and associated with the two-dimensional coordinates of the print range to have the coordinate information of the three-dimensional image. A two-dimensional processing step for generating two-dimensional pseudo three-dimensional image data;
Said the pseudo-three-dimensional image data halftone processing is performed by coordinate transformation, the three-dimensional processing step of generating a three dimensional halftone image associated with the shape of the medium to cause the computer to execute A print control program characterized by the above.
JP2010098258A 2010-04-21 2010-04-21 Print control apparatus, print control method, and print control program Active JP5699367B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010098258A JP5699367B2 (en) 2010-04-21 2010-04-21 Print control apparatus, print control method, and print control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010098258A JP5699367B2 (en) 2010-04-21 2010-04-21 Print control apparatus, print control method, and print control program

Publications (2)

Publication Number Publication Date
JP2011227782A JP2011227782A (en) 2011-11-10
JP5699367B2 true JP5699367B2 (en) 2015-04-08

Family

ID=45043035

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010098258A Active JP5699367B2 (en) 2010-04-21 2010-04-21 Print control apparatus, print control method, and print control program

Country Status (1)

Country Link
JP (1) JP5699367B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102012005924A1 (en) * 2012-03-26 2013-09-26 Khs Gmbh Method and an arrangement for printing a surface
KR101396147B1 (en) 2013-03-25 2014-05-20 안동대학교 산학협력단 Method for printing information acquire of three-dimensional circuit patterns
CN109334216B (en) * 2014-10-29 2020-01-14 惠普发展公司,有限责任合伙企业 Additive manufacturing method for producing an object from a digital representation of the object
CN107206696B (en) 2015-01-30 2020-04-24 惠普发展公司有限责任合伙企业 Three-dimensional object substructure
DE102016225967A1 (en) 2016-02-17 2017-08-17 Heidelberger Druckmaschinen Ag A method of ink jet printing at least one curved portion of the surface of an object
JP7024412B2 (en) * 2018-01-09 2022-02-24 株式会社リコー Liquid discharge device, liquid discharge method, liquid discharge program and image forming device
CN112634172B (en) * 2020-12-30 2024-01-12 深圳市创想三维科技股份有限公司 3D printing method and device for generating three-dimensional model by using two-dimensional image

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6124858A (en) * 1997-04-14 2000-09-26 Adobe Systems Incorporated Raster image mapping
AU2003246211A1 (en) * 2003-06-26 2005-01-13 Weather Cock Co., Ltd. Three-dimensional printer, three-dimensional printing method, and three-dimensionally printed article
JP5013699B2 (en) * 2005-10-21 2012-08-29 株式会社キーエンス Three-dimensional machining data setting device, three-dimensional machining data setting method, three-dimensional machining data setting program, computer-readable recording medium, recorded device, and laser machining device
JPWO2007066389A1 (en) * 2005-12-07 2009-05-14 有限会社 アロー Mascot making system and printing mascot
JP5071280B2 (en) * 2008-07-11 2012-11-14 大日本印刷株式会社 Pseudo 3D printer and 3D original image pseudo printing method

Also Published As

Publication number Publication date
JP2011227782A (en) 2011-11-10

Similar Documents

Publication Publication Date Title
JP5699367B2 (en) Print control apparatus, print control method, and print control program
JP6015189B2 (en) Image inspection apparatus, image forming apparatus, image inspection method, and image forming system
JP2017170807A (en) Printing assistance equipment, printer, printing system, notification method and program
EP2287722A1 (en) Print data generating device, print data generating method, and print data generating program
JP2017170808A (en) Printing assistance equipment, printer, printing system, printing assistance method and program
WO2010061799A1 (en) Image shape deformation device, image shape deformation method, and image shape deformation program
JP2011227781A (en) Preview image generation device, preview image generation method, and preview image generation program
JP2012245781A (en) System and method for data processing
JP2010102527A (en) Printing control device, printing control method, and printing control program
JP2016179595A (en) Printing device, printing method and printing system
US11272076B2 (en) Image processing apparatus configuring color conversion information based on how close input color values are to black in dark and light ranges
JP4085265B2 (en) Print control apparatus and print control method
EP2528317A2 (en) Image processing device, image processing method, and printed material
JP2007264966A (en) Stereoscopic image generation apparatus, stereoscopic image generation method, stereoscopic image generation program, recording medium, and stereoscopic image printer
JP2016096491A (en) Printing control device and printing control method
US11305556B2 (en) Print control device, non-transitory computer-readable storage medium storing print control program, and printed matter production method
JP2019166661A (en) Printer, printing system, printing method, and program
JP2011056940A (en) Printing using inks of a plurality of colors containing white ink
JP2006159648A (en) Recording system, image processor, inkjet recorder and image processing method
JP4042862B2 (en) Image forming apparatus
JP4853162B2 (en) Image transmission apparatus, image transmission method, and image transmission program
JP2011077697A (en) Image processing device, image forming device, and image processing program
JP2016171540A (en) Printing control device, and printing control method
JP2021149504A (en) Communication device, information output system, program, and output device
JP2006102988A (en) Printing device, printing system, program and recording medium

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20120619

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130327

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140115

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140128

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140328

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140805

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140918

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150126

R150 Certificate of patent or registration of utility model

Ref document number: 5699367

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250