google / nerfactor

Neural Factorization of Shape and Reflectance Under an Unknown Illumination
https://xiuming.info/projects/nerfactor/
Apache License 2.0
437 stars 56 forks source link

About the intrinsic matrix in data #6

Closed zzhat0706 closed 3 years ago

zzhat0706 commented 3 years ago

Thanks for the great work and data!

I am transfering the camera pose data to other format. But neighter metadata.json nor *_camera.json had no intrinsic data inside(focal length and cx, cy).

Also I used .blender's focal data, but either way not worked for me, maybe this is because .blender file use different extrinsic matrix.

So can you tell me your intrinsic values or the way to know those values? thx

xiumingzhang commented 3 years ago

Hi. Sorry for the late reply but are you referring to the data released by us?

If so, metadata.json has a field called cam_angle_x, which you can convert to the focal length using simple trigonometric identities.

As for cx or cy, you can assume them to be always half of the image width or height.

Closing this but feel free to reopen this issue with more questions.

On Tue, Aug 24, 2021 at 5:29 AM zzhat0706 @.***> wrote:

Thanks for the great work and data!

I am transfering the camera pose data to other format. But neighter metadata.json nor *_camera.json had no intrinsic data inside(focal length and cx, cy).

Also I used .blender's focal data, but either way not worked for me, maybe this is because .blender file use different extrinsic matrix.

So can you tell me your intrinsic values or the way to know those values? thx

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/google/nerfactor/issues/6, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXICPSYEBSVV3Q5MDXC6I3T6NQ7DANCNFSM5CWNSARQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .