chensjtu / GaussianObject

GaussianObject: High-Quality 3D Object Reconstruction from Four Views with Gaussian Splatting (SIGGRAPH Asia 2024, TOG)
887 stars 54 forks source link

A tiny typo #41

Open 2019211753 opened 4 months ago

2019211753 commented 4 months ago

The example given in the 'query_from_list_with_list' function of the visual_hull.py seems a typo:

def query_from_list_with_list(listA: list, listB: list):
    '''
    listA: [1, 2, 3]
    listB: [3, 2, 1]
    return: [2, 1, 0]
    '''
    return [listB[i] for i in listA]

maybe listA should be [1, 2, 0]