JP5152581B2 - Image data processing apparatus and method, program, and recording medium - Google Patents

Image data processing apparatus and method, program, and recording medium Download PDF

Info

Publication number
JP5152581B2
JP5152581B2 JP2008213561A JP2008213561A JP5152581B2 JP 5152581 B2 JP5152581 B2 JP 5152581B2 JP 2008213561 A JP2008213561 A JP 2008213561A JP 2008213561 A JP2008213561 A JP 2008213561A JP 5152581 B2 JP5152581 B2 JP 5152581B2
Authority
JP
Japan
Prior art keywords
line
coordinate system
dimensional model
sight direction
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2008213561A
Other languages
Japanese (ja)
Other versions
JP2010049516A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2008213561A priority Critical patent/JP5152581B2/en
Publication of JP2010049516A publication Critical patent/JP2010049516A/en
Application granted granted Critical
Publication of JP5152581B2 publication Critical patent/JP5152581B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Description

本発明は、機器の3次元モデルから、その機器の所定の領域に組み付いているパーツを抽出して表示する画像データ処理装置及び方法、並びにプログラム及びその記録媒体に関する。   The present invention relates to an image data processing apparatus and method for extracting and displaying parts assembled in a predetermined region of a device from a three-dimensional model of the device, a program, and a recording medium thereof.

近年、コンピュータの性能向上とグラフィック処理技術の進歩により、CAD(Computer Aided Design)やCG(Computer Graphics)を使って作成した3次元モデルの利用が急速に広がってきている。工業製品を製造する製造業においても、3次元モデルで設計した自社製品を、下流工程である保守サービス部門などで活用することも広まってきた。製造業の保守サービス部門では、製品の保守のため、製品に組み付いているパーツを特定したり、特定したパーツの組み付け状態や形状を3次元モデル上で確認したりすることがある。   In recent years, the use of a three-dimensional model created using CAD (Computer Aided Design) or CG (Computer Graphics) has been rapidly expanding due to improvement in computer performance and progress in graphic processing technology. In the manufacturing industry that manufactures industrial products, the use of in-house products designed with a three-dimensional model in the maintenance service department, which is a downstream process, has become widespread. In the maintenance service department of the manufacturing industry, parts maintained in a product may be specified for product maintenance, and the assembly state and shape of the specified part may be confirmed on a three-dimensional model.

例えば特許文献1には、工業製品などの3次元モデルにおいて、モデルを構成するパーツが組付いた状態の製品のイメージを把握しつつ、製品のある特定の領域に組み付いているパーツを識別するために、その領域に組み付いているパーツを抽出するための情報、及び抽出されたパーツの単体の2次元画像とパーツが製品に組み付いたときの2次元画像を作成することにより、モデルの3次元形状データを利用する場合に比べて、軽い処理でパーツを識別できるようにし、処理性能の低い計算機上でも十分実用に耐えられるようにするための画像処理装置及び方法が開示されている。   For example, in Patent Document 1, in a three-dimensional model such as an industrial product, a part attached to a specific region of a product is identified while grasping an image of a product in a state where parts constituting the model are attached. Therefore, by creating the information for extracting the parts assembled in the area, and the two-dimensional image of the extracted parts and the two-dimensional image when the parts are assembled to the product, An image processing apparatus and method have been disclosed for enabling parts to be identified by light processing compared to the case of using three-dimensional shape data, and for sufficiently withstanding practical use even on a computer having low processing performance.

しかし、特許文献1に開示されている装置及び方法の場合、与える視線方向の数が多いと、作成される2次元画像の数が多くなり、データサイズが大きくなってしまうという問題がある。このため、例えば、この方法で作成された製品のパーツカタログをネットワーク経由で多くの利用者に配布する場合、パーツカタログのダウンロードに時間がかかることで、作業効率の低下を招くとともに、ネットワークに対して高負荷を与えてしまう。   However, in the case of the apparatus and method disclosed in Patent Document 1, if the number of gaze directions to be given is large, there is a problem that the number of created two-dimensional images increases and the data size increases. For this reason, for example, when a parts catalog of a product created by this method is distributed to many users via a network, it takes time to download the parts catalog, resulting in a reduction in work efficiency and a high level of network performance. Gives a load.

そこで、これを解決する方法として視線方向を1つに限定することでデータサイズを大幅に小さくすることが考えられる。しかし、製品に組み付いた各パーツのうち、視線方向において手前に位置しているパーツは見易いものの、遠くに組み付いているパーツは識別が困難になる可能性がある。視線方向が複数用意されていれば、それらのパーツが手前になる方向から見ることで識別し易くなるが、視線方向を1つに限定することで識別が困難になるパーツも出てきてしまう。   Therefore, as a method for solving this, it is conceivable to significantly reduce the data size by limiting the line-of-sight direction to one. However, among the parts assembled in the product, the part positioned in the foreground in the line-of-sight direction is easy to see, but the part assembled in the distance may be difficult to identify. If a plurality of line-of-sight directions are prepared, the parts can be easily identified by looking from the front side. However, by limiting the line-of-sight direction to one part, some parts are difficult to identify.

特開2008−146131号公報JP 2008-146131 A

本発明は、このような問題を解決するためになされたもので、その目的は、機器の3次元モデルの所定の領域に組み付いているパーツを抽出して表示するときに、識別困難なパーツをなるべく少なくすることである。   The present invention has been made to solve such a problem, and its object is to identify parts that are difficult to identify when extracting and displaying parts assembled in a predetermined region of a three-dimensional model of equipment. Is to reduce as much as possible.

