def get_pixel_sizes_perspective_cams(cams):
    """Get physical pixel size of pinhole cameras.

    ((1 / fx) ** 2 + (1 / fy) ** 2)).sqrt()

    Parameters
    ----------
    cams: PerspectiveCameras
        [description]
    """
    inv_intrinsics = cams.get_projection_transform().inverse().get_matrix()
    return inv_intrinsics.diagonal(dim1=1, dim2=2).norm(dim=1)
Get physical pixel size of pinhole cameras.

    ((1 / fx) ** 2 + (1 / fy) ** 2)).sqrt()

    Parameters
    ----------
    cams: PerspectiveCameras
        [description]
    
tridet/utils/geometry.py