JP5531087B1 - Image processing apparatus and method, and program - Google Patents

Image processing apparatus and method, and program Download PDF

Info

Publication number
JP5531087B1
JP5531087B1 JP2012287461A JP2012287461A JP5531087B1 JP 5531087 B1 JP5531087 B1 JP 5531087B1 JP 2012287461 A JP2012287461 A JP 2012287461A JP 2012287461 A JP2012287461 A JP 2012287461A JP 5531087 B1 JP5531087 B1 JP 5531087B1
Authority
JP
Japan
Prior art keywords
cost
curvature
unit
path length
points
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
JP2012287461A
Other languages
Japanese (ja)
Other versions
JP2014130462A (en
Inventor
健一 安生
才雨 徐
英樹 藤堂
Original Assignee
株式会社オー・エル・エム デジタル
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 株式会社オー・エル・エム デジタル filed Critical 株式会社オー・エル・エム デジタル
Priority to JP2012287461A priority Critical patent/JP5531087B1/en
Application granted granted Critical
Publication of JP5531087B1 publication Critical patent/JP5531087B1/en
Publication of JP2014130462A publication Critical patent/JP2014130462A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Generation (AREA)

Abstract

【課題】特徴頂点列を容易で、かつ、適切に求められるようにする。
【解決手段】曲率コスト計算部32が、3D形状データ記憶部31に記憶されている各辺eの曲率コストH(e)を計算する。経路長コスト計算部33が、3D形状データ記憶部31に記憶されている各辺eの経路長コストL(e)を計算する。特徴頂点列生成部34は、操作部37が操作されて、始点終点入力部38より供給されてくる始点および終点間の辺が接続されて構成される経路上の経路長コストL(e)の総和L、および曲率コストH(e)の総和H、並びにコスト重み入力部39より供給されてくる重みwに基づいて、コストC(=(1−w)×L+w×H)を計算し、最小となる経路を構成する点を特徴頂点列として求める。本技術は、3次元形状の編集ソフトウェアプログラムに適用することができる。
【選択図】図1
A feature vertex sequence is obtained easily and appropriately.
A curvature cost calculation unit 32 calculates a curvature cost H (e) of each side e stored in a 3D shape data storage unit 31. The route length cost calculation unit 33 calculates the route length cost L (e) of each side e stored in the 3D shape data storage unit 31. The feature vertex sequence generation unit 34 operates the operation unit 37 to calculate the path length cost L (e) on the path configured by connecting the sides between the start point and the end point supplied from the start point / end point input unit 38. The cost C (= (1−w) × L + w × H) is calculated based on the total L, the total H of the curvature cost H (e), and the weight w supplied from the cost weight input unit 39, and the minimum The points that make up the path are obtained as feature vertex sequences. The present technology can be applied to a three-dimensional shape editing software program.
[Selection] Figure 1

Description

本技術は、画像処理装置および方法、並びにプログラムに関し、特に、特徴的な頂点からなる特徴頂点列を容易で、かつ、適切に選択できるようにした画像処理装置および方法、並びにプログラムに関する。   The present technology relates to an image processing apparatus and method, and a program, and more particularly, to an image processing apparatus and method, and a program that can easily and appropriately select a feature vertex sequence including characteristic vertices.

形状の頂点選択は、3次元形状データを編集する上で重要な基本動作の一つである。特に、リッジ(ridge)のような特徴線に沿った頂点列の選択は、形状の変形操作に重要な操作であり、形状を作成する際やアニメーションを作成する上で必要な手順である。   Shape vertex selection is one of the basic operations important in editing three-dimensional shape data. In particular, the selection of a vertex row along a characteristic line such as a ridge is an important operation for a shape deformation operation, and is a procedure necessary for creating a shape or creating an animation.

3次元形状全体の特徴線を抽出する手法として、例えば、3次元の物体のスキャンデータ(造形データ)を用いて、予め複数の3次元物体形状の曲面のパラメータを保持し、計測結果に類似したものを利用する手法が提案されている(特許文献1参照)。ここでは、3次元の物体の計測結果を用いる場合について提案されたものであるが、3次元形状データに当てはめて利用することで、同様の効果を奏することが可能である。   As a method for extracting feature lines of the entire 3D shape, for example, using scan data (modeling data) of a 3D object, parameters of curved surfaces of a plurality of 3D object shapes are held in advance and similar to measurement results There has been proposed a method of using one (see Patent Document 1). Here, although it is proposed about the case where the measurement result of a three-dimensional object is used, the same effect can be produced by applying it to the three-dimensional shape data.

また、一般的なソフトウェアにおいては、例えば、頂点列を選択するにあたり1点1点選択する手法、閉領域の頂点を選択する手法、およびペイントにより選択する手法の3種類の手法が主に使用されている。   In general software, for example, three types of methods are mainly used to select a vertex row: a method of selecting one point at a time, a method of selecting a vertex in a closed region, and a method of selecting by painting. ing.

特開平08−030809号公報Japanese Patent Laid-Open No. 08-030809

しかしながら、上述した形状の作成やアニメーションの作成といった3次元形状を編集するような場合、形状全体の特徴線を抽出することはできるものの、使用者の意図に沿って局所的に特徴的な頂点列を選択するためには、1点1点手作業で選択するしかなく、形状編集に膨大な作業量と作業時間が費やされている。   However, when editing a 3D shape such as creating a shape or creating an animation as described above, a feature line of the entire shape can be extracted, but a locally characteristic vertex sequence according to the user's intention In order to select, one has to select one by one manually, and a huge amount of work and work time are spent on shape editing.

本技術はこのような状況に鑑みてなされたものであり、特に、与えられた3次元形状の特徴的な頂点を使用者の入力に基づいて選択することで、3次元形状の特徴線に沿った頂点列の選択を容易で、かつ適切に実現できるようにするものである。   The present technology has been made in view of such a situation, and in particular, along a feature line of a three-dimensional shape by selecting a characteristic vertex of a given three-dimensional shape based on a user input. This makes it possible to easily and appropriately realize the selection of vertex rows.

本技術の一側面の画像処理装置は、3次元形状を構成する頂点、辺、および面からなる形状情報に基づいて、前記各辺の曲率に基づいた曲率コストを計算する曲率コスト計算部と、前記3次元形状を構成する頂点、辺、および面からなる形状情報に基づいて、前記各辺における経路長に基づいた経路長コストを計算する経路長コスト計算部と、前記曲率コスト、および前記経路長コストに基づいて、前記3次元形状内における所定の2点間の経路におけるコストを計算する2点間コスト計算部と、前記3次元形状における、前記所定の2点間のコストが最小となる、前記所定の2点間の経路上に存在する点からなる列を特徴頂点列として生成する特徴頂点列生成部とを含む。   An image processing apparatus according to one aspect of the present technology, a curvature cost calculation unit that calculates a curvature cost based on the curvature of each side, based on shape information including a vertex, a side, and a surface constituting a three-dimensional shape; A path length cost calculation unit that calculates a path length cost based on a path length in each side based on shape information including vertices, sides, and faces constituting the three-dimensional shape, the curvature cost, and the path Based on the long cost, the cost between the two points in the three-dimensional shape and the cost between the two points in the three-dimensional shape become the minimum. And a feature vertex sequence generation unit that generates a sequence of points existing on the path between the two predetermined points as a feature vertex sequence.

前記曲率コスト、および前記経路長コストのそれぞれに付加する重みを設定する重み設定部をさらに含ませるようにすることができ、前記2点間コスト計算部には、前記曲率コスト、および前記経路長コストに対して、前記重み設定部により設定された重みを付加して、前記3次元形状内における所定の2点間の経路におけるコストを計算させるようにすることができる。 A weight setting unit that sets a weight to be added to each of the curvature cost and the path length cost can be further included. The point-to-point cost calculation unit includes the curvature cost and the path length. A weight set by the weight setting unit can be added to the cost to calculate a cost in a path between two predetermined points in the three-dimensional shape.

前記特徴頂点列を構成する点の数を間引いて簡略化するための割合を設定する簡略化割合設定部と、前記特徴頂点列生成部により求められた特徴頂点列の点の数を、前記簡略化割合設定部により設定された割合で間引くことにより前記特徴頂点列を簡略化する簡略化部をさらに含ませるようにすることができる。   A simplified ratio setting unit that sets a ratio for simplifying by thinning out the number of points constituting the feature vertex sequence, and the number of points of the feature vertex sequence obtained by the feature vertex sequence generation unit It is possible to further include a simplification unit that simplifies the feature vertex sequence by thinning out at a rate set by the conversion rate setting unit.

前記特徴点列生成部により生成された、前記3次元形状における、前記特徴頂点列を構成する点を選択することにより、前記特徴点列を編集する編集部をさらに含ませるようにすることができる。 It said generated by the feature vertex string generator, in the three-dimensional shape, by selecting the points constituting the feature vertices column and directed to further include an editing unit for editing the feature vertex sequence Can do.

本技術の一側面の画像処理方法は、3次元形状を構成するための頂点、辺、および面からなる形状情報に基づいて、前記各辺の曲率に基づいた曲率コストを計算する曲率コスト計算部と、前記3次元形状を構成するための頂点、辺、および面からなる形状情報に基づいて、前記各辺における経路長に基づいた経路長コストを計算する経路長コスト計算部と、前記曲率コスト、および前記経路長コストに基づいて、前記3次元形状内における所定の2点間の経路におけるコストを計算する2点間コスト計算部と、前記3次元形状における、前記所定の2点間のコストが最小となる、前記所定の2点間の経路上に存在する点からなる列を特徴頂点列として生成する特徴頂点列生成部とを含む画像処理装置の画像処理方法において、前記曲率コスト計算部における、前記3次元形状を構成する頂点、辺、および面からなる形状情報に基づいて、前記各辺の曲率に基づいた曲率コストを計算する曲率コスト計算ステップと、前記経路長コスト計算部における、前記3次元形状を構成する頂点、辺、および面からなる形状情報に基づいて、前記各辺における経路長に基づいた経路長コストを計算する経路長コスト計算ステップと、前記2点間コスト計算部における、前記曲率コスト、および前記経路長コストに基づいて、前記3次元形状内における所定の2点間の経路におけるコストを計算する2点間コスト計算ステップと、前記特徴頂点列生成部における、前記3次元形状における、前記所定の2点間のコストが最小となる、前記所定の2点間の経路上に存在する点からなる列を特徴頂点列として生成する特徴頂点列生成ステップとを含む。 An image processing method according to one aspect of the present technology includes a curvature cost calculation unit that calculates a curvature cost based on a curvature of each side based on shape information including a vertex, a side, and a surface for forming a three-dimensional shape. A path length cost calculation unit that calculates a path length cost based on a path length in each side based on shape information including vertices, sides, and faces for constituting the three-dimensional shape, and the curvature cost And a point-to-point cost calculation unit for calculating a cost in a path between two predetermined points in the three-dimensional shape based on the path length cost, and a cost between the two predetermined points in the three-dimensional shape In the image processing method of the image processing apparatus, including the feature vertex sequence generation unit that generates, as a feature vertex sequence, a sequence composed of points existing on the path between the predetermined two points, the curvature cost Curvature cost calculating step for calculating a curvature cost based on the curvature of each side based on shape information including vertices, sides, and faces constituting the three-dimensional shape in the calculation unit , and the path length cost calculating unit in the vertex constituting the three-dimensional shape, the sides, and based on the shape information comprising the surface, the path length cost calculation step of calculating a route path lengths cost based on length of the each side, the two-point cost A point-to-point cost calculation step of calculating a cost in a path between two predetermined points in the three-dimensional shape based on the curvature cost and the path length cost in the calculation unit; , in the three-dimensional shape, the predetermined cost between two points is minimized, said predetermined feature vertices columns columns of points existing on a route between two points And a feature vertex string generation step of generating by.

本技術の一側面のプログラムは、3次元形状を構成する頂点、辺、および面からなる形状情報に基づいて、前記各辺の曲率に基づいた曲率コストを計算する曲率コスト計算ステップと、前記3次元形状を構成する頂点、辺、および面からなる形状情報に基づいて、前記各辺における経路長に基づいた経路長コストを計算する経路長コスト計算ステップと、前記曲率コスト、および前記経路長コストに基づいて、前記3次元形状内における所定の2点間の経路におけるコストを計算する2点間コスト計算ステップと、前記3次元形状における、前記所定の2点間のコストが最小となる、前記所定の2点間の経路上に存在する点からなる列を特徴頂点列として生成する特徴頂点列生成ステップとを含む処理をコンピュータに実行させる。   A program according to one aspect of the present technology includes a curvature cost calculation step of calculating a curvature cost based on the curvature of each side based on shape information including a vertex, a side, and a surface that form a three-dimensional shape; A path length cost calculating step of calculating a path length cost based on a path length in each of the sides based on shape information including vertices, sides, and faces constituting a three-dimensional shape, the curvature cost, and the path length cost Based on the two-point cost calculation step of calculating a cost in a path between two predetermined points in the three-dimensional shape, and the cost between the two predetermined points in the three-dimensional shape is minimized, A computer is caused to execute a process including a feature vertex sequence generation step of generating a sequence of points existing on a path between two predetermined points as a feature vertex sequence.

本技術の一側面においては、3次元形状を構成する頂点、辺、および面からなる形状情報に基づいて、前記各辺の曲率に基づいた曲率コストが計算され、前記3次元形状を構成する頂点、辺、および面からなる形状情報に基づいて、前記各辺における経路長に基づいた経路長コストが計算され、前記曲率コスト、および前記経路長コストに基づいて、前記3次元形状内における所定の2点間の経路におけるコストが計算され、前記3次元形状における、前記所定の2点間のコストが最小となる、前記所定の2点間の経路上に存在する点からなる列が特徴頂点列として生成される。   In one aspect of the present technology, a curvature cost based on the curvature of each side is calculated on the basis of shape information including a vertex, a side, and a surface constituting the three-dimensional shape, and the vertex constituting the three-dimensional shape , A path length cost based on the path length in each side is calculated based on the shape information consisting of sides and faces, and based on the curvature cost and the path length cost, a predetermined value in the three-dimensional shape is calculated. The feature vertex sequence is a sequence of points existing on the path between the predetermined two points, in which the cost in the path between the two points is calculated, and the cost between the predetermined two points in the three-dimensional shape is the minimum. Is generated as

本技術の一側面の画像処理装置は、独立した装置であっても良いし、画像処理を行うブロックであっても良い。   The image processing apparatus according to one aspect of the present technology may be an independent apparatus or a block that performs image processing.

本技術の一側面によれば、3次元形状における特徴頂点列を容易で、かつ、適切に選択することが可能となる。   According to one aspect of the present technology, a feature vertex row in a three-dimensional shape can be easily and appropriately selected.

本技術を適用した特徴頂点列選択装置の一実施の形態の構成例を示す図である。It is a figure showing an example of composition of an embodiment of a feature vertex sequence selection device to which this art is applied. 特徴頂点列選択処理を説明するフローチャートである。It is a flowchart explaining a feature vertex row selection process. 表示部に表示される表示画像の例を説明する図である。It is a figure explaining the example of the display image displayed on a display part. 曲率コスト計算処理を説明するフローチャートである。It is a flowchart explaining a curvature cost calculation process. 経路長コスト計算処理を説明するフローチャートである。It is a flowchart explaining a route length cost calculation process. 特徴頂点列生成処理を説明するフローチャートである。It is a flowchart explaining a feature vertex sequence generation process. 重みつまみの操作を説明するための表示画像の例を説明する図である。It is a figure explaining the example of the display image for demonstrating operation of a weight knob. 特徴頂点列簡略化処理を説明するフローチャートである。It is a flowchart explaining a feature vertex sequence simplification process. 簡略化割合つまみの操作を説明するための表示画像の例を説明する図である。It is a figure explaining the example of the display image for demonstrating operation of the simplification ratio knob. 特徴頂点列編集処理を説明するフローチャートである。It is a flowchart explaining a feature vertex sequence editing process. 外形形状の変形操作を説明するための表示画像の例を説明する図である。It is a figure explaining the example of the display image for demonstrating deformation | transformation operation of an external shape. 汎用のパーソナルコンピュータの構成例を説明する図である。And FIG. 11 is a diagram illustrating a configuration example of a general-purpose personal computer.

<特徴頂点選択装置の構成例>
図1は、本技術を適用した特徴頂点選択装置の一実施の形態の構成例を示している。図1の特徴頂点選択装置11は、3次元形状におけるオブジェクトの曲率に基づいて、使用者より入力される2点間において、リッジ(ridge)を構成する頂点の配列からなる特徴頂点列を容易で、かつ、適切に選択できるようにするものである。
<Configuration example of feature vertex selection device>
FIG. 1 shows a configuration example of an embodiment of a feature vertex selection device to which the present technology is applied. The feature vertex selection device 11 shown in FIG. 1 can easily generate a feature vertex sequence including an array of vertices constituting a ridge between two points input by a user based on the curvature of an object in a three-dimensional shape. In addition, it enables the appropriate selection.

より具体的には、特徴頂点列選択装置11は、3D(3次元)形状データ記憶部31、曲率コスト計算部32、経路長コスト計算部33、特徴頂点列生成部34、表示部35、特徴頂点列簡略化部36、操作部37、始点終点入力部38、コスト重み入力部39、および簡略化割合入力部40を備えている。   More specifically, the feature vertex sequence selection device 11 includes a 3D (three-dimensional) shape data storage unit 31, a curvature cost calculation unit 32, a path length cost calculation unit 33, a feature vertex sequence generation unit 34, a display unit 35, and a feature. A vertex sequence simplification unit 36, an operation unit 37, a start point end point input unit 38, a cost weight input unit 39, and a simplification ratio input unit 40 are provided.

3D形状データ記憶部31は、3次元形状を構成する点、辺、および面を配置するために必要とされるデータが記憶されている。すなわち、例えば、点であれば3次元空間内におけるオブジェクトを構成するための座標位置のデータであり、辺であれば、3次元空間内におけるオブジェクトを構成するための線分を定義する直線を表現する点と点の接続情報のデータであり、面であれば、3次元空間内におけるオブジェクトを構成するための面を定義する辺、点の接続情報のデータなどである。   The 3D shape data storage unit 31 stores data necessary for arranging points, sides, and surfaces that form a three-dimensional shape. That is, for example, if it is a point, it is coordinate position data for constructing an object in the three-dimensional space, and if it is a side, it represents a straight line defining a line segment for constructing the object in the three-dimensional space. If it is a surface, it is data of edge and point connection information that defines a surface for constructing an object in a three-dimensional space.

曲率コスト計算部32は、3D形状データ記憶部31に記憶された3次元形状を構成する点、辺、および面を配置するために必要とされるデータに基づいて、LCD(Liquid Crystal Display)などのディスプレイなどからなる表示部35に表示される(表現される)3次元空間内に表示される各点を接続する辺における曲率コストを計算し、計算結果を特徴頂点列生成部34に供給する。曲率コストとは、例えば、曲率そのものの値であってもよいし、曲率に基づいて所定の関数等により計算される値でもよい。   The curvature cost calculation unit 32 is based on data required for arranging points, sides, and faces constituting the three-dimensional shape stored in the 3D shape data storage unit 31, LCD (Liquid Crystal Display), etc. The curvature cost at the edge connecting each point displayed in the three-dimensional space displayed (represented) displayed on the display unit 35 including the display of the above is calculated, and the calculation result is supplied to the feature vertex string generation unit 34. . The curvature cost may be, for example, a value of the curvature itself or a value calculated by a predetermined function or the like based on the curvature.

経路長コスト計算部33は、3D形状データ記憶部31に記憶された3次元形状を構成する点、辺、および面を配置するために必要とされるデータに基づいて、LCDなどのディスプレイなどからなる表示部35に表示される(表現される)3次元空間内に表示される各点を接続する辺における経路長コストを計算し、計算結果を特徴頂点列生成部34に供給する。経路長コストとは、例えば、経路長そのものの値であってもよいし、経路長に基づいて所定の関数等により計算される値でもよい。   The path length cost calculation unit 33 uses a display such as an LCD on the basis of data required for arranging points, sides, and surfaces constituting the three-dimensional shape stored in the 3D shape data storage unit 31. The path length cost at the side connecting the points displayed in the three-dimensional space displayed (represented) on the display unit 35 is calculated, and the calculation result is supplied to the feature vertex string generation unit 34. The route length cost may be, for example, a value of the route length itself or a value calculated by a predetermined function or the like based on the route length.

操作部37は、マウスやキーボード、または操作ボタンなど、使用者からの入力を受け付けるとともに、受け付けた操作内容に対応する操作信号を、始点終点入力部38、コスト重み入力部39、または簡略化割合入力部40に供給する。   The operation unit 37 receives input from the user such as a mouse, a keyboard, or an operation button, and sends an operation signal corresponding to the received operation content to the start point end point input unit 38, the cost weight input unit 39, or the simplified ratio. This is supplied to the input unit 40.

始点終点入力部38は、操作部37からの操作信号に基づいて、特徴頂点列を求めるべき始点の座標位置、および終点の座標位置の情報の入力を受け付け、受け付けた始点、および終点の座標情報を特徴頂点列生成部34に供給する。   Based on the operation signal from the operation unit 37, the start point / end point input unit 38 receives input of information on the coordinate position of the start point and the coordinate position of the end point for which a feature vertex sequence is to be obtained, and the received coordinate information of the start point and end point Is supplied to the feature vertex sequence generation unit 34.

コスト重み入力部39は、操作部37からの操作信号に基づいて、曲率コスト、および経路長コストのそれぞれに割り付けられる重みの情報の入力を受け付けて、入力を受け付けた重みの情報を特徴頂点列生成部34に供給する。より詳細には、コスト重み入力部39は、スライダーバー表示制御部39aを備えており、操作部37が操作されて、ポインタが横方向(左右方向)に所定の距離だけドラッグされると、スライダーバー表示制御部39aは、ポインタを利用した重みを入力するためのスライダーバーを表示部35に表示する。さらに、コスト重み入力部39は、スライダーバー表示制御部39aにより表示部35に表示されたスライダーバーがポインタにより操作されると操作内容に応じた重みの情報の入力を受け付ける。   The cost weight input unit 39 receives input of weight information assigned to each of the curvature cost and the path length cost based on the operation signal from the operation unit 37, and sets the received weight information to the feature vertex sequence It supplies to the production | generation part 34. More specifically, the cost weight input unit 39 includes a slider bar display control unit 39a. When the operation unit 37 is operated and the pointer is dragged in the horizontal direction (left and right direction) by a predetermined distance, the slider is displayed. The bar display control unit 39a displays a slider bar for inputting a weight using a pointer on the display unit 35. Furthermore, when the slider bar displayed on the display unit 35 is operated by the pointer by the slider bar display control unit 39a, the cost weight input unit 39 receives input of weight information corresponding to the operation content.

簡略化割合入力部40は、操作部37からの操作信号に基づいて、簡略化の割合を設定する簡略化割合の入力情報を受け付けて、受け付けた簡略化割合の情報を特徴頂点列生成部34に供給する。より詳細には、簡略化割合入力部40は、スライダーバー表示制御部40aを備えており、操作部37が操作されて、ポインタが縦方向(上下方向)に所定の距離だけドラッグされると、スライダーバー表示制御部40aは、ポインタを利用した簡略化割合を入力するためのスライダーバーを表示部35に表示する。さらに、簡略化割合入力部40は、スライダーバー表示制御部40aにより表示部35に表示されたスライダーバーがポインタにより操作されると操作内容に応じた簡略化割合の情報の入力を受け付ける。   The simplification ratio input unit 40 receives input information of a simplification ratio that sets a simplification ratio based on an operation signal from the operation unit 37, and receives the received information on the simplification ratio as a feature vertex string generation unit 34. To supply. More specifically, the simplified ratio input unit 40 includes a slider bar display control unit 40a. When the operation unit 37 is operated and the pointer is dragged in a vertical direction (vertical direction) by a predetermined distance, The slider bar display control unit 40a displays on the display unit 35 a slider bar for inputting a simplified ratio using a pointer. Further, when the slider bar displayed on the display unit 35 is operated by the pointer by the slider bar display control unit 40a, the simplification rate input unit 40 receives input of information on the simplification rate according to the operation content.

特徴頂点列生成部34は、コスト計算部34aを備えており、始点終点入力部38より供給される始点、および終点間の曲率コスト計算部32より供給される曲率コストと、経路長コスト計算部33により供給される経路長コストとに、コスト重みとして指定された重みを付して、コスト計算部34aのコスト計算方法を更新して、計算されるコストの和が最小となる経路を計算し、計算された経路上に存在する点により構成される列からなる特徴頂点列を計算し、特徴頂点列簡略化部36に供給する。   The feature vertex sequence generation unit 34 includes a cost calculation unit 34a, a curvature cost supplied from the start point supplied from the start point / end point input unit 38 and the curvature cost calculation unit 32 between the end points, and a path length cost calculation unit. The weight specified as the cost weight is added to the route length cost supplied by the number 33, the cost calculation method of the cost calculation unit 34a is updated, and the route that minimizes the sum of the calculated costs is calculated. Then, a feature vertex sequence composed of a sequence composed of points existing on the calculated path is calculated and supplied to the feature vertex sequence simplification unit 36.

特徴頂点列簡略化部36は、特徴頂点列の情報に含まれる特徴頂点列より、簡略化割合の情報に基づいて、特徴頂点を等間隔に間引いて、間引いた結果となる特徴頂点列の情報を表示部35に供給して、表示部35に表示させる。   The feature vertex sequence simplification unit 36 thins out the feature vertices at equal intervals from the feature vertex sequence included in the feature vertex sequence information based on the information of the simplification ratio, and the feature vertex sequence information obtained as a result of the thinning Is supplied to the display unit 35 and displayed on the display unit 35.

特徴頂点列編集部41は、操作部37の操作内容に応じて、特徴頂点列生成部34により生成された特徴頂点列を構成する頂点のいずれかが選択されて、移動されると、選択された頂点の移動に伴って、選択された頂点が属する特徴頂点列の編集を受け付けて、編集結果を3D形状データ記憶部31に記憶させる。この結果、3D形状データ記憶部31に記憶された3D形状データが編集されることになる。   The feature vertex sequence editing unit 41 is selected when any of the vertices constituting the feature vertex sequence generated by the feature vertex sequence generation unit 34 is selected and moved according to the operation content of the operation unit 37. With the movement of the selected vertex, the editing of the feature vertex sequence to which the selected vertex belongs is accepted, and the editing result is stored in the 3D shape data storage unit 31. As a result, the 3D shape data stored in the 3D shape data storage unit 31 is edited.

<特徴頂点列選択処理>
次に、図2のフローチャートを参照して、特徴頂点列選択処理について説明する。
<Feature vertex sequence selection processing>
Next, the feature vertex string selection process will be described with reference to the flowchart of FIG.

ステップS11において、特徴頂点列生成部34は、表示部35を制御して、操作画面となる表示画像を表示する。表示画像は、例えば、図3で示されるようなものである。図3の表示画像G1においては、3次元形状が表示される表示欄が設けられる。また、図中下部には、左側に経路長を優先することを示すLengthが表示され、右側に曲率を優先することを示すCurvatureが表示されているスライダーバーSL1が表示され、スライダーバーSL1上に表示された重みつまみTが、図中の左右に操作されることにより重みが設定される。さらに、図3の表示画像G1においては、自動車の外装フレームからなるオブジェクトOB1が表示されている。また、始点P(s1)、および終点P(e1)が表示されており、それらを結ぶ特徴頂点列L1が表示されている。   In step S11, the feature vertex sequence generation unit 34 controls the display unit 35 to display a display image serving as an operation screen. The display image is, for example, as shown in FIG. In the display image G1 of FIG. 3, a display field for displaying a three-dimensional shape is provided. In the lower part of the figure, a length indicating that the path length is given priority is displayed on the left side, and a slider bar SL1 is displayed on the right side indicating Curvature indicating that the curvature is given priority. The slider bar SL1 is displayed on the slider bar SL1. The weight is set by operating the displayed weight knob T to the left and right in the figure. Further, in the display image G1 of FIG. 3, an object OB1 made up of an automobile exterior frame is displayed. In addition, a start point P (s1) and an end point P (e1) are displayed, and a feature vertex row L1 connecting them is displayed.

ステップS11において、曲率コスト計算部32は、3D形状データ記憶部31に記憶された3次元形状を構成する点、辺、および面を配置するために必要とされるデータに基づいて、曲率コスト計算処理を実行し、扱うべき3次元空間内における各辺の曲率コストを計算する。尚、曲率コスト計算処理については、図4のフローチャートを参照して、詳細を後述する。   In step S <b> 11, the curvature cost calculation unit 32 calculates the curvature cost based on the data required for arranging the points, sides, and surfaces that constitute the three-dimensional shape stored in the 3D shape data storage unit 31. The process is executed and the curvature cost of each side in the three-dimensional space to be handled is calculated. The curvature cost calculation process will be described in detail later with reference to the flowchart of FIG.

ステップS12において、経路長コスト計算部33は、3D形状データ記憶部31に記憶された3次元形状を構成する点、辺、および面を配置するために必要とされるデータに基づいて、経路長コスト計算処理を実行し、扱うべき3次元形状における各辺の経路長コストを計算する。尚、経路長コスト計算処理については、図5のフローチャートを参照して、詳細を後述する。   In step S <b> 12, the path length cost calculation unit 33 determines the path length based on the data required to arrange the points, sides, and faces that make up the three-dimensional shape stored in the 3D shape data storage unit 31. The cost calculation process is executed, and the path length cost of each side in the three-dimensional shape to be handled is calculated. Details of the path length cost calculation processing will be described later with reference to the flowchart of FIG.

ステップS13において、特徴頂点列生成部34は、操作部37が操作されて始点終点入力部38に始点および終点の情報が入力されたか否かを判定する。ステップS13において、例えば、図3で示されるように、操作部37が操作されて始点終点入力部38より始点および終点の座標が、例えば、図3の始点P(s1)、および終点P(e1)で示されるように入力された場合、処理は、ステップS14に進む。   In step S <b> 13, the feature vertex string generation unit 34 determines whether or not the operation point 37 has been operated and the start point and end point information has been input to the start point / end point input unit 38. In step S13, for example, as shown in FIG. 3, the operation unit 37 is operated, and the coordinates of the start point and the end point are, for example, the start point P (s1) and the end point P (e1 in FIG. ), The process proceeds to step S14.

ステップS14において、特徴頂点列生成部34は、入力された曲率コスト、および経路長コスト、並びに、始点終点の座標情報に基づいて、特徴点列生成処理を実行し、特徴点列を生成し、生成した特徴頂点列を特徴頂点列簡略化部36に供給する。尚、特徴頂点列生成処理については、図6のフローチャートを参照して、詳細を後述するものとする。   In step S14, the feature vertex sequence generation unit 34 executes a feature point sequence generation process based on the input curvature cost, path length cost, and start point / end point coordinate information to generate a feature point sequence, The generated feature vertex sequence is supplied to the feature vertex sequence simplification unit 36. The feature vertex sequence generation process will be described in detail later with reference to the flowchart of FIG.

ステップS15において、特徴頂点列簡略化部36は、特徴頂点列生成部34より供給されてくる特徴頂点列の情報と、簡略化割合入力部40より供給されてくる簡略化割合の情報とに基づいて、特徴頂点列簡略化処理を実行し、特徴頂点列を簡略化し、表示部35に供給して表示させる。尚、特徴頂点列簡略化処理については、図8のフローチャートを参照して後述するものとする。   In step S15, the feature vertex sequence simplification unit 36 is based on the feature vertex sequence information supplied from the feature vertex sequence generation unit 34 and the simplification rate information supplied from the simplification rate input unit 40. The feature vertex sequence simplification process is executed to simplify the feature vertex sequence and supply it to the display unit 35 for display. The feature vertex sequence simplification process will be described later with reference to the flowchart of FIG.

ステップS16において、操作部37が操作されて、処理の完了が指示されたか否かが判定され、完了が指示されていない場合、処理は、ステップS13に戻る。すなわち、処理の完了が指示されるまで、ステップS13乃至S16の処理が繰り返される。そして、ステップS16において、完了が指示されると処理が終了する。   In step S16, it is determined whether the operation unit 37 has been operated to instruct the completion of the process. If the completion has not been instructed, the process returns to step S13. That is, the processes in steps S13 to S16 are repeated until the completion of the process is instructed. In step S16, when completion is instructed, the process ends.

以上の処理により、始点および終点の座標の情報に加えて、後述する重み、並びに簡略化割合の情報が入力されると、対応する特徴頂点列が選択されて、表示部35に表示される。   Through the above processing, when information on the weight and simplification ratio described later is input in addition to the information on the coordinates of the start point and the end point, the corresponding feature vertex row is selected and displayed on the display unit 35.

<曲率コスト計算処理>
次に、図4のフローチャートを参照して、曲率コスト計算処理について説明する。
<Curvature cost calculation process>
Next, the curvature cost calculation process will be described with reference to the flowchart of FIG.

ステップS31において、曲率コスト計算部32は、3D形状データ記憶部31に記憶されている3次元形状を構成する辺の情報のうち、未処理の辺のいずれかを処理対象辺eに設定する。   In step S <b> 31, the curvature cost calculation unit 32 sets one of the unprocessed sides as the processing target side e among the information on the sides constituting the three-dimensional shape stored in the 3D shape data storage unit 31.

ステップS32において、曲率コスト計算部32は、処理対象辺eについて、曲率コストH(e)を計算する。具体的には、曲率コスト計算部32は、処理対象辺eの曲率そのものを曲率コストH(e)とするようにしてもよいし、処理対象辺eの曲率を所定の関数に入力して計算される値を曲率コストH(e)としてもよい。   In step S32, the curvature cost calculation unit 32 calculates a curvature cost H (e) for the processing target side e. Specifically, the curvature cost calculation unit 32 may set the curvature of the processing target side e itself as the curvature cost H (e), or inputs the curvature of the processing target side e into a predetermined function for calculation. The value to be used may be the curvature cost H (e).

ステップS33において、曲率コスト計算部32は、計算した曲率コストH(e)を3D形状データ記憶部31に記憶させる。   In step S <b> 33, the curvature cost calculation unit 32 stores the calculated curvature cost H (e) in the 3D shape data storage unit 31.

ステップS34において、曲率コスト計算部32は、3D形状データ記憶部31に記憶されている3次元形状を構成する辺の情報のうち、未処理の辺が存在するか否かを判定する。ステップS34において、未処理の辺が存在する場合、処理は、ステップS31に戻り、それ以降の処理が繰り返される。すなわち、全ての辺が処理対象辺eに設定されて、全ての辺について曲率コストH(e)が計算されるまで、ステップS31乃至S34の処理が繰り返される。そして、ステップS34において、未処理の辺が存在しないとみなされた場合、処理は、終了する。   In step S <b> 34, the curvature cost calculation unit 32 determines whether or not there is an unprocessed side among the information on the sides constituting the three-dimensional shape stored in the 3D shape data storage unit 31. In step S34, when there is an unprocessed side, the process returns to step S31, and the subsequent processes are repeated. That is, the processes in steps S31 to S34 are repeated until all sides are set as the processing target side e and the curvature cost H (e) is calculated for all sides. If it is determined in step S34 that there is no unprocessed side, the process ends.

すなわち、以上の処理により、3D形状データ記憶部31に記憶されている3次元形状を構成する辺の情報の全てについて曲率コストが計算されて、3D形状データ記憶部31に記憶される。   That is, the curvature cost is calculated for all pieces of information constituting the three-dimensional shape stored in the 3D shape data storage unit 31 and stored in the 3D shape data storage unit 31 by the above processing.

<経路長コスト計算処理>
次に、図5のフローチャートを参照して、経路長コスト計算処理について説明する。
<Route length cost calculation processing>
Next, the path length cost calculation process will be described with reference to the flowchart of FIG.

ステップS51において、経路長コスト計算部33は、3D形状データ記憶部31に記憶されている3次元形状を構成する辺の情報のうち、未処理の辺のいずれかを処理対象辺eに設定する。   In step S51, the path length cost calculation unit 33 sets one of the unprocessed sides as the processing target side e among the information on the sides constituting the three-dimensional shape stored in the 3D shape data storage unit 31. .

ステップS52において、経路長コスト計算部33は、処理対象辺eについて、経路長コストL(e)を計算する。具体的には、経路長コスト計算部33は、処理対象辺eの経路長そのものを経路長コストL(e)とするようにしてもよいし、処理対象辺eの経路長を所定の関数に入力して計算される値を経路長コストL(e)としてもよい。   In step S52, the path length cost calculation unit 33 calculates the path length cost L (e) for the processing target side e. Specifically, the path length cost calculation unit 33 may set the path length itself of the processing target side e as the path length cost L (e), or the path length of the processing target side e as a predetermined function. A value calculated by inputting may be used as the path length cost L (e).

ステップS53において、経路長コスト計算部33は、計算した経路長コストL(e)を3D形状データ記憶部31に記憶させる。   In step S <b> 53, the route length cost calculation unit 33 stores the calculated route length cost L (e) in the 3D shape data storage unit 31.

ステップS54において、経路長コスト計算部33は、3D形状データ記憶部31に記憶されている3次元形状を構成する辺の情報のうち、未処理の辺が存在するか否かを判定する。ステップS54において、未処理の辺が存在する場合、処理は、ステップS51に戻り、それ以降の処理が繰り返される。すなわち、全ての辺が処理対象辺eに設定されて、全ての辺について経路長コストL(e)が計算されるまで、ステップS51乃至S54の処理が繰り返される。そして、ステップS54において、未処理の辺が存在しないとみなされた場合、処理は、終了する。   In step S <b> 54, the path length cost calculation unit 33 determines whether or not there is an unprocessed side among the information on the sides constituting the three-dimensional shape stored in the 3D shape data storage unit 31. In step S54, when there is an unprocessed side, the process returns to step S51, and the subsequent processes are repeated. That is, the processing of steps S51 to S54 is repeated until all sides are set as the processing target side e and the path length cost L (e) is calculated for all sides. If it is determined in step S54 that there is no unprocessed side, the process ends.

すなわち、以上の処理により、3D形状データ記憶部31に記憶されている3次元形状を構成する辺の情報の全てについて経路長コストが計算されて、3D形状データ記憶部31に記憶される。   That is, the path length cost is calculated for all of the information of the sides constituting the three-dimensional shape stored in the 3D shape data storage unit 31 and stored in the 3D shape data storage unit 31 by the above processing.

<特徴頂点列生成処理>
次に、図6のフローチャートを参照して、特徴頂点列生成処理について説明する。
<Feature vertex sequence generation processing>
Next, the feature vertex sequence generation process will be described with reference to the flowchart of FIG.

ステップS71において、コスト重み入力部39のスライダーバー表示制御部39aは、操作部37が所定の操作がなされて、コストの重みwを入力するためのスライダーバーを表示するように要求されたか否かを判定する。ステップS71において、例えば、操作部37が操作されて、ポインタが所定の距離より長い距離だけ水平方向にドラッグされ、所定の操作がなされたと見なされた場合、処理は、ステップS72に進む。尚、コストの重みwを入力するためのスライダーバーを表示させるための所定の操作は、所定の距離より長い距離だけ水平方向にドラッグされる操作以外の操作であってもよいし、別途、表示を要求するためのボタン等を設けるようにして、そのボタンが操作されたときスライダーバーを表示するようにしてもよい。   In step S71, the slider bar display control unit 39a of the cost weight input unit 39 determines whether or not the operation unit 37 is requested to display a slider bar for inputting the cost weight w by performing a predetermined operation. Determine. In step S71, for example, when the operation unit 37 is operated and the pointer is dragged in the horizontal direction by a distance longer than the predetermined distance, and the predetermined operation is regarded as being performed, the process proceeds to step S72. The predetermined operation for displaying the slider bar for inputting the cost weight w may be an operation other than the operation of dragging in the horizontal direction by a distance longer than the predetermined distance. It is also possible to provide a button or the like for requesting and to display a slider bar when the button is operated.

ステップS72において、スライダーバー表示制御部39aは、例えば、図3で示されるようなスライダーバーSL1を表示部35に表示させ、コストの重みwの入力を受け付けられる状態にする。このような処理により、スライダーバーSL1を操作に必要なときだけ、容易な操作により表示させることが可能となり、不必要な状態においては表示させないようにすることが可能となる。   In step S72, the slider bar display control unit 39a displays, for example, the slider bar SL1 as shown in FIG. 3 on the display unit 35 so that the input of the cost weight w can be accepted. By such processing, it is possible to display the slider bar SL1 by an easy operation only when it is necessary for the operation, and it is possible to prevent the slider bar SL1 from being displayed in an unnecessary state.

ステップS73において、特徴頂点列生成部34は、操作部37でスライダーバーSL1上の重みつまみTが操作されることにより、コストの重みw(0<w<1)が入力されて、特徴頂点列の生成処理が指示されているか否かを判定する。すなわち、図3で示される重みつまみTが、操作部37が操作されることによりスライダーバーSL1上の新たな位置に設定されると、重みwが設定されたものとみなし、処理は、ステップS74に進む。   In step S <b> 73, the feature vertex string generation unit 34 receives the weight w (0 <w <1) of the cost by operating the weight knob T on the slider bar SL <b> 1 by the operation unit 37, and the feature vertex string generation unit 34. It is determined whether or not the generation process is instructed. That is, when the weight knob T shown in FIG. 3 is set to a new position on the slider bar SL1 by operating the operation unit 37, it is considered that the weight w has been set, and the processing is performed in step S74. Proceed to

ステップS74において、特徴頂点列生成部34は、コスト計算部34aを制御して、重みwに基づいて、始点から終点までの経路上に存在する辺の組み合わせ毎に、曲率コストH(e)の総和H、および経路長コストL(e)の総和Lを用いた、コストC(=(1−w)×L+w×H)の計算方法を設定させる。   In step S74, the feature vertex string generation unit 34 controls the cost calculation unit 34a to calculate the curvature cost H (e) for each combination of edges existing on the path from the start point to the end point based on the weight w. A calculation method of the cost C (= (1−w) × L + w × H) using the total H and the total L of the path length cost L (e) is set.

ステップS75において、特徴頂点列生成部34は、コスト計算部34aを制御して、始点から終点までの経路上に存在する辺の全ての組み合わせ毎のコストC(=(1−w)×L+w×H)を全て計算させる。さらに、特徴頂点列生成部34は、計算結果とされるコストCのうち、コストCが最小値をとる辺の組み合わせからなる経路を最短経路として計算する。すなわち、特徴頂点列生成部34は、コストCに基づいて、始点および終点間の最短経路問題を解くことにより最短経路を計算する。   In step S75, the feature vertex string generation unit 34 controls the cost calculation unit 34a, and the cost C (= (1-w) × L + w ×) for every combination of edges existing on the path from the start point to the end point. H) are all calculated. Further, the feature vertex string generation unit 34 calculates, as the shortest path, a path composed of a combination of edges where the cost C has a minimum value among the costs C that are the calculation results. That is, the feature vertex sequence generation unit 34 calculates the shortest path by solving the shortest path problem between the start point and the end point based on the cost C.

