JP5531087B1 - Image processing apparatus and method, and program - Google Patents
Image processing apparatus and method, and program Download PDFInfo
- 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
Links
- 238000012545 processing Methods 0.000 title claims description 44
- 238000000034 method Methods 0.000 title description 70
- 238000004364 calculation method Methods 0.000 claims abstract description 67
- 238000003672 processing method Methods 0.000 claims description 4
- 238000013500 data storage Methods 0.000 abstract description 24
- 238000005516 engineering process Methods 0.000 abstract description 13
- 230000008569 process Effects 0.000 description 60
- 102100023777 60S ribosomal protein L31 Human genes 0.000 description 18
- 102100040768 60S ribosomal protein L32 Human genes 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000010422 painting Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
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次元形状の編集ソフトウェアプログラムに適用することができる。
【選択図】図1A 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.
しかしながら、上述した形状の作成やアニメーションの作成といった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.
<特徴頂点選択装置の構成例>
図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
より具体的には、特徴頂点列選択装置11は、3D(3次元)形状データ記憶部31、曲率コスト計算部32、経路長コスト計算部33、特徴頂点列生成部34、表示部35、特徴頂点列簡略化部36、操作部37、始点終点入力部38、コスト重み入力部39、および簡略化割合入力部40を備えている。
More specifically, the feature vertex
3D形状データ記憶部31は、3次元形状を構成する点、辺、および面を配置するために必要とされるデータが記憶されている。すなわち、例えば、点であれば3次元空間内におけるオブジェクトを構成するための座標位置のデータであり、辺であれば、3次元空間内におけるオブジェクトを構成するための線分を定義する直線を表現する点と点の接続情報のデータであり、面であれば、3次元空間内におけるオブジェクトを構成するための面を定義する辺、点の接続情報のデータなどである。
The 3D shape
曲率コスト計算部32は、3D形状データ記憶部31に記憶された3次元形状を構成する点、辺、および面を配置するために必要とされるデータに基づいて、LCD(Liquid Crystal Display)などのディスプレイなどからなる表示部35に表示される(表現される)3次元空間内に表示される各点を接続する辺における曲率コストを計算し、計算結果を特徴頂点列生成部34に供給する。曲率コストとは、例えば、曲率そのものの値であってもよいし、曲率に基づいて所定の関数等により計算される値でもよい。
The curvature
経路長コスト計算部33は、3D形状データ記憶部31に記憶された3次元形状を構成する点、辺、および面を配置するために必要とされるデータに基づいて、LCDなどのディスプレイなどからなる表示部35に表示される(表現される)3次元空間内に表示される各点を接続する辺における経路長コストを計算し、計算結果を特徴頂点列生成部34に供給する。経路長コストとは、例えば、経路長そのものの値であってもよいし、経路長に基づいて所定の関数等により計算される値でもよい。
The path length
操作部37は、マウスやキーボード、または操作ボタンなど、使用者からの入力を受け付けるとともに、受け付けた操作内容に対応する操作信号を、始点終点入力部38、コスト重み入力部39、または簡略化割合入力部40に供給する。
The
始点終点入力部38は、操作部37からの操作信号に基づいて、特徴頂点列を求めるべき始点の座標位置、および終点の座標位置の情報の入力を受け付け、受け付けた始点、および終点の座標情報を特徴頂点列生成部34に供給する。
Based on the operation signal from the
コスト重み入力部39は、操作部37からの操作信号に基づいて、曲率コスト、および経路長コストのそれぞれに割り付けられる重みの情報の入力を受け付けて、入力を受け付けた重みの情報を特徴頂点列生成部34に供給する。より詳細には、コスト重み入力部39は、スライダーバー表示制御部39aを備えており、操作部37が操作されて、ポインタが横方向(左右方向)に所定の距離だけドラッグされると、スライダーバー表示制御部39aは、ポインタを利用した重みを入力するためのスライダーバーを表示部35に表示する。さらに、コスト重み入力部39は、スライダーバー表示制御部39aにより表示部35に表示されたスライダーバーがポインタにより操作されると操作内容に応じた重みの情報の入力を受け付ける。
The cost
簡略化割合入力部40は、操作部37からの操作信号に基づいて、簡略化の割合を設定する簡略化割合の入力情報を受け付けて、受け付けた簡略化割合の情報を特徴頂点列生成部34に供給する。より詳細には、簡略化割合入力部40は、スライダーバー表示制御部40aを備えており、操作部37が操作されて、ポインタが縦方向(上下方向)に所定の距離だけドラッグされると、スライダーバー表示制御部40aは、ポインタを利用した簡略化割合を入力するためのスライダーバーを表示部35に表示する。さらに、簡略化割合入力部40は、スライダーバー表示制御部40aにより表示部35に表示されたスライダーバーがポインタにより操作されると操作内容に応じた簡略化割合の情報の入力を受け付ける。
The simplification
特徴頂点列生成部34は、コスト計算部34aを備えており、始点終点入力部38より供給される始点、および終点間の曲率コスト計算部32より供給される曲率コストと、経路長コスト計算部33により供給される経路長コストとに、コスト重みとして指定された重みを付して、コスト計算部34aのコスト計算方法を更新して、計算されるコストの和が最小となる経路を計算し、計算された経路上に存在する点により構成される列からなる特徴頂点列を計算し、特徴頂点列簡略化部36に供給する。
The feature vertex
特徴頂点列簡略化部36は、特徴頂点列の情報に含まれる特徴頂点列より、簡略化割合の情報に基づいて、特徴頂点を等間隔に間引いて、間引いた結果となる特徴頂点列の情報を表示部35に供給して、表示部35に表示させる。
The feature vertex
特徴頂点列編集部41は、操作部37の操作内容に応じて、特徴頂点列生成部34により生成された特徴頂点列を構成する頂点のいずれかが選択されて、移動されると、選択された頂点の移動に伴って、選択された頂点が属する特徴頂点列の編集を受け付けて、編集結果を3D形状データ記憶部31に記憶させる。この結果、3D形状データ記憶部31に記憶された3D形状データが編集されることになる。
The feature vertex
<特徴頂点列選択処理>
次に、図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
ステップS11において、曲率コスト計算部32は、3D形状データ記憶部31に記憶された3次元形状を構成する点、辺、および面を配置するために必要とされるデータに基づいて、曲率コスト計算処理を実行し、扱うべき3次元空間内における各辺の曲率コストを計算する。尚、曲率コスト計算処理については、図4のフローチャートを参照して、詳細を後述する。
In step S <b> 11, the curvature
ステップS12において、経路長コスト計算部33は、3D形状データ記憶部31に記憶された3次元形状を構成する点、辺、および面を配置するために必要とされるデータに基づいて、経路長コスト計算処理を実行し、扱うべき3次元形状における各辺の経路長コストを計算する。尚、経路長コスト計算処理については、図5のフローチャートを参照して、詳細を後述する。
In step S <b> 12, the path length
ステップS13において、特徴頂点列生成部34は、操作部37が操作されて始点終点入力部38に始点および終点の情報が入力されたか否かを判定する。ステップS13において、例えば、図3で示されるように、操作部37が操作されて始点終点入力部38より始点および終点の座標が、例えば、図3の始点P(s1)、および終点P(e1)で示されるように入力された場合、処理は、ステップS14に進む。
In step S <b> 13, the feature vertex
ステップS14において、特徴頂点列生成部34は、入力された曲率コスト、および経路長コスト、並びに、始点終点の座標情報に基づいて、特徴点列生成処理を実行し、特徴点列を生成し、生成した特徴頂点列を特徴頂点列簡略化部36に供給する。尚、特徴頂点列生成処理については、図6のフローチャートを参照して、詳細を後述するものとする。
In step S14, the feature vertex
ステップS15において、特徴頂点列簡略化部36は、特徴頂点列生成部34より供給されてくる特徴頂点列の情報と、簡略化割合入力部40より供給されてくる簡略化割合の情報とに基づいて、特徴頂点列簡略化処理を実行し、特徴頂点列を簡略化し、表示部35に供給して表示させる。尚、特徴頂点列簡略化処理については、図8のフローチャートを参照して後述するものとする。
In step S15, the feature vertex
ステップS16において、操作部37が操作されて、処理の完了が指示されたか否かが判定され、完了が指示されていない場合、処理は、ステップS13に戻る。すなわち、処理の完了が指示されるまで、ステップS13乃至S16の処理が繰り返される。そして、ステップS16において、完了が指示されると処理が終了する。
In step S16, it is determined whether the
以上の処理により、始点および終点の座標の情報に加えて、後述する重み、並びに簡略化割合の情報が入力されると、対応する特徴頂点列が選択されて、表示部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
<曲率コスト計算処理>
次に、図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
ステップS32において、曲率コスト計算部32は、処理対象辺eについて、曲率コストH(e)を計算する。具体的には、曲率コスト計算部32は、処理対象辺eの曲率そのものを曲率コストH(e)とするようにしてもよいし、処理対象辺eの曲率を所定の関数に入力して計算される値を曲率コストH(e)としてもよい。
In step S32, the curvature
ステップS33において、曲率コスト計算部32は、計算した曲率コストH(e)を3D形状データ記憶部31に記憶させる。
In step S <b> 33, the curvature
ステップS34において、曲率コスト計算部32は、3D形状データ記憶部31に記憶されている3次元形状を構成する辺の情報のうち、未処理の辺が存在するか否かを判定する。ステップS34において、未処理の辺が存在する場合、処理は、ステップS31に戻り、それ以降の処理が繰り返される。すなわち、全ての辺が処理対象辺eに設定されて、全ての辺について曲率コストH(e)が計算されるまで、ステップS31乃至S34の処理が繰り返される。そして、ステップS34において、未処理の辺が存在しないとみなされた場合、処理は、終了する。
In step S <b> 34, the curvature
すなわち、以上の処理により、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
<経路長コスト計算処理>
次に、図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
ステップS52において、経路長コスト計算部33は、処理対象辺eについて、経路長コストL(e)を計算する。具体的には、経路長コスト計算部33は、処理対象辺eの経路長そのものを経路長コストL(e)とするようにしてもよいし、処理対象辺eの経路長を所定の関数に入力して計算される値を経路長コストL(e)としてもよい。
In step S52, the path length
ステップS53において、経路長コスト計算部33は、計算した経路長コストL(e)を3D形状データ記憶部31に記憶させる。
In step S <b> 53, the route length
ステップS54において、経路長コスト計算部33は、3D形状データ記憶部31に記憶されている3次元形状を構成する辺の情報のうち、未処理の辺が存在するか否かを判定する。ステップS54において、未処理の辺が存在する場合、処理は、ステップS51に戻り、それ以降の処理が繰り返される。すなわち、全ての辺が処理対象辺eに設定されて、全ての辺について経路長コストL(e)が計算されるまで、ステップS51乃至S54の処理が繰り返される。そして、ステップS54において、未処理の辺が存在しないとみなされた場合、処理は、終了する。
In step S <b> 54, the path length
すなわち、以上の処理により、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
<特徴頂点列生成処理>
次に、図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
ステップS72において、スライダーバー表示制御部39aは、例えば、図3で示されるようなスライダーバーSL1を表示部35に表示させ、コストの重みwの入力を受け付けられる状態にする。このような処理により、スライダーバーSL1を操作に必要なときだけ、容易な操作により表示させることが可能となり、不必要な状態においては表示させないようにすることが可能となる。
In step S72, the slider bar
ステップS73において、特徴頂点列生成部34は、操作部37でスライダーバーSL1上の重みつまみTが操作されることにより、コストの重みw(0<w<1)が入力されて、特徴頂点列の生成処理が指示されているか否かを判定する。すなわち、図3で示される重みつまみTが、操作部37が操作されることによりスライダーバーSL1上の新たな位置に設定されると、重みwが設定されたものとみなし、処理は、ステップS74に進む。
In step S <b> 73, the feature vertex
ステップS74において、特徴頂点列生成部34は、コスト計算部34aを制御して、重みwに基づいて、始点から終点までの経路上に存在する辺の組み合わせ毎に、曲率コストH(e)の総和H、および経路長コストL(e)の総和Lを用いた、コストC(=(1−w)×L+w×H)の計算方法を設定させる。
In step S74, the feature vertex
ステップS75において、特徴頂点列生成部34は、コスト計算部34aを制御して、始点から終点までの経路上に存在する辺の全ての組み合わせ毎のコストC(=(1−w)×L+w×H)を全て計算させる。さらに、特徴頂点列生成部34は、計算結果とされるコストCのうち、コストCが最小値をとる辺の組み合わせからなる経路を最短経路として計算する。すなわち、特徴頂点列生成部34は、コストCに基づいて、始点および終点間の最短経路問題を解くことにより最短経路を計算する。
In step S75, the feature vertex
ステップS76において、特徴頂点列生成部34は、最短経路上に存在する点からなる頂点の列を特徴頂点列として生成し、特徴頂点列簡略化部36に供給する。
In step S <b> 76, the feature vertex
尚、ステップ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
以上の処理により、例えば、図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
ステップS92において、スライダーバー表示制御部40aは、例えば、図9の表示画像G21で示されるようなスライダーバーSL2、および簡略化割合つまみT11を表示部35に表示させ、簡略化割合dの入力を受け付けられる状態にする。図9においては、スライダーバーSL2の上端にDenseと表示され、特徴頂点の密度が高くなる方向に制御するとき、簡略化割合つまみT11が操作され、下端に、Sparseと表示され、特徴頂点の密度が低くなる方向に制御するとき、簡略化割合つまみT11が操作される。このような処理により、スライダーバーSL2を操作に必要なときだけ、容易な操作により表示させることが可能となり、不必要な状態においては表示させないようにすることが可能となる。
In step S92, the slider bar
ステップS93において、特徴頂点列簡略化部36は、操作部37でスライダーバーSL2上の簡略化割合つまみが操作されて、簡略化割合入力部40より簡略化割合が入力されたか否かを判定する。すなわち、例えば、図9で示される簡略化割合つまみT11が、操作部37が操作されることによりスライダーバーSL2上の新たな位置に設定されると、簡略化割合dが設定されたものとみなす。図9においては、簡略化割合つまみT11は、表示画像G21においては、上方向に操作されている。
In step S <b> 93, the feature vertex
ステップ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
ステップS95において、特徴頂点列簡略化部36は、簡略化割合dに基づいて、調整された特徴頂点を接続して新たな特徴頂点列を生成する。
In step S95, the feature vertex
ステップS96において、操作部37が操作されて処理が完了したことが指示されたか否かが判定され、完了が指示されていない場合、処理は、ステップS91に戻る。すなわち、完了が指示されるまで、ステップS91乃至S96の処理が繰り返される。そして、ステップS96において、完了が指示されると、処理が終了する。尚、スライダーバーSL2は、操作がなされた後は、所定時間が経過したところで表示しない状態とするようにしてもよい。このようにすることで、スライダーバーSL2を必要なタイミングにだけ表示させることが可能となる。
In step S96, it is determined whether or not the
すなわち、図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
ステップS112において、特徴頂点列編集部41は、選択された頂点T31が属する特徴頂点列を構成する頂点のデータを3D形状データ記憶部31より読み出す。すなわち、図11の場合、選択された頂点である頂点T31の属する特徴頂点列L31に属する全ての頂点のデータが読み出される。
In step S112, the feature vertex
ステップS113において、特徴頂点列編集部41は、選択された頂点T31が属する特徴頂点列を構成する頂点のデータに基づいて、拡張された範囲の頂点のデータを3D形状データ記憶部31より読み出す。すなわち、図11の場合、選択された頂点である頂点T31の属する特徴頂点列L31の近傍に存在する特徴頂点列L31’,L31’’に属する全ての頂点のデータが拡張された範囲の頂点のデータとして読み出される。尚、拡張される範囲については、図11においては、特徴頂点列L31に対して図中の上下に特徴頂点列が1本ずつ拡張される例として特徴頂点列L31’,L31’’が設定される例について説明しているが、拡張される範囲はこれ以上の本数の特徴頂点列を含む範囲であってもよい。
In step S <b> 113, the feature vertex
ステップS114において、特徴頂点列編集部41は、操作部37が操作されて、選択された頂点が移動したか否かを判定する。ステップS114において、例えば、図11の右部で示されるように、頂点T31が矢印で示される水平方向、および垂直方向に移動されて、頂点T32へと移動されると、処理は、ステップS115に進む。
In step S114, the feature vertex
ステップS115において、特徴頂点列編集部41は、移動された頂点と、その他の頂点により構成される特徴頂点列、並びに、拡張された特徴頂点列を、例えば、スプライン処理するなどして再計算する。すなわち、図11の場合、頂点T32と、それ以外の特徴頂点列を構成する頂点との位置関係がスプライン処理されるように再計算されることにより、特徴頂点列L32が求められることになる。また、特徴頂点列編集部41は、拡張された範囲となる特徴頂点列L31’,L31’’に属する頂点についても、頂点T31の移動に伴って再計算し、特徴頂点列L32’,L32’’として算出する。尚、拡張された範囲となる特徴頂点列L32’,L32’’に属する頂点の移動量については、移動された頂点T32からの距離に応じて移動量を小さくするようにしてもよい。このようにすることで、1個の頂点の移動に伴う周辺の頂点の移動量を自然なものに設定することが可能となる。
In step S115, the feature vertex
ステップS116において、特徴頂点列編集部41は、再計算して求められた特徴頂点列を構成する頂点のデータを、3D形状データ記憶部31に更新して記憶させる。
In step S116, the feature vertex
ステップS117において、表示部35は、このようにして更新して記憶された特徴頂点列を構成する頂点のデータに基づいて、変形された特徴頂点列L32を表示する。
In step S117, the
尚、ステップ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 /
入出力インタ-フェイス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 /
CPU1001は、ROM1002に記憶されているプログラム、または磁気ディスク、光ディスク、光磁気ディスク、もしくは半導体メモリ等のリムーバブルメディア1011ら読み出されて記憶部1008にインストールされ、記憶部1008からRAM1003にロードされたプログラムに従って各種の処理を実行する。RAM1003にはまた、CPU1001が各種の処理を実行する上において必要なデータなども適宜記憶される。
The
以上のように構成されるコンピュータでは、CPU1001が、例えば、記憶部1008に記憶されているプログラムを、入出力インタフェース1005及びバス1004を介して、RAM1003にロードして実行することにより、上述した一連の処理が行われる。
In the computer configured as described above, the
コンピュータ(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
なお、コンピュータが実行するプログラムは、本明細書で説明する順序に沿って時系列に処理が行われるプログラムであっても良いし、並列に、あるいは呼び出しが行われたとき等の必要なタイミングで処理が行われるプログラムであっても良い。 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次元形状内における所定の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.
請求項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次元形状内における所定の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次元形状内における所定の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.
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)
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)
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 |
-
2012
- 2012-12-28 JP JP2012287461A patent/JP5531087B1/en active Active
Patent Citations (2)
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)
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 |