DTU
Module including functions specific to the DTU dataset.
This module includes the following funcitons:
build_est_points_filter(est_ply, data_path, scan_num)
- Builds a filter for an estimated point cloud.build_gt_points_filter(ply, data_path, scan_num)
- Constructs a points filter for a ground-truth point cloud.
build_est_points_filter(est_ply, data_path, scan_num)
Builds a filter for an estimated point cloud.
Parameters est_ply: Estimated point cloud for which a filter is being built. data_path: Data path to the DTU evaluation data. scan_num: DTU scan number for the point cloud.
Returns:
Type | Description |
---|---|
np.ndarray
|
The points filter for the given point cloud. |
Source code in cvt/datasets/dtu.py
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
|
build_gt_points_filter(ply, data_path, scan_num)
Constructs a points filter for a ground-truth point cloud.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
ply |
o3d.geometry.PointCloud
|
Ground-truth point cloud for which a filter is being built. |
required |
data_path |
str
|
Data path to the DTU evaluation data. |
required |
scan_num |
int
|
DTU scan number for the point cloud. |
required |
Returns:
Type | Description |
---|---|
np.ndarray
|
The points filter for the given point cloud. |
Source code in cvt/datasets/dtu.py
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
|