ステップS76において、特徴頂点列生成部34は、最短経路上に存在する点からなる頂点の列を特徴頂点列として生成し、特徴頂点列簡略化部36に供給する。   In step S <b> 76, the feature vertex sequence generation unit 34 generates a sequence of vertices including points existing on the shortest path as a feature vertex sequence, and supplies the feature vertex sequence simplification unit 36.

尚、ステップS71において、スライダーバーの表示が要求されない場合、または、ステップS73において、重みwが入力されておらず、新たな特徴頂点列の生成が指示されない場合、ステップS74乃至S76の処理がスキップされる。   Note that if the display of the slider bar is not requested in step S71, or if the weight w is not input and the generation of a new feature vertex sequence is not instructed in step S73, the processing of steps S74 to S76 is skipped. Is done.

ステップS77において、特徴頂点列生成部34は、操作部37が操作されて特徴頂点列生成処理の完了が指示されたか否かを判定し、完了が指示されていない場合、処理は、ステップS71に戻る。すなわち、処理の完了が指示されるまで、スライダーバーの表示要求、および、重みwの入力が受け付けられて、重みwが入力される度に特徴頂点列が再計算により生成される。そして、ステップS77において、操作部37が操作されて、処理の完了が入力されると、処理が終了する。   In step S77, the feature vertex sequence generation unit 34 determines whether or not the operation unit 37 has been operated to instruct the completion of the feature vertex sequence generation process. If the completion has not been instructed, the process proceeds to step S71. Return. That is, until the completion of the process is instructed, the display request of the slider bar and the input of the weight w are accepted, and the feature vertex sequence is generated by recalculation every time the weight w is input. In step S77, when the operation unit 37 is operated and the completion of the process is input, the process ends.

