JP2013045296A5 - - Google Patents

Download PDF

Info

Publication number
JP2013045296A5
JP2013045296A5 JP2011182852A JP2011182852A JP2013045296A5 JP 2013045296 A5 JP2013045296 A5 JP 2013045296A5 JP 2011182852 A JP2011182852 A JP 2011182852A JP 2011182852 A JP2011182852 A JP 2011182852A JP 2013045296 A5 JP2013045296 A5 JP 2013045296A5
Authority
JP
Japan
Prior art keywords
mesh
triangle
triangles
constituting
original
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.)
Granted
Application number
JP2011182852A
Other languages
Japanese (ja)
Other versions
JP2013045296A (en
JP5811690B2 (en
Filing date
Publication date
Application filed filed Critical
Priority to JP2011182852A priority Critical patent/JP5811690B2/en
Priority claimed from JP2011182852A external-priority patent/JP5811690B2/en
Publication of JP2013045296A publication Critical patent/JP2013045296A/en
Publication of JP2013045296A5 publication Critical patent/JP2013045296A5/ja
Application granted granted Critical
Publication of JP5811690B2 publication Critical patent/JP5811690B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

上記目的を達成するため、本発明の一態様の画像処理装置は、
画像に設定した変形制御点の移動に対応して、前記画像を変形させる画像処理装置であって、
前記画像に三角形で構成されるオリジナルメッシュを設定するオリジナルメッシュ生成手段と、
前記変形制御点の移動に対応して、前記オリジナルメッシュを構成する三角形の回転、拡大及び縮小を許容して変形処理を行い、当該変形処理後の三角形と当該三角形に対応する変形処理前の三角形との誤差を最小として中間メッシュを生成する中間メッシュ生成手段と、
前記オリジナルメッシュを構成する三角形と、前記中間メッシュにおいて当該三角形に対応する三角形との大きさの比が設定された閾値以下であるか否かを判定するスケール判定手段と、
前記スケール判定手段による判定の結果に応じて、適合メッシュの生成を制御する適合メッシュ生成手段と、
前記適合メッシュを構成する隣接する三角形の辺を表すベクトルが一致するように変形処理を行い、当該変形処理後の三角形の辺を表すベクトルと当該変形処理前の三角形の辺を表すベクトルとの誤差を最小として最終メッシュを生成する最終メッシュ生成手段と、
を備えたことを特徴とする。
In order to achieve the above object, an image processing apparatus according to an aspect of the present invention includes:
An image processing apparatus that deforms the image in response to movement of a deformation control point set in the image,
Original mesh generating means for setting an original mesh composed of triangles in the image;
Corresponding to the movement of the deformation control point, deformation processing is performed by allowing rotation, enlargement and reduction of the triangles constituting the original mesh, and the triangle after the deformation processing and the triangle before the deformation processing corresponding to the triangle Intermediate mesh generation means for generating an intermediate mesh with a minimum error from
Scale determining means for determining whether a ratio of the sizes of the triangles constituting the original mesh and the triangles corresponding to the triangles in the intermediate mesh is equal to or less than a set threshold;
Adaptive mesh generation means for controlling generation of the adaptive mesh according to the result of the determination by the scale determination means;
The deformation processing is performed so that the vectors representing the sides of the adjacent triangles constituting the conforming mesh match, and the error between the vector representing the side of the triangle after the deformation processing and the vector representing the side of the triangle before the deformation processing A final mesh generating means for generating a final mesh with a minimum of
The features and kite provided.

Claims (6)

画像に設定した変形制御点の移動に対応して、前記画像を変形させる画像処理装置であって、
前記画像に三角形で構成されるオリジナルメッシュを設定するオリジナルメッシュ生成手段と、
前記変形制御点の移動に対応して、前記オリジナルメッシュを構成する三角形の回転、拡大及び縮小を許容して変形処理を行い、当該変形処理後の三角形と当該三角形に対応する変形処理前の三角形との誤差を最小として中間メッシュを生成する中間メッシュ生成手段と、
前記オリジナルメッシュを構成する三角形と、前記中間メッシュにおいて当該三角形に対応する三角形との大きさの比が設定された閾値以下であるか否かを判定するスケール判定手段と、
前記スケール判定手段による判定の結果に応じて、適合メッシュの生成を制御する適合メッシュ生成手段と、
前記適合メッシュを構成する隣接する三角形の辺を表すベクトルが一致するように変形処理を行い、当該変形処理後の三角形の辺を表すベクトルと当該変形処理前の三角形の辺を表すベクトルとの誤差を最小として最終メッシュを生成する最終メッシュ生成手段と、
を備えたことを特徴とする画像処理装置。
An image processing apparatus that deforms the image in response to movement of a deformation control point set in the image,
Original mesh generating means for setting an original mesh composed of triangles in the image;
Corresponding to the movement of the deformation control point, deformation processing is performed by allowing rotation, enlargement and reduction of the triangles constituting the original mesh, and the triangle after the deformation processing and the triangle before the deformation processing corresponding to the triangle Intermediate mesh generation means for generating an intermediate mesh with a minimum error from
Scale determining means for determining whether a ratio of the sizes of the triangles constituting the original mesh and the triangles corresponding to the triangles in the intermediate mesh is equal to or less than a set threshold;
Adaptive mesh generation means for controlling generation of the adaptive mesh according to the result of the determination by the scale determination means;
The deformation processing is performed so that the vectors representing the sides of the adjacent triangles constituting the conforming mesh match, and the error between the vector representing the side of the triangle after the deformation processing and the vector representing the side of the triangle before the deformation processing A final mesh generating means for generating a final mesh with a minimum of
The image processing apparatus according to claim and kite comprising a.
前記適合メッシュ生成手段は、The adaptive mesh generation means includes
前記スケール判定手段によって前記閾値より大きいと判定された場合は、前記中間メッシュの三角形について、前記変形制御点の移動に対応して、前記オリジナルメッシュを構成する三角形の回転及び平行移動を許容して、前記中間メッシュにおいて対応する三角形との誤差を最小とし、さらに前記大きさの比に応じて大きさを変化させた三角形を、適合メッシュを構成する三角形として取得し、If it is determined by the scale determination means that it is larger than the threshold, the triangles constituting the original mesh are allowed to rotate and translate in correspondence to the movement of the deformation control point for the triangles of the intermediate mesh. , Obtaining a triangle having a minimum error from the corresponding triangle in the intermediate mesh and further changing the size according to the size ratio as a triangle constituting the matching mesh,
前記スケール判定手段によって前記閾値以下であると判定された場合は、前記中間メッシュの三角形については、当該中間メッシュの三角形に関連して既に算出されている三角形を適合メッシュを構成する三角形として取得し、取得した三角形によって適合メッシュを生成することを特徴とする請求項1記載の画像処理装置。If it is determined by the scale determination means that the threshold value is equal to or smaller than the threshold, the triangle already calculated in relation to the triangle of the intermediate mesh is acquired as the triangle constituting the matching mesh. The image processing apparatus according to claim 1, wherein a matching mesh is generated by the acquired triangle.
前記適合メッシュ生成手段は、前記オリジナルメッシュを構成する三角形と前記中間メッシュにおいて当該三角形に対応する三角形との大きさの比が前記閾値以下であると判定された前記中間メッシュの三角形について、当該中間メッシュの三角形を、適合メッシュを構成する三角形として取得することを特徴とする請求項記載の画像処理装置。 The adaptive mesh generation unit is configured to determine the intermediate mesh for the triangle of the intermediate mesh that has been determined that the ratio of the size of the triangle constituting the original mesh and the triangle corresponding to the triangle in the intermediate mesh is equal to or less than the threshold. The image processing apparatus according to claim 2 , wherein a triangle of the mesh is acquired as a triangle constituting the matching mesh. 前記適合メッシュ生成手段は、前記オリジナルメッシュを構成する三角形と前記中間メッシュにおいて当該三角形に対応する三角形との大きさの比が前記閾値以下であると判定された前記中間メッシュの三角形について、当該中間メッシュの三角形に対応する前記オリジナルメッシュの三角形を、適合メッシュを構成する三角形として取得することを特徴とする請求項記載の画像処理装置。 The adaptive mesh generation unit is configured to determine the intermediate mesh for the triangle of the intermediate mesh that has been determined that the ratio of the size of the triangle constituting the original mesh and the triangle corresponding to the triangle in the intermediate mesh is equal to or less than the threshold. The image processing apparatus according to claim 2 , wherein the triangle of the original mesh corresponding to the triangle of the mesh is acquired as a triangle constituting the matching mesh. 画像に設定した変形制御点の移動に対応して、前記画像を変形させる画像処理方法であって、
前記画像に三角形で構成されるオリジナルメッシュを設定するオリジナルメッシュ生成ステップと、
前記変形制御点の移動に対応して、前記オリジナルメッシュを構成する三角形の回転、拡大及び縮小を許容して変形処理を行い、当該変形処理後の三角形と当該三角形に対応する変形処理前の三角形との誤差を最小として中間メッシュを生成する中間メッシュ生成ステップと、
前記オリジナルメッシュを構成する三角形と、前記中間メッシュにおいて当該三角形に対応する三角形との大きさの比が設定された閾値以下であるか否かを判定するスケール判定ステップと、
前記スケール判定ステップにおける判定の結果に応じて、適合メッシュの生成を制御する適合メッシュ生成ステップと、
前記適合メッシュを構成する隣接する三角形の辺を表すベクトルが一致するように変形処理を行い、当該変形処理後の三角形の辺を表すベクトルと当該変形処理前の三角形の辺を表すベクトルとの誤差を最小として最終メッシュを生成する最終メッシュ生成ステップと、
を含んだことを特徴とする画像処理方法。
An image processing method for deforming the image in response to movement of a deformation control point set in the image,
An original mesh generating step for setting an original mesh composed of triangles in the image;
Corresponding to the movement of the deformation control point, deformation processing is performed by allowing rotation, enlargement and reduction of the triangles constituting the original mesh, and the triangle after the deformation processing and the triangle before the deformation processing corresponding to the triangle An intermediate mesh generation step for generating an intermediate mesh with a minimum error with
A scale determination step for determining whether a ratio of the sizes of the triangles constituting the original mesh and the triangles corresponding to the triangles in the intermediate mesh is equal to or less than a set threshold;
An adaptive mesh generation step for controlling the generation of an adaptive mesh according to the determination result in the scale determination step;
The deformation processing is performed so that the vectors representing the sides of the adjacent triangles constituting the conforming mesh match, and the error between the vector representing the side of the triangle after the deformation processing and the vector representing the side of the triangle before the deformation processing A final mesh generation step for generating a final mesh with a minimum of
Image processing method comprising the Dako N including the.
画像に設定した変形制御点の移動に対応して、前記画像を変形させるためのプログラムであって、
コンピュータに、
前記画像に三角形で構成されるオリジナルメッシュを設定するオリジナルメッシュ生成機能と、
前記変形制御点の移動に対応して、前記オリジナルメッシュを構成する三角形の回転、拡大及び縮小を許容して変形処理を行い、当該変形処理後の三角形と当該三角形に対応する変形処理前の三角形との誤差を最小として中間メッシュを生成する中間メッシュ生成機能と、
前記オリジナルメッシュを構成する三角形と、前記中間メッシュにおいて当該三角形に対応する三角形との大きさの比が設定された閾値以下であるか否かを判定するスケール判定機能と、
前記スケール判定機能による判定の結果に応じて、適合メッシュの生成を制御する適合メッシュ生成機能と、
前記適合メッシュを構成する隣接する三角形の辺を表すベクトルが一致するように変形処理を行い、当該変形処理後の三角形の辺を表すベクトルと当該変形処理前の三角形の辺を表すベクトルとの誤差を最小として最終メッシュを生成する最終メッシュ生成機能と、
を実現させることを特徴とするプログラム。
A program for deforming the image corresponding to the movement of the deformation control point set in the image,
On the computer,
An original mesh generation function for setting an original mesh composed of triangles in the image;
Corresponding to the movement of the deformation control point, deformation processing is performed by allowing rotation, enlargement and reduction of the triangles constituting the original mesh, and the triangle after the deformation processing and the triangle before the deformation processing corresponding to the triangle An intermediate mesh generation function that generates an intermediate mesh with a minimum error with
A scale determination function for determining whether a ratio of the sizes of the triangles constituting the original mesh and the triangles corresponding to the triangles in the intermediate mesh is equal to or less than a set threshold;
An adaptive mesh generation function for controlling generation of an adaptive mesh according to a result of determination by the scale determination function;
The deformation processing is performed so that the vectors representing the sides of the adjacent triangles constituting the conforming mesh match, and the error between the vector representing the side of the triangle after the deformation processing and the vector representing the side of the triangle before the deformation processing A final mesh generation function that generates a final mesh with a minimum of
Program characterized and Turkey is realized.
JP2011182852A 2011-08-24 2011-08-24 Image processing apparatus, image processing method, and program Active JP5811690B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011182852A JP5811690B2 (en) 2011-08-24 2011-08-24 Image processing apparatus, image processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011182852A JP5811690B2 (en) 2011-08-24 2011-08-24 Image processing apparatus, image processing method, and program

Publications (3)

Publication Number Publication Date
JP2013045296A JP2013045296A (en) 2013-03-04
JP2013045296A5 true JP2013045296A5 (en) 2014-09-25
JP5811690B2 JP5811690B2 (en) 2015-11-11

Family

ID=48009154

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011182852A Active JP5811690B2 (en) 2011-08-24 2011-08-24 Image processing apparatus, image processing method, and program

Country Status (1)

Country Link
JP (1) JP5811690B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109359618B (en) * 2018-10-30 2022-02-22 北京市商汤科技开发有限公司 Image processing method and device, equipment and storage medium thereof
CN109472753B (en) * 2018-10-30 2021-09-07 北京市商汤科技开发有限公司 Image processing method and device, computer equipment and computer storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4613313B2 (en) * 2005-04-01 2011-01-19 国立大学法人 東京大学 Image processing system and image processing program
US7812850B1 (en) * 2007-06-29 2010-10-12 Adobe Systems Incorporated Editing control for spatial deformations

Similar Documents

Publication Publication Date Title
JP2013191128A5 (en)
JP2014225843A5 (en)
JP2018020410A5 (en) Layout setting method and control device
JP2018532216A5 (en)
JP2018097492A5 (en) Image processing apparatus, image processing method, and program
JP2014063475A5 (en)
JP2013045433A5 (en)
JP2013186088A5 (en)
JP2012054827A5 (en) Image processing apparatus, image processing method, and storage medium
JP2005319207A5 (en)
EP2711792A3 (en) Simulation apparatus, simulation method, and simulation program
JP2013232231A5 (en) Program, information processing apparatus and control method
JP2016226019A5 (en)
JP2013545979A5 (en)
JP2017514580A5 (en)
JP2012084982A5 (en)
JP2016532105A5 (en)
JP2015109559A5 (en)
JP2013045296A5 (en)
JP2010035142A5 (en) Information processing apparatus and control method thereof, verification apparatus and control method thereof
JP2012222517A5 (en)
JP2012086450A5 (en) Image forming apparatus, image forming method, and program
JP2012222588A5 (en)
EP2793192A3 (en) Display processing method and apparatus
JP2016092651A5 (en) Image processing apparatus and image processing method. And programs