本発明は、機器の3次元モデルについて、その機器を構成する各パーツのパーツ形状を表すパーツ形状情報と、各パーツの組み付け状態を表す全体形状情報とを含む3次元モデル情報を管理するモデルデータ管理手段と、ユーザにより入力された複数の視線方向の候補と、前記3次元モデル情報とに基づいて、前記複数の視線方向の候補の中から、なるべく多くのパーツが手前に位置している視線方向を最適視線方向として選択する視線方向選択処理手段とを有するとともに、前記複数の視線方向の候補は、3軸からなる評価座標系と、その評価座標系の2軸により構成される平面からの仰角と、その平面上で評価座標系の原点を通る直線に対する方位角とによって示され、前記視線方向選択処理手段は、各パーツの中心位置を前記平面に投影する手段と、前記評価座標系の原点を通り、前記方位角の方向に対し直交する直線を境に前記方位角の方向に存在する投影点の数を計数する手段と、その計数値が最多となる方位角と前記仰角との組み合わせを最適視線方向とする手段とを有することを特徴とする画像データ処理装置である。
また、本発明は、機器の3次元モデルについて、その機器を構成する各パーツのパーツ形状を表すパーツ形状情報と、各パーツの組み付け状態を表す全体形状情報とを含む3次元モデル情報を管理するモデルデータ管理手段を有する画像データ処理装置により実行される画像データ処理方法であって、視線方向選択処理手段が、ユーザにより入力された複数の視線方向の候補と、前記3次元モデル情報とに基づいて、前記複数の視線方向の候補の中から、なるべく多くのパーツが手前に位置している視線方向を最適視線方向として選択するステップと、データ作成処理手段が、前記3次元モデル情報及び最適視線方向を用いて、その視線方向からのパーツの画像を作成するステップとを有するとともに、前記複数の視線方向の候補は、3軸からなる評価座標系と、その評価座標系の2軸により構成される平面からの仰角と、その平面上で評価座標系の原点を通る直線に対する方位角とによって示され、前記最適視線方向として選択するステップは、各パーツの中心位置を前記平面に投影するステップと、前記評価座標系の原点を通り、前記方位角の方向に対し直交する直線を境に前記方位角の方向に存在する投影点の数を計数するステップと、その計数値が最多となる方位角と前記仰角との組み合わせを最適視線方向とするステップとを有することを特徴とする画像データ処理方法である。
The present invention relates to a model data for managing three-dimensional model information including part shape information representing a part shape of each part constituting the device and whole shape information representing an assembled state of each part for a three-dimensional model of the device. A line of sight in which as many parts as possible are located in front of the plurality of line-of-sight direction candidates based on the management means, the plurality of line-of-sight direction candidates input by the user, and the three-dimensional model information Gaze direction selection processing means for selecting a direction as the optimum gaze direction, and the plurality of gaze direction candidates are from a three-axis evaluation coordinate system and a plane constituted by the two axes of the evaluation coordinate system. And an azimuth angle with respect to a straight line passing through the origin of the evaluation coordinate system on the plane, and the line-of-sight direction selection processing means sets the center position of each part to the plane. Means for shadowing, means for counting the number of projection points existing in the direction of the azimuth angle across a straight line that passes through the origin of the evaluation coordinate system and is orthogonal to the direction of the azimuth angle, and the count value is the largest. An image data processing apparatus comprising means for setting a combination of the azimuth angle and the elevation angle as an optimum line-of-sight direction .
Further, the present invention manages, for a three-dimensional model of equipment, three-dimensional model information including part shape information representing the part shape of each part constituting the equipment and overall shape information representing an assembled state of each part. An image data processing method executed by an image data processing apparatus having model data management means, wherein the line-of-sight direction selection processing means is based on a plurality of line-of-sight direction candidates inputted by a user and the three-dimensional model information. Selecting a line-of-sight direction in which as many parts as possible are located in front of the plurality of line-of-sight direction candidates as an optimal line-of-sight direction, and a data creation processing unit including the three-dimensional model information and the optimal line-of-sight with direction, and creating an image of the part from the viewing direction, and having a plurality of gaze directions of the candidates, triaxial Selected from the evaluation coordinate system, the elevation angle from the plane constituted by the two axes of the evaluation coordinate system, and the azimuth angle with respect to a straight line passing through the origin of the evaluation coordinate system on the plane, and selected as the optimal viewing direction The step of projecting the center position of each part onto the plane and the projection point existing in the direction of the azimuth angle with a straight line passing through the origin of the evaluation coordinate system and orthogonal to the direction of the azimuth angle as a boundary And a step of setting the combination of the azimuth angle and the elevation angle at which the counted value is the largest to the optimum line-of-sight direction .

本発明によれば、機器の3次元モデルの所定の領域に組み付いているパーツを抽出して表示するときに、識別困難なパーツをなるべく少なくすることができる。   ADVANTAGE OF THE INVENTION According to this invention, when extracting and displaying the parts assembled | attached to the predetermined | prescribed area | region of the three-dimensional model of an apparatus, the part which is difficult to identify can be reduced as much as possible.