以上の処理により、例えば、図7の表示画像G11の重みつまみT1で示されるように、経路長を優先するようにスライダーバーSL1の左端に操作されると、重みw=0に設定され、図3で示されるような特徴頂点列L1が、図7の表示画像G11の特徴頂点列L11で示されるように、経路長が優先されて頂点列が選択される。逆に、例えば、図7の表示画像G12の重みつまみT2で示されるように、曲率を優先するようにスライダーバーSL1の右端に操作されると、重みw=1に設定され、図7の表示画像G12の特徴頂点列L12で示されるように、曲率が優先されて折り目に沿って頂点列が選択される。尚、スライダーバーSL1は、操作がなされた後は、所定時間が経過したところで表示しない状態とするようにしてもよい。このようにすることで、スライダーバーSL1を必要なタイミングにだけ表示させることが可能となる。   Through the above processing, for example, as shown by the weight knob T1 of the display image G11 in FIG. 7, when the left end of the slider bar SL1 is operated so as to prioritize the path length, the weight w = 0 is set. As the feature vertex row L1 as indicated by 3 is indicated by the feature vertex row L11 of the display image G11 in FIG. 7, the vertex row is selected with priority on the path length. Conversely, for example, as shown by the weight knob T2 of the display image G12 in FIG. 7, when the right end of the slider bar SL1 is operated so as to give priority to the curvature, the weight w = 1 is set, and the display in FIG. As indicated by the feature vertex row L12 of the image G12, the curvature is prioritized and the vertex row is selected along the crease. The slider bar SL1 may not be displayed when a predetermined time has elapsed after the operation. In this way, the slider bar SL1 can be displayed only at a necessary timing.

