Make image saving more robust in TexturedPhotogrammetryMesh.save_renders_pytorch3d
#72
Labels
TexturedPhotogrammetryMesh.save_renders_pytorch3d
#72
Right now, the
save_renders_pytorch3d
function isn't particularly robust or flexible. Specifically, on this line, it casts the data tonp.uint8
. This may not be suitable for some applications, such as rendering a height map.With float data, you wouldn't be able to do the compositing that we currently do, since it assumes the data can be visualized as a three-channel
uint8
. So handling this case would require some additional thinking.The text was updated successfully, but these errors were encountered: