nerfplusplus icon indicating copy to clipboard operation
nerfplusplus copied to clipboard

Poses are camera-to-world?

Open FreemanG opened this issue 3 years ago • 3 comments

According to your data description:

Poses are camera-to-world, not world-to-camera transformations.

Then why does normalize_cam_dict.py save W2C in the cam_dict? Shouldn't it be C2W (cam to world)?

FreemanG avatar Apr 26 '22 13:04 FreemanG

You are right! You could get C2W easily by taking the inverse of W2C, and vice versa.

Kai-46 avatar Apr 27 '22 14:04 Kai-46

So I have to change this line

return np.linalg.inv(C2W)

to

return C2W

Is this right? The experiments seem better so far.

FreemanG avatar Apr 29 '22 07:04 FreemanG

Yes, or you could do such matrix inverses while converting the json camera file to text files.

Kai-46 avatar May 20 '22 14:05 Kai-46