<特徴頂点列簡略化処理>
次に、図8のフローチャートを参照して、特徴頂点列簡略化処理について説明する。
<Feature vertex sequence simplification process>
Next, the feature vertex string simplification process will be described with reference to the flowchart of FIG.

ステップS91において、簡略化割合入力部40のスライダーバー表示制御部40aは、操作部37が所定の操作がなされて、簡略化割合dを入力するためのスライダーバーを表示するように要求されたか否かを判定する。ステップS91において、例えば、操作部37が操作されて、ポインタが所定の距離より長い距離だけ垂直方向にドラッグされ、所定の操作がなされたと見なされた場合、処理は、ステップS92に進む。尚、簡略化割合dを入力するためのスライダーバーを表示させるための所定の操作は、所定の距離より長い距離だけ垂直方向にドラッグされる操作以外の操作であってもよいし、別途、表示を要求するためのボタン等を設けるようにして、そのボタンが操作されたときスライダーバーを表示するようにしてもよい。   In step S91, whether or not the slider bar display control unit 40a of the simplified ratio input unit 40 has been requested to display a slider bar for inputting the simplified ratio d by the operation unit 37 performing a predetermined operation. Determine whether. In step S91, for example, when the operation unit 37 is operated and the pointer is dragged in the vertical direction by a distance longer than the predetermined distance, and the predetermined operation is regarded as being performed, the process proceeds to step S92. Note that the predetermined operation for displaying the slider bar for inputting the simplified ratio d may be an operation other than the operation of being dragged in the vertical direction by a distance longer than the predetermined distance, or separately displayed. It is also possible to provide a button or the like for requesting and to display a slider bar when the button is operated.

