rgbdodometry.cpp.patch

Takamichi Tashiro, 2012-06-25 06:17 pm

Download (705 Bytes)

 
opencv/modules/contrib/src/rgbdodometry.cpp (working copy)
110 110

  
111 111
#if defined(HAVE_EIGEN) && EIGEN_WORLD_VERSION == 3
112 112
    const double* ksi_ptr = reinterpret_cast<const double*>(ksi.ptr(0));
113
    Eigen::Matrix<double,4,4> twist, g;
113
    Eigen::Matrix<double, Eigen::Dynamic, Eigen::Dynamic> twist, g;
114 114
    twist << 0.,          -ksi_ptr[2], ksi_ptr[1],  ksi_ptr[3],
115 115
             ksi_ptr[2],  0.,          -ksi_ptr[0], ksi_ptr[4],
116 116
             -ksi_ptr[1], ksi_ptr[0],  0,           ksi_ptr[5],