sxyu / rgbdrec

Depth camera pose estimation utility, with common abstraction on top of COLMAP, ORB_SLAM2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

imagesFs.read(reinterpret_cast<char*>(q.vec().data()), sizeof(double) * 3);

ronaldpan opened this issue · comments

q has 4 members, why read 3 doubles?
In rgbdreg-colmap.cpp lines 162-163:
imagesFs.read(reinterpret_cast<char*>(q.vec().data()),
sizeof(double) * 3);

Sorry. I did not see readBin(imagesFs, q.w());