ステップS92において、スライダーバー表示制御部40aは、例えば、図9の表示画像G21で示されるようなスライダーバーSL2、および簡略化割合つまみT11を表示部35に表示させ、簡略化割合dの入力を受け付けられる状態にする。図9においては、スライダーバーSL2の上端にDenseと表示され、特徴頂点の密度が高くなる方向に制御するとき、簡略化割合つまみT11が操作され、下端に、Sparseと表示され、特徴頂点の密度が低くなる方向に制御するとき、簡略化割合つまみT11が操作される。このような処理により、スライダーバーSL2を操作に必要なときだけ、容易な操作により表示させることが可能となり、不必要な状態においては表示させないようにすることが可能となる。   In step S92, the slider bar display control unit 40a displays, for example, the slider bar SL2 as shown by the display image G21 in FIG. 9 and the simplified ratio knob T11 on the display unit 35, and inputs the simplified ratio d. Get ready. In FIG. 9, when the dense bar is displayed at the upper end of the slider bar SL2 and the density of feature vertices is controlled to be increased, the simplified ratio knob T11 is operated, and the lower end is displayed as Sparse. When the control is performed in the direction in which the value becomes lower, the simplified ratio knob T11 is operated. By such processing, it is possible to display the slider bar SL2 only by an easy operation only when it is necessary for the operation, and it is possible to prevent the slider bar SL2 from being displayed in an unnecessary state.

ステップS93において、特徴頂点列簡略化部36は、操作部37でスライダーバーSL2上の簡略化割合つまみが操作されて、簡略化割合入力部40より簡略化割合が入力されたか否かを判定する。すなわち、例えば、図9で示される簡略化割合つまみT11が、操作部37が操作されることによりスライダーバーSL2上の新たな位置に設定されると、簡略化割合dが設定されたものとみなす。図9においては、簡略化割合つまみT11は、表示画像G21においては、上方向に操作されている。   In step S <b> 93, the feature vertex row simplification unit 36 determines whether the simplification ratio is input from the simplification ratio input unit 40 by operating the simplification ratio knob on the slider bar SL <b> 2 by the operation unit 37. . That is, for example, when the simplified ratio knob T11 shown in FIG. 9 is set to a new position on the slider bar SL2 by operating the operation unit 37, it is considered that the simplified ratio d is set. . In FIG. 9, the simplified ratio knob T11 is operated upward in the display image G21.

ステップS93において、例えば、簡略化割合dが操作されて入力された場合、処理は、ステップS94に進む。   In step S93, for example, when the simplification ratio d is operated and input, the process proceeds to step S94.

ステップS94において、特徴頂点列簡略化部36は、簡略化割合dに基づいて、特徴頂点列を構成する特徴頂点の密度の粗密を調整する。   In step S94, the feature vertex sequence simplification unit 36 adjusts the density of feature vertices constituting the feature vertex sequence based on the simplification ratio d.

ステップS95において、特徴頂点列簡略化部36は、簡略化割合dに基づいて、調整された特徴頂点を接続して新たな特徴頂点列を生成する。   In step S95, the feature vertex sequence simplification unit 36 connects the adjusted feature vertices based on the simplification ratio d to generate a new feature vertex sequence.

