파이썬 How to filter numpy array by list of indices?
LAS 데이터 [x, y, z, intensity, classification] 로 구성된 numpy 배열, filtered__rows 가 있습니다. 포인트의 cKDTree 를 생성하고 가장 가까운 이웃 인 query_ball_point 를 찾았습니다. 이것은 포인트와 그 이웃에 대한 인덱스 목록입니다. query_ball_point 에 의해 반환 된 목록에 인덱스가있는 지점 만 배열을 만들기 위해 filtered__rows 를 필터링하는 방법이 있습니까? 해결 방법 filter_indices = [1,3,5] np.array([11,13,155,22,0xff,32,56,88])[filter_indices] 참조 페이지 https://stackoverflow.com/questions/19821425
2021. 1. 1.