以下、本発明の実施形態について図面を参照しながら説明する。
図1は本発明の実施形態の画像データ処理装置の構成を示す図である。
この画像データ処理装置は種々のデータ処理を実行するためのCPU1と、CPU1のワークエリアを構成するとともに、種々のプログラムやデータなどが記憶されるメモリ2と、ユーザ操作によりこのデータ処理装置に対しデータを入出力するための入出力装置3と、外部装置(図示せず)との間でデータを入出力するための外部入出力装置4とを有する。CPU1、メモリ2、入出力装置3、及び外部入出力装置4はバス5を介して接続されており、バス5を介して種々のデータのやりとりを行う。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram showing a configuration of an image data processing apparatus according to an embodiment of the present invention.
This image data processing apparatus constitutes a CPU 1 for executing various data processes, a work area of the CPU 1, a memory 2 in which various programs and data are stored, and a user operation to this data processing apparatus. An input / output device 3 for inputting / outputting data and an external input / output device 4 for inputting / outputting data to / from an external device (not shown) are included. The CPU 1, the memory 2, the input / output device 3, and the external input / output device 4 are connected via a bus 5, and exchange various data via the bus 5.

この画像データ処理装置は、パーツカタログ作成機能を備えており、そのパーツカタログ作成機能の機能ブロックを図2に示す。このパーツカタログ作成機能は、CPU1がメモリ2に記憶されているプログラムに従って動作することにより実現される。プログラムを記憶するメモリとしては、半導体媒体(例えばROM,不揮発性メモリカード等)、光記録媒体(例えばDVD,MO,MD,CD等)、磁気記録媒体(例えばフレキシブルディスク)等のいずれでもよい。   This image data processing apparatus has a parts catalog creation function. FIG. 2 shows functional blocks of the parts catalog creation function. This parts catalog creation function is realized by the CPU 1 operating according to a program stored in the memory 2. The memory for storing the program may be any of a semiconductor medium (for example, ROM, nonvolatile memory card, etc.), an optical recording medium (for example, DVD, MO, MD, CD, etc.), a magnetic recording medium (for example, flexible disk), and the like.

図2において、カタログ作成部20は、図1のメモリ2に形成されている3D(3次元)データ記憶部21及びパーツリスト記憶部22に記憶されているデータに基づいて、パーツカタログデータを作成し、図1のメモリ2に形成されているカタログ記憶部23に保存する。   In FIG. 2, the catalog creation unit 20 creates part catalog data based on the data stored in the 3D (three-dimensional) data storage unit 21 and the parts list storage unit 22 formed in the memory 2 of FIG. 1 is stored in the catalog storage unit 23 formed in the memory 2 of FIG.

3Dデータ記憶部21は、カタログ作成のために利用される3D_CADデータを保持するデータベースである。この3D_CADデータは、製品(機器)を構成する各パーツのパーツ形状を表すパーツ形状情報と、各パーツの組み付け状態を表す全体形状情報を保持している。   The 3D data storage unit 21 is a database that holds 3D_CAD data used for creating a catalog. The 3D_CAD data holds part shape information representing the part shape of each part constituting the product (device) and overall shape information representing the assembled state of each part.

パーツリスト記憶部22は、カタログに含まれるべきパーツ(交換可能なパーツ)のリストを記述したデータベースである。パーツリストには、パーツの名称やパーツ発注時の番号等が製品のユニット単位にまとめた形で保持されている。   The parts list storage unit 22 is a database describing a list of parts (replaceable parts) to be included in the catalog. In the parts list, part names, part ordering numbers, and the like are held in a unit unit of the product.

カタログ作成部20は、パーツリスト記憶部22に記憶されているパーツリストに登録されているパーツのうち、3Dデータ記憶部21に3D_CADデータが保存されているものについては、3Dデータ記憶部21の記憶内容を参照し、3Dデータ記憶部21に3D_CADデータが保存されていないものについては、画像データ記憶部24に記憶されている画像データ(2Dデータ)を画像補填部25により補填入力させる。また、画像補填部25により補填入力させた画像データについては、位置情報補填部26から入力される位置情報を、当該パーツの表示の際に利用する位置情報とする。   Of the parts registered in the parts list stored in the parts list storage unit 22, the catalog creation unit 20 stores the 3D_CAD data in the 3D data storage unit 21 in the 3D data storage unit 21. With reference to the stored content, the image data (2D data) stored in the image data storage unit 24 is compensated and input by the image compensation unit 25 if the 3D_CAD data is not stored in the 3D data storage unit 21. In addition, for the image data input by the image compensation unit 25, the position information input from the position information compensation unit 26 is used as the position information used when displaying the part.

画像データ記憶部24は、パーツリストに記載されているが3D_CADデータとして存在しないパーツについて、予めデジタル・スチル・カメラで撮影した画像や、イラストにより作成された画像を保持したデータベースである。   The image data storage unit 24 is a database that holds images captured by a digital still camera in advance and images created by illustrations for parts that are described in the parts list but do not exist as 3D_CAD data.

画像補填部25は、パーツリストに記載されているが3D_CADデータが存在しないパーツに対して、ユーザが入出力装置3を操作して指定した画像データ記憶部24中の画像(ファイル)をカタログ作成部20に与える。   The image filling unit 25 creates an image (file) in the image data storage unit 24 specified by the user by operating the input / output device 3 for a part which is described in the parts list but does not have 3D_CAD data. Part 20 is given.

位置情報補填部26は、パーツリストに記載されているが3D_CADデータが存在しないパーツに対して、ユーザが入出力装置3を操作して指定した組み付け状態の位置を、位置情報としてカタログ作成部20に与える。   The position information compensation unit 26 uses, as position information, the catalog creation unit 20 to indicate the position of the assembly state specified by the user by operating the input / output device 3 for a part that is described in the parts list but does not have 3D_CAD data. To give.