ステップS96において、操作部37が操作されて処理が完了したことが指示されたか否かが判定され、完了が指示されていない場合、処理は、ステップS91に戻る。すなわち、完了が指示されるまで、ステップS91乃至S96の処理が繰り返される。そして、ステップS96において、完了が指示されると、処理が終了する。尚、スライダーバーSL2は、操作がなされた後は、所定時間が経過したところで表示しない状態とするようにしてもよい。このようにすることで、スライダーバーSL2を必要なタイミングにだけ表示させることが可能となる。   In step S96, it is determined whether or not the operation unit 37 has been operated to instruct that the process has been completed. If the completion has not been instructed, the process returns to step S91. That is, steps S91 to S96 are repeated until completion is instructed. Then, when completion is instructed in step S96, the process ends. The slider bar SL2 may not be displayed when a predetermined time has elapsed after the operation. In this way, the slider bar SL2 can be displayed only at a necessary timing.

すなわち、図9の左部で示されるように、簡略化割合つまみT11がスライダーバーSL2上の最も密度の高い上方向に操作されて、簡略化割合dが1である場合については、全ての特徴頂点を残した状態で特徴頂点列L21が表示される。すなわち、特徴頂点が多いと図9の表示画像G21の特徴頂点列L21で示されるように、円周上に配置されるべきものが、画像上のノイズがあるような形状となるが、図9の右部の表示画像G22で示されるように、簡略化割合つまみT12で示されるようにスライダーバーSL2上の下方向に操作されることにより、簡略化割合dが、例えば、0.75程度にされることにより、特徴頂点の密度が等間隔で低下されることで、特徴頂点列L22で示されるように外形形状が美しく補正される。尚、図9においては、P(s2)が始点を表しており、P(e2)が終点を表している。また、簡略化割合dについては、最大値は1程度であるが、最小値は、例えば、0.75などにしてもよいし、それ以外の値であってもよい。ただし、最小値が0になってしまうと特徴頂点列が構成できない状態となるため、その設定は、残すべき形状などにより調整できるようにしてもよい。   That is, as shown in the left part of FIG. 9, when the simplified ratio knob T11 is operated in the upward direction with the highest density on the slider bar SL2 and the simplified ratio d is 1, all the characteristics are obtained. The feature vertex row L21 is displayed with the vertices left. That is, when there are many feature vertices, as shown by the feature vertex row L21 of the display image G21 in FIG. 9, what should be arranged on the circumference has a shape with noise on the image. As shown by the right display image G22, the simplified ratio d is, for example, about 0.75 by being operated downward on the slider bar SL2 as indicated by the simplified ratio knob T12. As a result, the density of feature vertices is reduced at equal intervals, so that the outer shape is beautifully corrected as indicated by the feature vertex row L22. In FIG. 9, P (s2) represents the start point and P (e2) represents the end point. As for the simplification ratio d, the maximum value is about 1, but the minimum value may be, for example, 0.75 or other values. However, since the feature vertex row cannot be configured when the minimum value becomes 0, the setting may be adjusted according to the shape to be left.

<特徴頂点列編集処理>
次に、図10のフローチャートを参照して、特徴頂点列編集処理について説明する。尚、この処理は、特徴頂点選択処理により特徴頂点列が選択された状態でなされる処理である。
<Feature vertex sequence editing process>
Next, the feature vertex sequence editing process will be described with reference to the flowchart of FIG. This process is performed in a state where the feature vertex row is selected by the feature vertex selection process.

すなわち、ステップS111において、特徴頂点列編集部41は、操作部37が操作されて、特徴頂点列選択処理により生成された特徴頂点列を構成するいずれかの頂点が選択されたか否かを判定し、選択されるまで同様の操作を繰り返す。ステップS111において、例えば、図11の左部における表示画像G31で示されるように、下唇の3次元形状における曲率を優先した特徴頂点列L31が求められることにより、下唇の外形形状が特定され、さらに、この特徴頂点列L31上の頂点T31が選択されると、処理は、ステップS112に進む。   That is, in step S111, the feature vertex sequence editing unit 41 determines whether any of the vertices constituting the feature vertex sequence generated by the feature vertex sequence selection process has been selected by operating the operation unit 37. Repeat the same operation until it is selected. In step S111, for example, as shown by the display image G31 in the left part of FIG. 11, the feature vertex row L31 giving priority to the curvature in the three-dimensional shape of the lower lip is obtained, whereby the outer shape of the lower lip is specified. Furthermore, when the vertex T31 on the feature vertex row L31 is selected, the process proceeds to step S112.

ステップS112において、特徴頂点列編集部41は、選択された頂点T31が属する特徴頂点列を構成する頂点のデータを3D形状データ記憶部31より読み出す。すなわち、図11の場合、選択された頂点である頂点T31の属する特徴頂点列L31に属する全ての頂点のデータが読み出される。   In step S112, the feature vertex sequence editing unit 41 reads data of vertices constituting the feature vertex sequence to which the selected vertex T31 belongs from the 3D shape data storage unit 31. That is, in the case of FIG. 11, data of all vertices belonging to the feature vertex row L31 to which the vertex T31 that is the selected vertex belongs is read out.

ステップS113において、特徴頂点列編集部41は、選択された頂点T31が属する特徴頂点列を構成する頂点のデータに基づいて、拡張された範囲の頂点のデータを3D形状データ記憶部31より読み出す。すなわち、図11の場合、選択された頂点である頂点T31の属する特徴頂点列L31の近傍に存在する特徴頂点列L31’,L31’’に属する全ての頂点のデータが拡張された範囲の頂点のデータとして読み出される。尚、拡張される範囲については、図11においては、特徴頂点列L31に対して図中の上下に特徴頂点列が1本ずつ拡張される例として特徴頂点列L31’,L31’’が設定される例について説明しているが、拡張される範囲はこれ以上の本数の特徴頂点列を含む範囲であってもよい。   In step S <b> 113, the feature vertex sequence editing unit 41 reads the data of the vertices in the expanded range from the 3D shape data storage unit 31 based on the vertex data constituting the feature vertex sequence to which the selected vertex T <b> 31 belongs. That is, in the case of FIG. 11, the data of all the vertices belonging to the feature vertex row L31 ′, L31 ″ existing in the vicinity of the feature vertex row L31 to which the vertex T31 that is the selected vertex belongs is expanded. Read as data. For the range to be extended, in FIG. 11, feature vertex rows L31 ′ and L31 ″ are set as an example in which feature vertex rows are extended one by one up and down in the figure with respect to the feature vertex row L31. However, the extended range may be a range including a larger number of feature vertex sequences.

ステップS114において、特徴頂点列編集部41は、操作部37が操作されて、選択された頂点が移動したか否かを判定する。ステップS114において、例えば、図11の右部で示されるように、頂点T31が矢印で示される水平方向、および垂直方向に移動されて、頂点T32へと移動されると、処理は、ステップS115に進む。   In step S114, the feature vertex string editing unit 41 determines whether or not the selected vertex has been moved by operating the operation unit 37. In step S114, for example, as shown in the right part of FIG. 11, when the vertex T31 is moved in the horizontal direction and the vertical direction indicated by the arrows and moved to the vertex T32, the process proceeds to step S115. move on.

ステップS115において、特徴頂点列編集部41は、移動された頂点と、その他の頂点により構成される特徴頂点列、並びに、拡張された特徴頂点列を、例えば、スプライン処理するなどして再計算する。すなわち、図11の場合、頂点T32と、それ以外の特徴頂点列を構成する頂点との位置関係がスプライン処理されるように再計算されることにより、特徴頂点列L32が求められることになる。また、特徴頂点列編集部41は、拡張された範囲となる特徴頂点列L31’,L31’’に属する頂点についても、頂点T31の移動に伴って再計算し、特徴頂点列L32’,L32’’として算出する。尚、拡張された範囲となる特徴頂点列L32’,L32’’に属する頂点の移動量については、移動された頂点T32からの距離に応じて移動量を小さくするようにしてもよい。このようにすることで、1個の頂点の移動に伴う周辺の頂点の移動量を自然なものに設定することが可能となる。   In step S115, the feature vertex sequence editing unit 41 recalculates the feature vertex sequence composed of the moved vertices and other vertices, and the expanded feature vertex sequence, for example, by performing spline processing. . In other words, in the case of FIG. 11, the feature vertex sequence L32 is obtained by recalculating the positional relationship between the vertex T32 and the vertices constituting the other feature vertex sequence so as to be splined. Further, the feature vertex sequence editing unit 41 recalculates the vertices belonging to the feature vertex sequence L31 ′, L31 ″ in the expanded range as the vertex T31 moves, and the feature vertex sequence L32 ′, L32 ′. Calculate as'. Note that the amount of movement of the vertices belonging to the feature vertex rows L32 'and L32' 'in the expanded range may be reduced according to the distance from the moved vertex T32. By doing in this way, it becomes possible to set the movement amount of the peripheral vertex accompanying the movement of one vertex to a natural one.

ステップS116において、特徴頂点列編集部41は、再計算して求められた特徴頂点列を構成する頂点のデータを、3D形状データ記憶部31に更新して記憶させる。   In step S116, the feature vertex sequence editing unit 41 updates and stores the data of vertices constituting the feature vertex sequence obtained by recalculation in the 3D shape data storage unit 31.

ステップS117において、表示部35は、このようにして更新して記憶された特徴頂点列を構成する頂点のデータに基づいて、変形された特徴頂点列L32を表示する。   In step S117, the display unit 35 displays the deformed feature vertex row L32 based on the vertex data constituting the feature vertex row updated and stored in this manner.

尚、ステップS114において、選択された頂点が移動されない場合、処理は、ステップS111に戻る。   In step S114, when the selected vertex is not moved, the process returns to step S111.

このような処理により、例えば、図11の左部における表示画像G31で示されるように、下唇の3次元形状における曲率を優先した特徴頂点列L31が求められることにより、下唇の外形形状が特定され、さらに、この特徴頂点列L31上の頂点T31を矢印で示される水平方向、および垂直方向に移動させて、例えば、図11の右部の表示画像G32で示される頂点T32とすることにより、特徴頂点列L31を特徴頂点列L32に変化させて、下唇の外形形状を変形することが可能となる。また、このとき、特徴頂点列L31の周辺の特徴頂点列L31’,L31’’についても、特徴頂点列L31の変化に対応して、変化させることが可能となるので、唇の全体の形状を自然な状態で変形させることが可能となる。   By such processing, for example, as shown in the display image G31 in the left part of FIG. 11, the feature vertex row L31 giving priority to the curvature in the three-dimensional shape of the lower lip is obtained, so that the outer shape of the lower lip is changed. Further, by moving the vertex T31 on the feature vertex row L31 in the horizontal direction and the vertical direction indicated by arrows, for example, the vertex T32 indicated by the display image G32 on the right side of FIG. It is possible to change the outer shape of the lower lip by changing the feature vertex row L31 to the feature vertex row L32. At this time, the feature vertex rows L31 ′ and L31 ″ around the feature vertex row L31 can be changed in accordance with the change of the feature vertex row L31. It can be deformed in a natural state.

以上の処理により、始点および終点を特定し、曲率コストC、および経路長コストLのそれぞれを優先するための重みw、さらに、特徴頂点列の簡略化割合dが入力されることにより、容易で、かつ、適切に特徴頂点列を選択することが可能となる。また、重みつまみ、および簡略化割合つまみを操作するだけで、特徴頂点列を変化させながら、所望とする特徴頂点列が選択されるまで、繰り返し操作をすることが可能であるため、容易で、かつ、適切に特徴頂点列を選択することが可能となる。   By the above process, the start point and the end point are specified, and the weight w for giving priority to the curvature cost C and the path length cost L, and the simplified ratio d of the feature vertex sequence are input easily. In addition, it is possible to appropriately select the feature vertex sequence. In addition, by simply operating the weight knob and the simplified ratio knob, it is possible to repeatedly perform the operation until the desired feature vertex sequence is selected while changing the feature vertex sequence. In addition, it is possible to appropriately select the feature vertex sequence.

ところで、上述した一連の処理は、ハードウェアにより実行させることもできるが、ソフトウェアにより実行させることもできる。一連の処理をソフトウェアにより実行させる場合には、そのソフトウェアを構成するプログラムが、専用のハードウェアに組み込まれているコンピュータ、または、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば汎用のパーソナルコンピュータなどに、記録媒体からインストールされる。   By the way, the series of processes described above can be executed by hardware, but can also be executed by software. When a series of processing is executed by software, a program constituting the software may execute various functions by installing a computer incorporated in dedicated hardware or various programs. For example, it is installed from a recording medium in a general-purpose personal computer or the like.

図12は、汎用のパーソナルコンピュータの構成例を示している。このパーソナルコンピュータは、CPU(Central Processing Unit)1001を内蔵している。CPU1001にはバス1004を介して、入出力インタ-フェイス1005が接続されている。バス1004には、ROM(Read Only Memory)1002およびRAM(Random Access Memory)1003が接続されている。   FIG. 12 shows a configuration example of a general-purpose personal computer. This personal computer incorporates a CPU (Central Processing Unit) 1001. An input / output interface 1005 is connected to the CPU 1001 via a bus 1004. A ROM (Read Only Memory) 1002 and a RAM (Random Access Memory) 1003 are connected to the bus 1004.

入出力インタ-フェイス1005には、ユーザが操作コマンドを入力するキーボード、マウスなどの入力デバイスよりなる入力部1006、処理操作画面や処理結果の画像を表示デバイスに出力する出力部1007、プログラムや各種データを格納するハードディスクドライブなどよりなる記憶部1008、LAN(Local Area Network)アダプタなどよりなり、インターネットに代表されるネットワークを介した通信処理を実行する通信部1009が接続されている。また、磁気ディスク(フレキシブルディスクを含む)、光ディスク(CD-ROM(Compact Disc-Read Only Memory)、DVD(Digital Versatile Disc)を含む)、光磁気ディスク(MD(Mini Disc)を含む)、もしくは半導体メモリなどのリムーバブルメディア1011に対してデータを読み書きするドライブ1010が接続されている。   The input / output interface 1005 includes an input unit 1006 including an input device such as a keyboard and a mouse for a user to input an operation command, an output unit 1007 for outputting a processing operation screen and an image of the processing result to a display device, programs, and various types. A storage unit 1008 including a hard disk drive for storing data, a LAN (Local Area Network) adapter, and the like, and a communication unit 1009 for performing communication processing via a network represented by the Internet are connected. Also, a magnetic disk (including a flexible disk), an optical disk (including a CD-ROM (Compact Disc-Read Only Memory), a DVD (Digital Versatile Disc)), a magneto-optical disk (including an MD (Mini Disc)), or a semiconductor A drive 1010 for reading / writing data from / to a removable medium 1011 such as a memory is connected.

CPU1001は、ROM1002に記憶されているプログラム、または磁気ディスク、光ディスク、光磁気ディスク、もしくは半導体メモリ等のリムーバブルメディア1011ら読み出されて記憶部1008にインストールされ、記憶部1008からRAM1003にロードされたプログラムに従って各種の処理を実行する。RAM1003にはまた、CPU1001が各種の処理を実行する上において必要なデータなども適宜記憶される。   The CPU 1001 is read from a program stored in the ROM 1002 or a removable medium 1011 such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, installed in the storage unit 1008, and loaded from the storage unit 1008 to the RAM 1003. Various processes are executed according to the program. The RAM 1003 also appropriately stores data necessary for the CPU 1001 to execute various processes.

以上のように構成されるコンピュータでは、CPU1001が、例えば、記憶部1008に記憶されているプログラムを、入出力インタフェース1005及びバス1004を介して、RAM1003にロードして実行することにより、上述した一連の処理が行われる。   In the computer configured as described above, the CPU 1001 loads the program stored in the storage unit 1008 to the RAM 1003 via the input / output interface 1005 and the bus 1004 and executes the program, for example. Is performed.

コンピュータ(CPU1001)が実行するプログラムは、例えば、パッケージメディア等としてのリムーバブルメディア1011に記録して提供することができる。また、プログラムは、ローカルエリアネットワーク、インターネット、デジタル衛星放送といった、有線または無線の伝送媒体を介して提供することができる。   The program executed by the computer (CPU 1001) can be provided by being recorded on the removable medium 1011 as a package medium, for example. The program can be provided via a wired or wireless transmission medium such as a local area network, the Internet, or digital satellite broadcasting.

コンピュータでは、プログラムは、リムーバブルメディア1011をドライブ1010に装着することにより、入出力インタフェース1005を介して、記憶部1008にインストールすることができる。また、プログラムは、有線または無線の伝送媒体を介して、通信部1009で受信し、記憶部1008にインストールすることができる。その他、プログラムは、ROM1002や記憶部1008に、あらかじめインストールしておくことができる。   In the computer, the program can be installed in the storage unit 1008 via the input / output interface 1005 by attaching the removable medium 1011 to the drive 1010. Further, the program can be received by the communication unit 1009 via a wired or wireless transmission medium and installed in the storage unit 1008. In addition, the program can be installed in advance in the ROM 1002 or the storage unit 1008.

なお、コンピュータが実行するプログラムは、本明細書で説明する順序に沿って時系列に処理が行われるプログラムであっても良いし、並列に、あるいは呼び出しが行われたとき等の必要なタイミングで処理が行われるプログラムであっても良い。   The program executed by the computer may be a program that is processed in time series in the order described in this specification, or in parallel or at a necessary timing such as when a call is made. It may be a program for processing.

また、本明細書において、システムとは、複数の構成要素(装置、モジュール(部品)等)の集合を意味し、すべての構成要素が同一筐体中にあるか否かは問わない。したがって、別個の筐体に収納され、ネットワークを介して接続されている複数の装置、及び、1つの筐体の中に複数のモジュールが収納されている1つの装置は、いずれも、システムである。   In this specification, the system means a set of a plurality of components (devices, modules (parts), etc.), and it does not matter whether all the components are in the same housing. Accordingly, a plurality of devices housed in separate housings and connected via a network and a single device housing a plurality of modules in one housing are all systems. .

なお、本技術の実施の形態は、上述した実施の形態に限定されるものではなく、本技術の要旨を逸脱しない範囲において種々の変更が可能である。   The embodiments of the present technology are not limited to the above-described embodiments, and various modifications can be made without departing from the gist of the present technology.

例えば、本技術は、1つの機能をネットワークを介して複数の装置で分担、共同して処理するクラウドコンピューティングの構成をとることができる。   For example, the present technology can take a configuration of cloud computing in which one function is shared by a plurality of devices via a network and is jointly processed.

また、上述のフローチャートで説明した各ステップは、1つの装置で実行する他、複数の装置で分担して実行することができる。   In addition, each step described in the above flowchart can be executed by being shared by a plurality of apparatuses in addition to being executed by one apparatus.

さらに、1つのステップに複数の処理が含まれる場合には、その1つのステップに含まれる複数の処理は、1つの装置で実行する他、複数の装置で分担して実行することができる。   Further, when a plurality of processes are included in one step, the plurality of processes included in the one step can be executed by being shared by a plurality of apparatuses in addition to being executed by one apparatus.

11 特徴頂点列選択装置, 31 3D形状データ記憶部, 32 曲率コスト計算部, 33 経路長コスト部, 34 特徴頂点列生成部, 34a コスト計算部, 35 表示部, 36 特徴頂点列簡略化部, 37 操作部, 38 始点終点入力部, 39 コスト重み入力部, 39a スライダーバー表示制御部, 40 簡略化割合入力部, 40a スライダーバー表示制御部, 41 特徴頂点列編集部   11 feature vertex sequence selection device, 31 3D shape data storage unit, 32 curvature cost calculation unit, 33 path length cost unit, 34 feature vertex sequence generation unit, 34a cost calculation unit, 35 display unit, 36 feature vertex sequence simplification unit, 37 Operation unit, 38 Start point / end point input unit, 39 Cost weight input unit, 39a Slider bar display control unit, 40 Simplification ratio input unit, 40a Slider bar display control unit, 41 Feature vertex sequence editing unit

Claims (6)

