mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-12 19:04:03 +08:00
Consistent naming for depth maps in Polycam (#1352)
This commit is contained in:
1 parent
9f5da51319
commit
cddf6a6569
1 file changed
+1
-1
@@ -72,7 +72,7 @@ def polycam_to_json(
|
||||
frame["h"] = frame_json["height"] - crop_border_pixels * 2
|
||||
frame["file_path"] = f"./images/frame_{i+1:05d}{image_filename.suffix}"
|
||||
if use_depth:
|
||||
frame["depth_map_path"] = f"./depth/frame_{i+1:05d}{depth_filenames[i].suffix}"
|
||||
frame["depth_file_path"] = f"./depth/frame_{i+1:05d}{depth_filenames[i].suffix}"
|
||||
# Transform matrix to nerfstudio format. Please refer to the documentation for coordinate system conventions.
|
||||
frame["transform_matrix"] = [
|
||||
[frame_json["t_20"], frame_json["t_21"], frame_json["t_22"], frame_json["t_23"]],
|
||||
|
||||
Reference in new issue
Block a user