zju3dv / neuralbody

Code for "Neural Body: Implicit Neural Representations with Structured Latent Codes for Novel View Synthesis of Dynamic Humans" CVPR 2021 best paper candidate
Other
907 stars 130 forks source link

fisheye-effect using neuralbody #132

Closed Dipankar1997161 closed 1 year ago

Dipankar1997161 commented 1 year ago

Hello @pengsida @chingswy,

I hope you guys are doing well, since my last update, I have successfully created a top-view for zju-mocap rendering. There is something else that I want to try, I want to further generate a fisheye image during 3d rendering.

I got the top view by revising the camera parameters within the code, but changing the distortion coefficients is not working or noticeable, since the background is simply black. I changed the values k1 and k2 towards more negative of -0.5 and -0.13. but did not notice any change during rendering.

How should I approach this case?? add more negative values or what? if you can provide some ideas, it would be great.

initial values of distortion: distortions': array([-0.22035998, 0.03085136, -0.00532321, 0.00222319, 0.06431227], dtype=float32)

after changing: 'distortions': array([-0.57036 , -0.13085136, -0.00532321, 0.00222319, 0.06431227], dtype=float32)