3次元形状を構成するための頂点、辺、および面からなる形状情報に基づいて、前記各辺の曲率に基づいた曲率コストを計算する曲率コスト計算部と、
前記3次元形状を構成するための頂点、辺、および面からなる形状情報に基づいて、前記各辺における経路長に基づいた経路長コストを計算する経路長コスト計算部と、
前記曲率コスト、および前記経路長コストに基づいて、前記3次元形状内における所定の2点間の経路におけるコストを計算する2点間コスト計算部と、
前記3次元形状における、前記所定の2点間のコストが最小となる、前記所定の2点間の経路上に存在する点からなる列を特徴頂点列として生成する特徴頂点列生成部と
を含む画像処理装置。
A curvature cost calculation unit for calculating a curvature cost based on the curvature of each side based on shape information including vertices, sides, and faces for constituting a three-dimensional shape;
A path length cost calculation unit that calculates a path length cost based on a path length in each of the sides based on shape information including vertices, sides, and faces for constituting the three-dimensional shape;
A point-to-point cost calculation unit that calculates a cost in a path between two predetermined points in the three-dimensional shape based on the curvature cost and the path length cost;
A feature vertex sequence generation unit that generates, as a feature vertex sequence, a sequence of points existing on the path between the predetermined two points, in which the cost between the predetermined two points is minimum in the three-dimensional shape. Image processing device.
前記曲率コスト、および前記経路長コストのそれぞれに付加する重みを設定する重み設定部をさらに含み、
前記2点間コスト計算部は、前記曲率コスト、および前記経路長コストに対して、前記重み設定部により設定された重みを付加して、前記3次元形状内における所定の2点間の経路におけるコストを計算する
請求項1に記載の画像処理装置。
A weight setting unit that sets a weight to be added to each of the curvature cost and the path length cost;
The point-to-point cost calculation unit adds a weight set by the weight setting unit to the curvature cost and the path length cost, and in a path between predetermined two points in the three-dimensional shape. The image processing apparatus according to claim 1, wherein a cost is calculated.
前記特徴頂点列を構成する点の数を間引いて簡略化するための割合を設定する簡略化割合設定部と、
前記特徴頂点列生成部により求められた特徴頂点列の点の数を、前記簡略化割合設定部により設定された割合で間引くことにより前記特徴頂点列を簡略化する簡略化部をさらに含む
請求項1に記載の画像処理装置。
A simplified ratio setting unit that sets a ratio for thinning out and simplifying the number of points constituting the feature vertex sequence;
The simplification unit further simplifies the feature vertex sequence by thinning out the number of points of the feature vertex sequence obtained by the feature vertex sequence generation unit at a rate set by the simplification rate setting unit. The image processing apparatus according to 1.
前記特徴点列生成部により生成された、前記3次元形状における、前記特徴頂点列を構成する点を選択することにより、前記特徴点列を編集する編集部をさらに含む
請求項1に記載の画像処理装置。
It generated by the feature vertex string generator, in the three-dimensional shape, by selecting the points constituting the feature vertices columns, according to claim 1, further comprising an editing unit for editing the feature vertex sequence Image processing apparatus.
3次元形状を構成するための頂点、辺、および面からなる形状情報に基づいて、前記各辺の曲率に基づいた曲率コストを計算する曲率コスト計算部と、
前記3次元形状を構成するための頂点、辺、および面からなる形状情報に基づいて、前記各辺における経路長に基づいた経路長コストを計算する経路長コスト計算部と、
前記曲率コスト、および前記経路長コストに基づいて、前記3次元形状内における所定の2点間の経路におけるコストを計算する2点間コスト計算部と、
前記3次元形状における、前記所定の2点間のコストが最小となる、前記所定の2点間の経路上に存在する点からなる列を特徴頂点列として生成する特徴頂点列生成部と
を含む画像処理装置の画像処理方法において、
前記曲率コスト計算部における、前記3次元形状を構成するための頂点、辺、および面からなる形状情報に基づいて、前記各辺の曲率に基づいた曲率コストを計算する曲率コスト計算ステップと、
前記経路長コスト計算部における、前記3次元形状を構成するための頂点、辺、および面からなる形状情報に基づいて、前記各辺における経路長に基づいた経路長コストを計算する経路長コスト計算ステップと、
前記2点間コスト計算部における、前記曲率コスト、および前記経路長コストに基づいて、前記3次元形状内における所定の2点間の経路におけるコストを計算する2点間コスト計算ステップと、
前記特徴頂点列生成部における、前記3次元形状における、前記所定の2点間のコストが最小となる、前記所定の2点間の経路上に存在する点からなる列を特徴頂点列として生成する特徴頂点列生成ステップと
を含む画像処理方法。
A curvature cost calculation unit for calculating a curvature cost based on the curvature of each side based on shape information including vertices, sides, and faces for constituting a three-dimensional shape;
A path length cost calculation unit that calculates a path length cost based on a path length in each of the sides based on shape information including vertices, sides, and faces for constituting the three-dimensional shape;
A point-to-point cost calculation unit that calculates a cost in a path between two predetermined points in the three-dimensional shape based on the curvature cost and the path length cost;
A feature vertex sequence generation unit that generates, as a feature vertex sequence, a sequence of points existing on a path between the predetermined two points, in which the cost between the predetermined two points is minimum in the three-dimensional shape;
In an image processing method of an image processing apparatus including:
A curvature cost calculation step of calculating a curvature cost based on the curvature of each side based on shape information consisting of vertices, sides, and faces for constituting the three-dimensional shape in the curvature cost calculation unit ;
Path length cost calculation for calculating a path length cost based on the path length in each side based on shape information including vertices, sides, and faces for constituting the three-dimensional shape in the path length cost calculation unit Steps,
A point- to-point cost calculation step of calculating a cost in a path between two predetermined points in the three-dimensional shape based on the curvature cost and the path length cost in the point-to-point cost calculation unit ;
The feature vertex sequence generation unit generates, as the feature vertex sequence, a sequence of points existing on the path between the predetermined two points, in which the cost between the predetermined two points in the three-dimensional shape is minimized. An image processing method comprising: a feature vertex sequence generation step.
3次元形状を構成するための頂点、辺、および面からなる形状情報に基づいて、前記各辺の曲率に基づいた曲率コストを計算する曲率コスト計算ステップと、
前記3次元形状を構成するための頂点、辺、および面からなる形状情報に基づいて、前記各辺における経路長に基づいた経路長コストを計算する経路長コスト計算ステップと、
前記曲率コスト、および前記経路長コストに基づいて、前記3次元形状内における所定の2点間の経路におけるコストを計算する2点間コスト計算ステップと、
前記3次元形状における、前記所定の2点間のコストが最小となる、前記所定の2点間の経路上に存在する点からなる列を特徴頂点列として生成する特徴頂点列生成ステップと
を含む処理をコンピュータに実行させるためのプログラム。
A curvature cost calculating step for calculating a curvature cost based on the curvature of each side based on shape information consisting of vertices, sides, and faces for constituting a three-dimensional shape;
A path length cost calculating step for calculating a path length cost based on a path length in each of the sides based on shape information including vertices, sides, and faces for constituting the three-dimensional shape;
A point-to-point cost calculation step of calculating a cost in a path between two predetermined points in the three-dimensional shape based on the curvature cost and the path length cost;
A feature vertex sequence generation step of generating, as a feature vertex sequence, a sequence of points existing on a path between the predetermined two points, in which the cost between the predetermined two points in the three-dimensional shape is minimized. A program that causes a computer to execute processing.
JP2012287461A 2012-12-28 2012-12-28 Image processing apparatus and method, and program Active JP5531087B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012287461A JP5531087B1 (en) 2012-12-28 2012-12-28 Image processing apparatus and method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012287461A JP5531087B1 (en) 2012-12-28 2012-12-28 Image processing apparatus and method, and program

Publications (2)

Publication Number Publication Date
JP5531087B1 true JP5531087B1 (en) 2014-06-25
JP2014130462A JP2014130462A (en) 2014-07-10

Family

ID=51175844

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012287461A Active JP5531087B1 (en) 2012-12-28 2012-12-28 Image processing apparatus and method, and program

Country Status (1)

Country Link
JP (1) JP5531087B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115357032A (en) * 2022-10-20 2022-11-18 上海仙工智能科技有限公司 NURBS-based mobile robot path generation method, system and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0581380A (en) * 1991-09-24 1993-04-02 N T T Data Tsushin Kk Object shape approximate expression system
JP2001188924A (en) * 1999-12-28 2001-07-10 Minolta Co Ltd Method for correcting three-dimensional shape data

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0581380A (en) * 1991-09-24 1993-04-02 N T T Data Tsushin Kk Object shape approximate expression system
JP2001188924A (en) * 1999-12-28 2001-07-10 Minolta Co Ltd Method for correcting three-dimensional shape data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115357032A (en) * 2022-10-20 2022-11-18 上海仙工智能科技有限公司 NURBS-based mobile robot path generation method, system and storage medium
CN115357032B (en) * 2022-10-20 2023-01-31 上海仙工智能科技有限公司 NURBS-based mobile robot path generation method, system and storage medium

Also Published As

Publication number Publication date
JP2014130462A (en) 2014-07-10

Similar Documents

Publication Publication Date Title
US10937211B2 (en) Automated parametrization of floor-plan sketches for multi-objective building optimization tasks
KR101046667B1 (en) Record medium recording multipurpose optimized design support devices, methods and programs for manufacturing variation
EP3038060B1 (en) 3D modeled object defined by a grid of control points
JP2019531537A (en) System and method for printing 3D models
JP5531087B1 (en) Image processing apparatus and method, and program
JP5673489B2 (en) Point cloud data processing apparatus, processing method, processing program, and recording medium
EP1927923A2 (en) Document edit support device, document edit device, program and computer-readable storage medium
JP2006318232A (en) Analytical mesh correction device
US20150193976A1 (en) Systems and methods of updating graphical objects
TW201537144A (en) Image display system
JP5034806B2 (en) Graphic drawing apparatus, graphic drawing method, graphic drawing program, and recording medium storing the program
CN104076732B (en) The bending control method of bender for bus-bar, device and bender for bus-bar
JP4272226B2 (en) Image fluid system interaction expression apparatus, method, and program thereof
JP2007213243A (en) Numerical analysis mesh generation device, numerical analysis mesh generation method and numerical analysis mesh generation program
JP2021068108A (en) Three-dimensional virtual image data processing system
JP4986835B2 (en) Collective display image output device, collective display image output method, computer program, and recording medium
Psarras et al. SandBOX-an intuitive conceptual design system
KR102561020B1 (en) Emulation of hand-drawn lines in CG animation
JP5874538B2 (en) Movie generation apparatus, movie generation method, and program
US20140303946A1 (en) Analysis device and simulation method
JP2022098203A (en) Image style conversion apparatus and image style conversion program
JP7094706B2 (en) Drafting support system, drawing support method, and drawing support program
US20070018987A1 (en) Plane shape creation system, plane shape creation method and program recording medium
TWI498851B (en) Water painting simulation method and computer program product
Yenew et al. From Algorithms to Architecture: Computational Methods for House Floorplan Generation

Legal Events

Date Code Title Description
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: 20140403

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140421

R150 Certificate of patent or registration of utility model

Ref document number: 5531087

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250