SPengLiang/DID-M3D

Visual depth affine transform

Closed this issue · 2 comments

Thank you for your great research.

Could you please let me know where I can find the code for augmenting visual depth using affine transforms with scale factor "S_y"?

Thanks

Thanks for your interest. The scale factor is at

scale_depth = torch.clamp((scale_box2d_masked[:,4]-scale_box2d_masked[:,2])*4, min=1.0) / \
and is used in
vis_depth = vis_depth * scale_depth.unsqueeze(-1).unsqueeze(-1)

Thank you for your replay.