カタログ記憶部23には、カタログ中のパーツの一覧(名称と発注番号)と、パーツの単体を表示した画像と、パーツの組み付け位置を示す画像(複数の視点から)と、パーツの組み付け位置情報(複数の視点から)から構成されるカタログデータが、それぞれのパーツについて記憶される。   The catalog storage unit 23 includes a list of parts in the catalog (name and order number), an image displaying a single part, an image indicating the assembly position of the part (from a plurality of viewpoints), and assembly position information of the part. Catalog data composed of (from a plurality of viewpoints) is stored for each part.

ここで、パーツの組み付け位置を示す画像は、製品又は製品の一部を示すユニットの画像中に、対象パーツの組み付け位置が分かるように、パーツをハイライト表示する(3Dデータから作成した場合)、又はパーツの組み付け位置を示す矩形領域或いはパーツを囲む直方体をハイライト表示する。   Here, the image showing the assembly position of the part highlights the part so that the assembly position of the target part can be seen in the image of the unit indicating the product or part of the product (when created from 3D data) Alternatively, a rectangular area indicating the assembly position of the part or a rectangular parallelepiped surrounding the part is highlighted.

カタログ閲覧部27は、カタログ作成部20が作成し、カタログ記憶部23に記憶されているカタログデータの内容を表示する。パーツ名称での検索の他、パーツの組付け状態図上の領域指定によりパーツを検索することが可能である。   The catalog browsing unit 27 displays the contents of catalog data created by the catalog creating unit 20 and stored in the catalog storage unit 23. In addition to searching by part name, it is possible to search for a part by specifying an area on the part assembly state diagram.

図3は、1つのパーツについて形成されるカタログデータの一例を示している。このカタログデータは、パーツ単体画像、パーツ組付図、パーツ組付拡大図、境界情報、パーツ名、部品番号、及びユニット名からなる。   FIG. 3 shows an example of catalog data formed for one part. This catalog data includes a part single image, a part assembly drawing, a part assembly enlarged view, boundary information, a part name, a part number, and a unit name.

パーツ単体画像は、当該パーツの単体画像である。また、縮尺比率は各パーツにより異なり、なるべく大きくかつパーツ全体が表示される比率である。   The part single image is a single image of the part. The scale ratio varies depending on each part, and is a ratio that is as large as possible and displays the entire part.

パーツ組付図は、パーツ毎に作成される画像で、そのパーツのみが強調表示され、他の全パーツは半透明描画やワイヤーフレーム描画など非強調表示される図である。ここで、視点は1方向だけではなく、必要に応じて複数視点からのパーツ組付図が作成される。縮尺比率は、同一視点方向であれば常に一定で、なるべく大きくかつ全パーツが表示される比率である。   The part assembly diagram is an image created for each part, in which only the part is highlighted and all other parts are non-highlighted such as semi-transparent drawing or wire frame drawing. Here, not only the viewpoint is in one direction, but a part assembly diagram from a plurality of viewpoints is created as necessary. The scale ratio is always constant in the same viewpoint direction, is as large as possible, and is a ratio at which all parts are displayed.

パーツ組付図拡大図は、上記各パーツのパーツ組付図を拡大表示したものであり、最大比率ではそのパーツがなるべく大きくかつ全部表示される図である。最小比率では全パーツがなるべく大きくかつ全部表示される。必要に応じて複数枚の比率の異なるパーツ組付図が作成される。比率によらず常にそのパーツの全体が表示される。   The part assembly drawing enlarged view is an enlarged display of the part assembly drawing of each of the above parts. In the maximum ratio, the part is displayed as large and as large as possible. At the minimum ratio, all parts are displayed as large and all as possible. Parts assembly drawings with different ratios are created as necessary. The entire part is always displayed regardless of the ratio.

境界情報は、各パーツのパーツ組付図及びパーツ組付拡大図において、そのパーツが画像中のどの位置にあるかを示す情報である。画像左上隅を原点(X=0,Y=0)とし、Xは右方向に、Yは下方向に正に増加する座標系における、そのパーツがすべて収まる長方形の左上座標および右下座標の組み合わせである。   The boundary information is information indicating where the part is in the image in the part assembly drawing and the part assembly enlarged view of each part. The upper left corner of the image is the origin (X = 0, Y = 0), where X is rightward and Y is positively increasing. It is.

パーツ名は、当該パーツの名称を表す。部品番号(発注番号)は、パーツ毎に採番される番号である。同一形状のパーツは同一番号を持つ。ユニット名は、パーツ集合の単位であるユニットの名称である。各パーツがどのユニットに属するかを示す。通常、全てのパーツはいずれかのユニット(例えば、「給紙部」、「排紙部」など)に属する。   The part name represents the name of the part. The part number (order number) is a number assigned for each part. Parts with the same shape have the same number. The unit name is a name of a unit that is a unit of a part set. Indicates which unit each part belongs to. Normally, all parts belong to one of the units (for example, “paper feeding unit”, “paper ejection unit”, etc.).

