Packagejp.nyatla.nyartoolkit.as3.core.transmat.optimize
Classpublic class NyARPartialDifferentiationOptimize
InheritanceNyARPartialDifferentiationOptimize Inheritance Object

基本姿勢と実画像を一致するように、角度を微調整→平行移動量を再計算 を繰り返して、変換行列を最適化する。



Public Methods
 MethodDefined By
  
NyARPartialDifferentiationOptimize
  
modifyMatrix(io_rot:NyARDoubleMatrix33, i_trans:NyARDoublePoint3d, i_vertex3d:Vector.<NyARDoublePoint3d>, i_vertex2d:Vector.<NyARDoublePoint2d>, i_number_of_vertex:int):void
NyARPartialDifferentiationOptimize
  
sincos2Rotation_ZXY(i_sincos:Vector.<TSinCosValue>, i_rot_matrix:NyARDoubleMatrix33):void
NyARPartialDifferentiationOptimize
Constructor Detail
NyARPartialDifferentiationOptimize()Constructor
public function NyARPartialDifferentiationOptimize(i_projection_mat_ref:NyARPerspectiveProjectionMatrix)



Parameters
i_projection_mat_ref:NyARPerspectiveProjectionMatrix
Method Detail
modifyMatrix()method
public function modifyMatrix(io_rot:NyARDoubleMatrix33, i_trans:NyARDoublePoint3d, i_vertex3d:Vector.<NyARDoublePoint3d>, i_vertex2d:Vector.<NyARDoublePoint2d>, i_number_of_vertex:int):void

Parameters

io_rot:NyARDoubleMatrix33
 
i_trans:NyARDoublePoint3d
 
i_vertex3d:Vector.<NyARDoublePoint3d>
 
i_vertex2d:Vector.<NyARDoublePoint2d>
 
i_number_of_vertex:int

sincos2Rotation_ZXY()method 
public function sincos2Rotation_ZXY(i_sincos:Vector.<TSinCosValue>, i_rot_matrix:NyARDoubleMatrix33):void

Parameters

i_sincos:Vector.<TSinCosValue>
 
i_rot_matrix:NyARDoubleMatrix33