図2のカタログ作成部20の機能ブロックを図4に示す。カタログ作成部20は、モデルデータ管理部31と、カタログデータ作成処理部32と、視線方向選択処理部33とからなる。このうち、モデルデータ管理部31、カタログデータ作成処理部32は、前述した特許文献1の図2及び図4に記載されているモデルデータ管理部、画像・境界データ作成処理部、画像・境界データ管理部に相当し、視線方向選択処理部33は新たに付加されたものである。   FIG. 4 shows functional blocks of the catalog creating unit 20 in FIG. The catalog creation unit 20 includes a model data management unit 31, a catalog data creation processing unit 32, and a line-of-sight direction selection processing unit 33. Among them, the model data management unit 31 and the catalog data creation processing unit 32 are the model data management unit, the image / boundary data creation processing unit, the image / boundary data described in FIG. 2 and FIG. It corresponds to a management unit, and a line-of-sight direction selection processing unit 33 is newly added.

モデルデータ管理部31は、予め用意された3次元モデルについて、機器を構成する各パーツのパーツ形状を表すパーツ形状情報と、各パーツの組み付け状態を表す全体形状情報を含む3D_CADデータを管理するものであり、組付形状情報、複数のパーツの単体形状情報、及びパーツ管理情報(部品番号、部品名称、単体画像ファイル名、視線番号、境界情報、ハイライト組み付き画像ファイル名等)をカタログデータ作成処理部32及び視線方向選択処理部33に渡す。   The model data management unit 31 manages 3D_CAD data including part shape information indicating the part shape of each part constituting the device and overall shape information indicating the assembled state of each part for a three-dimensional model prepared in advance. Assembling shape information, single shape information of multiple parts, and parts management information (part number, part name, single image file name, line-of-sight number, boundary information, highlight assembled image file name, etc.) create catalog data It passes to the processing unit 32 and the line-of-sight direction selection processing unit 33.

入出力装置3は、ユーザの操作に応じて、評価座標系、仰角、及び複数の方位角を視線方向選択処理部33に与える。視線方向選択処理部33は、入出力装置3から与えられた複数の視線方向の候補の中から、なるべく多くのパーツが手前に位置する視線方向を最適な視線方向として選び出し、その視線方向を示す情報をカタログデータ作成処理部32に渡す。   The input / output device 3 gives the evaluation coordinate system, the elevation angle, and a plurality of azimuth angles to the line-of-sight direction selection processing unit 33 in accordance with a user operation. The line-of-sight direction selection processing unit 33 selects a line-of-sight direction in which as many parts as possible are located in front from among a plurality of line-of-sight direction candidates given from the input / output device 3, and indicates the line-of-sight direction. The information is passed to the catalog data creation processing unit 32.

入出力装置3から視線方向選択処理部33に与えられる評価座標系、仰角、及び方位角を図に示す。評価座標系は、原点とi軸、j軸、k軸による直交座標系によって与えられる。具体的には、図5Aに示すように、3次元モデルの座標系(x軸、y軸、z軸による直交座標系)において、i軸方向(x,y,z)、j軸方向(x,y,z)、k軸方向(x,y,z)からなる各軸の単位方向ベクトル、及び原点位置(x,y,z)によって与えられる。 Evaluation coordinate system from the input device 3 is provided in the line-of-sight direction selection processing section 33, elevation, and azimuth angle shown in FIG. The evaluation coordinate system is given by an orthogonal coordinate system with an origin, i-axis, j-axis, and k-axis. Specifically, as shown in FIG. 5A, in the coordinate system of the three-dimensional model (orthogonal coordinate system using x, y, and z axes), the i axis direction (x i , y i , z i ), j axis Given by the unit direction vector of each axis composed of the direction (x j , y j , z j ), the k-axis direction (x k , y k , z k ), and the origin position (x 0 , y 0 , z 0 ) .

図5Bに示すように、仰角は評価座標系のij平面に対する角度φとして与えられる。方位角は、評価座標系の原点においてi軸方向に対するk軸回りの角度θとして与えられる。方位角は複数与えられ、各方位角と仰角の組み合わせによって視線方向の候補とされる。これにより、方位角というスカラー値を変化させることで、ベクトル値である視線方向を複数指定することが可能となり、ベクトル値を多数入力する場合に比べて入力の手間を軽減することができ、かつ、軸まわりという基準をもって視線方向を評価できるので、ランダムに視線方向を与える場合に比べて系統立てた評価が可能となる。   As shown in FIG. 5B, the elevation angle is given as an angle φ with respect to the ij plane of the evaluation coordinate system. The azimuth angle is given as an angle θ around the k-axis with respect to the i-axis direction at the origin of the evaluation coordinate system. A plurality of azimuth angles are given, and a sight line direction candidate is determined by a combination of each azimuth angle and elevation angle. Thus, by changing the scalar value called the azimuth, it becomes possible to specify a plurality of line-of-sight directions that are vector values, and it is possible to reduce the labor of input compared to the case of inputting many vector values, and Since the line-of-sight direction can be evaluated on the basis of the reference around the axis, a systematic evaluation can be performed as compared with the case where the line-of-sight direction is randomly given.

ここで、3次元モデルの座標系(xyz直交座標系)の座標値から評価座標系(ijk直交座標系)の座標値への変換は次の式[1]により行う。   Here, conversion from the coordinate value of the coordinate system (xyz orthogonal coordinate system) of the three-dimensional model to the coordinate value of the evaluation coordinate system (ijk orthogonal coordinate system) is performed by the following equation [1].

Figure 0005152581
Figure 0005152581

また、評価座標系の座標値から3次元モデルの座標系の座標値への変換は次の式[2]により行う。   The conversion from the coordinate value of the evaluation coordinate system to the coordinate value of the coordinate system of the three-dimensional model is performed by the following equation [2].

Figure 0005152581
Figure 0005152581

また、仰角と方位角から評価座標系の単位ベクトル座標値への変換は次の式[3]により行う。   Further, the conversion from the elevation angle and the azimuth angle to the unit vector coordinate value of the evaluation coordinate system is performed by the following equation [3].

Figure 0005152581
Figure 0005152581

視線方向選択処理部33は図6のフローチャートに示されているステップを実行することにより、最適な視線方向を選択する。
まずステップS1で、3次元モデルを構成する1つのパーツについて、パーツの中心位置となる点を求め、次にステップS2で、図7に示すように、その中心位置となる点を評価座標系の平面上に垂直に投影し、投影点の座標を記憶する。
The line-of-sight direction selection processing unit 33 selects the optimum line-of-sight direction by executing the steps shown in the flowchart of FIG.
First, in step S1, a point that becomes the center position of one part of the three-dimensional model is obtained, and then in step S2, the point that becomes the center position is determined in the evaluation coordinate system as shown in FIG. Projects vertically on a plane and stores the coordinates of the projection point.

ここで、パーツの中心位置となる点は、パーツを形状定義している全ての点(n個)を平均した3次元モデルの座標系における位置として、次の式[4]により求める。   Here, the point which becomes the center position of the part is obtained by the following equation [4] as the position in the coordinate system of the three-dimensional model obtained by averaging all the points (n) defining the shape of the part.

Figure 0005152581
Figure 0005152581

これを評価座標系に変換すると、投影点はi座標値とj座標値によって求まる。   When this is converted into the evaluation coordinate system, the projection point is obtained by the i coordinate value and the j coordinate value.

ステップS1〜S2を繰り返して各パーツの中心位置となる点に対する投影処理を終えたら(ステップS3:NO)、ステップS4に進み、図8に示すように、与えられた1つの方位角について、評価座標系の原点Oを通り、方位角の方向に対し直交する直線Lをij平面上に引き、先にステップS1〜S2で求めた各投影点のうち、この直線Lに対し方位角の方向(図の方位角方向の矢印がある側)にある投影点の数を求める。   When steps S1 and S2 are repeated to finish the projection process for the point that is the center position of each part (step S3: NO), the process proceeds to step S4, and as shown in FIG. 8, one given azimuth is evaluated. A straight line L that passes through the origin O of the coordinate system and is orthogonal to the direction of the azimuth angle is drawn on the ij plane, and the direction of the azimuth angle with respect to the straight line L among the projection points previously obtained in steps S1 to S2 ( The number of projection points on the side of the azimuth direction arrow in the figure is obtained.

次いでステップS5に進み、ステップS4で今回求めた投影点の数が今まで求めた投影点の数より多いか否かを調べ、多い場合(S5:YES)は、ステップS7で、仰角と組み合わせる最適視線方向とする方位角として記憶した後に、ステップS8で、まだ投影点の数を求めていない方位角の有無を調べる。一方、今まで求めた投影点の数より少ない場合(S5:NO)は、そのままステップS8に進む。   Next, the process proceeds to step S5, where it is checked whether or not the number of projection points obtained this time in step S4 is larger than the number of projection points obtained so far. If so (S5: YES), the optimum combination with the elevation angle is made in step S7. After storing the azimuth angle as the line-of-sight direction, in step S8, the presence / absence of an azimuth angle for which the number of projection points has not yet been obtained is checked. On the other hand, if the number is smaller than the number of projection points obtained so far (S5: NO), the process directly proceeds to step S8.

ステップS4〜S6を繰り返して、先にステップS1〜S2で求めた各投影点のうち、直線Lに対し各方位角の方向にある投影点の数を求めたら(ステップS7:YES)、ステップS8に進み、ステップS6で記憶された、投影点の数が最多の方位角と、仰角との組み合わせを最適な視線方向とし、3次元モデルの座標系における方向ベクトルに変換する。これにより、パーツの中心位置が最も多く手前になる視線方向を選択することができる。   Steps S4 to S6 are repeated to determine the number of projection points in each azimuth direction with respect to the straight line L among the projection points previously obtained in steps S1 to S2 (step S7: YES), step S8. In step S6, the combination of the azimuth angle having the largest number of projection points and the elevation angle stored in step S6 is set as the optimum line-of-sight direction, and is converted into a direction vector in the coordinate system of the three-dimensional model. As a result, it is possible to select the line-of-sight direction in which the center position of the part is the most forward.

カタログデータ作成処理部32は、モデルデータ管理部31から受け取った全体形状情報及びパーツ形状情報と、視線方向選択処理部32から受け取った最適視線方向とを用いて、その視線方向の全体画像情報、単体画像情報、境界情報、及びハイライト付全体画像を作成する。この処理については、特許文献1に詳細に記載されているので、説明を省略する。   The catalog data creation processing unit 32 uses the overall shape information and part shape information received from the model data management unit 31 and the optimum line-of-sight direction received from the line-of-sight direction selection processing unit 32, and the overall image information of the line-of-sight direction, Single image information, boundary information, and a whole image with highlight are created. Since this process is described in detail in Patent Document 1, a description thereof will be omitted.

以上詳細に説明したように、本実施形態のデータ処理装置によれば、与えられた視線方向の候補のうち、より多くのパーツが手前に位置する視線方向を選択することができるので、データサイズを小さくするために視線方向を1つに限定する際、識別が困難となるパーツが最少になるような視線方向を決定することが可能となる。なお、以上の実施形態では、与えられた視線方向の候補のうち、最も多くのパーツが手前に位置する視線方向を選択しているが、次に多くのパーツが手前に位置する視線方向を選択することもできる。   As described above in detail, according to the data processing apparatus of this embodiment, it is possible to select a line-of-sight direction in which more parts are positioned in front of the given line-of-sight direction candidates. When the line-of-sight direction is limited to one in order to reduce the size, it is possible to determine the line-of-sight direction that minimizes the parts that are difficult to identify. In the above embodiment, the line-of-sight direction in which the most parts are located in front is selected from the given line-of-sight candidates, but the line-of-sight direction in which the next most parts are next is selected. You can also

本発明の実施形態の画像データ処理装置の構成を示す図である。It is a figure which shows the structure of the image data processing apparatus of embodiment of this invention. 本発明の実施形態のパーツカタログ作成機能を示すブロック図である。It is a block diagram which shows the parts catalog creation function of embodiment of this invention. 1つのパーツについて形成されるカタログデータの一例を示す図である。It is a figure which shows an example of the catalog data formed about one part. 図2のカタログ作成部の機能ブロックである。It is a functional block of the catalog preparation part of FIG. 本発明の実施形態の入出力装置から視線方向選択処理部に与えられる評価座標系、仰角、及び方位角を示す図である。It is a figure which shows the evaluation coordinate system, an elevation angle, and an azimuth | direction angle which are given to the gaze direction selection process part from the input / output device of embodiment of this invention. 本発明の実施形態の視線方向選択処理部が最適な視線方向を選択するステップを示すフローチャートである。It is a flowchart which shows the step which the gaze direction selection process part of embodiment of this invention selects the optimal gaze direction. パーツの中心位置となる点を評価座標系の平面上に垂直に投影する様子を示す図である。It is a figure which shows a mode that the point used as the center position of parts is vertically projected on the plane of an evaluation coordinate system. 与えられた1つの方位角について、評価座標系の原点を通り、方位角の方向に対し直交する直線に対し方位角の方向にある投影点を示す図である。It is a figure which shows the projection point which exists in the direction of an azimuth with respect to the straight line which passes along the origin of an evaluation coordinate system and is orthogonal to the direction of an azimuth about one given azimuth.

符号の説明Explanation of symbols

1・・・CPU、2・・・メモリ、3・・・入出力装置、31・・・モデルデータ管理部、32・・・カタログデータ作成処理部、33・・・視線方向選択処理部。   DESCRIPTION OF SYMBOLS 1 ... CPU, 2 ... Memory, 3 ... Input / output device, 31 ... Model data management part, 32 ... Catalog data creation process part, 33 ... Gaze direction selection process part

Claims (4)

機器の3次元モデルについて、その機器を構成する各パーツのパーツ形状を表すパーツ形状情報と、各パーツの組み付け状態を表す全体形状情報とを含む3次元モデル情報を管理するモデルデータ管理手段と、
ユーザにより入力された複数の視線方向の候補と、前記3次元モデル情報とに基づいて、前記複数の視線方向の候補の中から、なるべく多くのパーツが手前に位置している視線方向を最適視線方向として選択する視線方向選択処理手段と
を有するとともに、
前記複数の視線方向の候補は、3軸からなる評価座標系と、その評価座標系の2軸により構成される平面からの仰角と、その平面上で評価座標系の原点を通る直線に対する方位角とによって示され、
前記視線方向選択処理手段は、各パーツの中心位置を前記平面に投影する手段と、前記評価座標系の原点を通り、前記方位角の方向に対し直交する直線を境に前記方位角の方向に存在する投影点の数を計数する手段と、その計数値が最多となる方位角と前記仰角との組み合わせを最適視線方向とする手段とを有することを特徴とする画像データ処理装置。
Model data management means for managing three-dimensional model information including part shape information representing the part shape of each part constituting the device and overall shape information representing the assembled state of each part for the three-dimensional model of the device;
Based on the plurality of gaze direction candidates input by the user and the three-dimensional model information, the gaze direction in which as many parts as possible are located in front of the plurality of gaze direction candidates is determined as the optimum gaze direction. Gaze direction selection processing means for selecting as a direction ,
And it has a,
The plurality of line-of-sight direction candidates are an evaluation coordinate system composed of three axes, an elevation angle from a plane constituted by two axes of the evaluation coordinate system, and an azimuth angle with respect to a straight line passing through the origin of the evaluation coordinate system on the plane And indicated by
The line-of-sight direction selection processing means and means for projecting the center position of each part onto the plane and the direction of the azimuth angle with a straight line passing through the origin of the evaluation coordinate system and orthogonal to the direction of the azimuth angle as a boundary. An image data processing apparatus comprising: means for counting the number of existing projection points; and means for setting the combination of the azimuth angle and the elevation angle at which the count value is the largest to the optimum line-of-sight direction .
機器の3次元モデルについて、その機器を構成する各パーツのパーツ形状を表すパーツ形状情報と、各パーツの組み付け状態を表す全体形状情報とを含む3次元モデル情報を管理するモデルデータ管理手段を有する画像データ処理装置により実行される画像データ処理方法であって、
視線方向選択処理手段が、ユーザにより入力された複数の視線方向の候補と、前記3次元モデル情報とに基づいて、前記複数の視線方向の候補の中から、なるべく多くのパーツが手前に位置している視線方向を最適視線方向として選択するステップと、
データ作成処理手段が、前記3次元モデル情報及び最適視線方向を用いて、その視線方向からのパーツの画像を作成するステップと
を有するとともに、
前記複数の視線方向の候補は、3軸からなる評価座標系と、その評価座標系の2軸により構成される平面からの仰角と、その平面上で評価座標系の原点を通る直線に対する方位角とによって示され、
前記最適視線方向として選択するステップは、各パーツの中心位置を前記平面に投影するステップと、前記評価座標系の原点を通り、前記方位角の方向に対し直交する直線を境に前記方位角の方向に存在する投影点の数を計数するステップと、その計数値が最多となる方位角と前記仰角との組み合わせを最適視線方向とするステップとを有することを特徴とする画像データ処理方法。
Model data management means for managing three-dimensional model information including part shape information representing the part shape of each part constituting the device and overall shape information representing the assembled state of each part for the three-dimensional model of the device An image data processing method executed by an image data processing apparatus,
The line-of-sight direction selection processing means locates as many parts as possible from among the plurality of line-of-sight direction candidates based on the plurality of line-of-sight direction candidates input by the user and the three-dimensional model information. Selecting the viewing direction as the optimal viewing direction;
Data creation processing means, using the three-dimensional model information and the optimal viewing direction, creating a part image from the viewing direction ;
And it has a,
The plurality of line-of-sight direction candidates are an evaluation coordinate system composed of three axes, an elevation angle from a plane constituted by two axes of the evaluation coordinate system, and an azimuth angle with respect to a straight line passing through the origin of the evaluation coordinate system on the plane And indicated by
The step of selecting as the optimum line-of-sight direction includes projecting the center position of each part onto the plane, and passing through the origin of the evaluation coordinate system and intersecting the straight line perpendicular to the direction of the azimuth. An image data processing method comprising the steps of: counting the number of projection points existing in a direction; and setting the combination of the azimuth angle and the elevation angle at which the count value is maximum to the optimum viewing direction .
コンピュータ、請求項に記載された画像データ処理装置の各手段として機能させるためのプログラム。 The computer program for causing to function as each means of the image data processing apparatus according to claim 1. 請求項に記載されたプログラムを記録したコンピュータ読み取り可能な記録媒体。
A computer-readable recording medium on which the program according to claim 3 is recorded.
JP2008213561A 2008-08-22 2008-08-22 Image data processing apparatus and method, program, and recording medium Expired - Fee Related JP5152581B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008213561A JP5152581B2 (en) 2008-08-22 2008-08-22 Image data processing apparatus and method, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008213561A JP5152581B2 (en) 2008-08-22 2008-08-22 Image data processing apparatus and method, program, and recording medium

Publications (2)

Publication Number Publication Date
JP2010049516A JP2010049516A (en) 2010-03-04
JP5152581B2 true JP5152581B2 (en) 2013-02-27

Family

ID=42066546

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008213561A Expired - Fee Related JP5152581B2 (en) 2008-08-22 2008-08-22 Image data processing apparatus and method, program, and recording medium

Country Status (1)

Country Link
JP (1) JP5152581B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6415494B2 (en) * 2016-08-09 2018-10-31 株式会社ミスミ Design support apparatus, design support system, server, and design support method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07225859A (en) * 1994-02-14 1995-08-22 Toshiba Corp Object display device
JP2006171889A (en) * 2004-12-13 2006-06-29 Ricoh Co Ltd Three-dimensional shape display system, three-dimensional shape display method and three-dimensional shape display program

Also Published As

Publication number Publication date
JP2010049516A (en) 2010-03-04

Similar Documents

Publication Publication Date Title
JP4838079B2 (en) Part identification image creating apparatus, program, and computer-readable storage medium
JP5062884B2 (en) Image search apparatus, image search method and program
JP6242334B2 (en) Planar characteristic-based markerless augmented reality system and its operation method
JP2017182302A (en) Image processing program, image processing apparatus, and image processing method
US10712473B2 (en) Weather data processing apparatus and method using weather radar
US10884391B2 (en) Positional information display system
JP6360356B2 (en) Interference check system
JP5571128B2 (en) Measurement support apparatus, method and program
US20190371001A1 (en) Information processing apparatus, method of controlling information processing apparatus, and non-transitory computer-readable storage medium
US8311320B2 (en) Computer readable recording medium storing difference emphasizing program, difference emphasizing method, and difference emphasizing apparatus
JP5152581B2 (en) Image data processing apparatus and method, program, and recording medium
JP4979358B2 (en) Image processing apparatus, image processing method, program, and storage medium
JP2017004065A (en) Thumbnail image creation device and three-dimensional molding system
JP6564259B2 (en) Image processing apparatus and image processing method
JP2009123076A (en) Three-dimensional cad system program
US6856325B2 (en) Information processing method and apparatus
JP4949001B2 (en) Image processing apparatus, program, and storage medium
JP5533094B2 (en) Parts catalog creation device, parts catalog creation method, and parts catalog creation program
JP2007094902A (en) Three-dimensional image display device, method, and program
JP6091676B2 (en) 3D map display system
JP5964611B2 (en) 3D map display system
JP2016058043A (en) Information processing device, information processing method, and program
JP2013050970A (en) Image processing device, image processing method, and program
JP4849895B2 (en) 3D shape simplified display device
JP2006171889A (en) Three-dimensional shape display system, three-dimensional shape display method and three-dimensional shape display program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110607

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120823

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121019

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121121

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

Free format text: PAYMENT UNTIL: 20151214

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 5152581

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20151214

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees