MCPcopy Create free account

hub / github.com/SceneFun3D/scenefun3d / functions

Functions131 in github.com/SceneFun3D/scenefun3d

↓ 16 callersMethodget_data_asset_path
Get the file path for a specified data asset. Args: data_asset_identifier (str): A string identifier for the data asset.
utils/data_parser.py:633
↓ 3 callersMethodget_annotations
Retrieve the functionality annotations for a specified scene. Args: visit_id (str or int): The identifier for the scene.
utils/data_parser.py:669
↓ 3 callersFunctionpc_estimate_normals
(pcd, radius = 0.1, max_nn = 16)
utils/pc_process.py:22
↓ 3 callersMethodread_camera_intrinsics
Parses a file containing camera intrinsic parameters and returns them in the specified format. Args: intrinsics_file_pat
utils/data_parser.py:562
↓ 2 callersFunctionGeodesicPath
(t, H0, H1)
utils/rigid_interpolation.py:119
↓ 2 callersMethodTrajStringToMatrix
Converts a line from the camera trajectory file into translation and rotation matrices. Args: traj_str (str): A space-d
utils/data_parser.py:138
↓ 2 callersFunctioncreate_color_palette
()
eval/functionality_segmentation/eval_utils/util.py:84
↓ 2 callersFunctioncreate_color_palette
()
eval/affordance_grounding/eval_utils/util.py:84
↓ 2 callersFunctiondownload_file
(url, file_name, dst)
data_downloader/download_utils/download_data.py:138
↓ 2 callersMethodget_camera_intrinsics
Retrieve the camera intrinsics for a given scene and video sequence. Args: visit_id (str): The identifier of the scene.
utils/data_parser.py:337
↓ 2 callersMethodget_camera_trajectory
Retrieve the camera trajectory from a file and convert it into a dictionary whose keys are timestamps and values are the correspondi
utils/data_parser.py:174
↓ 2 callersMethodget_depth_frames
Retrieve the paths to the depth frames for a given scene and video sequence. Args: visit_id (str): The identifier of the
utils/data_parser.py:299
↓ 2 callersMethodget_descriptions
Retrieve the natural language task descriptions for a specified scene. Args: visit_id (str or int): The identifier for t
utils/data_parser.py:710
↓ 2 callersMethodget_laser_scan
Load a point cloud from a .ply file containing laser scan data. Args: visit_id (str): The identifier of the scene.
utils/data_parser.py:210
↓ 2 callersMethodget_rgb_frames
Retrieve the paths to the RGB frames for a given scene and video sequence. Args: visit_id (str): The identifier of the s
utils/data_parser.py:257
↓ 2 callersFunctionrigid_interp_split
Performs rigid body motion interpolation in SO(3) x R^3. See https://www.adrian-haarbach.de/interpolation-methods/doc/haarbach2018survey.pdf.
utils/rigid_interpolation.py:184
↓ 2 callersFunctionrot
Extracts the 3x3 rotation matrix from a 4x4 homogeneous transformation matrix. Args: H (numpy.ndarray): A 4x4 homogeneous transforma
utils/homogenous.py:9
↓ 1 callersFunctionExp
(t, theta, S)
utils/rigid_interpolation.py:21
↓ 1 callersFunctionInverseRigid
(H)
utils/rigid_interpolation.py:11
↓ 1 callersFunctionLog
(R)
utils/rigid_interpolation.py:30
↓ 1 callersFunctionassign_instances_for_scan
(pred: dict, gt_file: str)
eval/functionality_segmentation/eval_utils/eval_script.py:213
↓ 1 callersFunctionassign_instances_for_scan
(pred: dict, gt_file: str)
eval/affordance_grounding/eval_utils/eval_script.py:216
↓ 1 callersFunctioncomputeInverseV1
(theta, S)
utils/rigid_interpolation.py:110
↓ 1 callersFunctioncomputeTTimesV
(t, theta, S)
utils/rigid_interpolation.py:97
↓ 1 callersFunctioncompute_averages
(aps, factor=100)
eval/functionality_segmentation/eval_utils/eval_script.py:180
↓ 1 callersFunctioncompute_averages
(aps, factor=100)
eval/affordance_grounding/eval_utils/eval_script.py:183
↓ 1 callersMethodcompute_mapping
:param camera_to_world: 4 x 4 :param coords: N x 3 format :param depth: H x W format :param intrinsic: 3 x 3 format
utils/fusion_util.py:45
↓ 1 callersFunctionconvert_angle_axis_to_matrix3
Converts a rotation from angle-axis representation to a 3x3 rotation matrix. Args: angle_axis (numpy.ndarray): A 3-element array rep
utils/data_parser.py:74
↓ 1 callersFunctionconvert_mov_to_mp4
(video_id, download_dir)
data_downloader/download_utils/download_data.py:236
↓ 1 callersFunctioncrop_point_cloud
(pcd, bbox)
utils/pc_process.py:116
↓ 1 callersFunctiondownload_assets_for_video_id
(visit_id, video_id, download_dir, split, dataset_assets)
data_downloader/download_utils/download_data.py:189
↓ 1 callersFunctiondownload_assets_for_visit_id
(visit_id, download_dir, split, dataset_assets)
data_downloader/download_utils/download_data.py:171
↓ 1 callersFunctionevaluate
(preds: dict, gt_path: str, print_result=True)
eval/functionality_segmentation/eval_utils/eval_script.py:339
↓ 1 callersFunctionevaluate
(preds: dict, gt_path: str, print_result=True)
eval/affordance_grounding/eval_utils/eval_script.py:332
↓ 1 callersFunctionevaluate_matches
(matches)
eval/functionality_segmentation/eval_utils/eval_script.py:32
↓ 1 callersFunctionevaluate_matches
(matches)
eval/affordance_grounding/eval_utils/eval_script.py:35
↓ 1 callersFunctionexport_ids
(filename, ids)
eval/functionality_segmentation/eval_utils/util_3d.py:35
↓ 1 callersFunctionexport_ids
(filename, ids)
eval/affordance_grounding/eval_utils/util_3d.py:35
↓ 1 callersFunctionexport_scene
( data_dir: Annotated[Path, tyro.conf.arg(help="Path to the dataset")], output_dir: Annotated[Path, tyro.c
examples/export_nerfstudio_format.py:38
↓ 1 callersFunctionfind_arkitscenes_split
(video_id)
data_downloader/download_utils/download_data.py:222
↓ 1 callersMethodget_arkit_reconstruction
Load ARKit mesh reconstruction data based on the iPad video sequence from a .ply file. Args: visit_id (str): The identif
utils/data_parser.py:226
↓ 1 callersMethodget_crop_mask
Load the crop mask from a .npy file. Args: visit_id (str): The identifier of the scene. return_indices (bool
utils/data_parser.py:589
↓ 1 callersMethodget_cropped_laser_scan
Crop a laser scan using a crop mask. Args: visit_id (str): The identifier of the scene. laser_scan (open3d.g
utils/data_parser.py:609
↓ 1 callersFunctionget_excluded_point_mask
(gt_mask)
eval/functionality_segmentation/eval_utils/util_3d.py:55
↓ 1 callersFunctionget_excluded_point_mask
(gt_mask)
eval/affordance_grounding/eval_utils/util_3d.py:55
↓ 1 callersMethodget_instance_verts
(self, mesh_vert_instances, instance_id)
eval/functionality_segmentation/eval_utils/util_3d.py:123
↓ 1 callersMethodget_instance_verts
(self, mesh_vert_instances, instance_id)
eval/affordance_grounding/eval_utils/util_3d.py:123
↓ 1 callersMethodget_label_id
(self, instance_id)
eval/functionality_segmentation/eval_utils/util_3d.py:120
↓ 1 callersMethodget_label_id
(self, instance_id)
eval/affordance_grounding/eval_utils/util_3d.py:120
↓ 1 callersMethodget_motions
Retrieve the motion annotations for a specified scene. Args: visit_id (str or int): The identifier for the scene.
utils/data_parser.py:727
↓ 1 callersMethodget_nearest_pose
Get the nearest pose to a desired timestamp from a dictionary of poses. Args: desired_timestamp (str): The timestamp of
utils/data_parser.py:377
↓ 1 callersMethodget_transform
Load the transformation matrix from a .npy file. This transformation matrix converts coordinates from the Faro laser scan coordinate system t
utils/data_parser.py:512
↓ 1 callersFunctionmain
(gt_dir, write_dir)
eval/functionality_segmentation/create_example_submission.py:15
↓ 1 callersFunctionmain
(data_dir, val_scenes_list, out_gt_dir)
eval/functionality_segmentation/prepare_gt_val_data.py:16
↓ 1 callersFunctionmain
(pred_dir, gt_dir)
eval/functionality_segmentation/evaluate.py:8
↓ 1 callersFunctionmain
(gt_dir, write_dir)
eval/affordance_grounding/create_example_submission.py:14
↓ 1 callersFunctionmain
(data_dir, val_scenes_list, out_gt_dir)
eval/affordance_grounding/prepare_gt_val_data.py:16
↓ 1 callersFunctionmain
(pred_dir, gt_dir)
eval/affordance_grounding/evaluate.py:8
↓ 1 callersFunctionmake_pred_info
(pred: dict)
eval/functionality_segmentation/eval_utils/eval_script.py:200
↓ 1 callersFunctionmake_pred_info
(pred: dict)
eval/affordance_grounding/eval_utils/eval_script.py:203
↓ 1 callersFunctionpc_downsample
(pcd_combined, voxel_size=0.005)
utils/pc_process.py:16
↓ 1 callersFunctionprint_results
(avgs)
eval/functionality_segmentation/eval_utils/eval_script.py:280
↓ 1 callersFunctionprint_results
(avgs)
eval/affordance_grounding/eval_utils/eval_script.py:283
↓ 1 callersMethodread_depth_frame
Read a depth frame from the specified path and convert it to depth values. Args: depth_frame_path (str): The full path t
utils/data_parser.py:546
↓ 1 callersMethodread_rgb_frame
Read an RGB frame from the specified path. Args: rgb_frame_path (str): The full path to the RGB frame file.
utils/data_parser.py:527
↓ 1 callersFunctionrepresents_int
(s)
eval/functionality_segmentation/eval_utils/util.py:26
↓ 1 callersFunctionrepresents_int
(s)
eval/affordance_grounding/eval_utils/util.py:26
↓ 1 callersFunctionrigid_interp_geodesic
Performs rigid body motion interpolation in SE(3). See https://www.geometrictools.com/Documentation/InterpolationRigidMotions.pdf. Args:
utils/rigid_interpolation.py:162
↓ 1 callersFunctionrle_decode
Decode rle to get binary mask. Args: rle (dict): rle of encoded mask Returns: mask (np.ndarray): decoded mask
eval/functionality_segmentation/eval_utils/rle.py:21
↓ 1 callersFunctionrle_decode
Decode rle to get binary mask. Args: rle (dict): rle of encoded mask Returns: mask (np.ndarray): decoded mask
eval/affordance_grounding/eval_utils/rle.py:21
↓ 1 callersFunctionrle_encode
Encode RLE (Run-length-encode) from 1D binary mask. Args: mask (np.ndarray): 1D binary mask Returns: counts (list): encoded c
eval/functionality_segmentation/eval_utils/rle.py:5
↓ 1 callersFunctionrle_encode
Encode RLE (Run-length-encode) from 1D binary mask. Args: mask (np.ndarray): 1D binary mask Returns: counts (list): encoded c
eval/affordance_grounding/eval_utils/rle.py:5
↓ 1 callersMethodto_dict
(self)
eval/functionality_segmentation/eval_utils/util_3d.py:129
↓ 1 callersMethodto_dict
(self)
eval/affordance_grounding/eval_utils/util_3d.py:129
↓ 1 callersFunctiontrans
Extracts the 3x1 translation vector from a 4x4 homogeneous transformation matrix. Args: H (numpy.ndarray): A 4x4 homogeneous transfo
utils/homogenous.py:21
↓ 1 callersFunctionunzip_file
(file_name, dst, keep_zip=True)
data_downloader/download_utils/download_data.py:156
↓ 1 callersFunctionvideo_raw_files
(video_id, assets, metadata)
data_downloader/download_utils/download_data.py:95
↓ 1 callersFunctionvisit_raw_files
(visit_id, assets, metadata)
data_downloader/download_utils/download_data.py:78
↓ 1 callersFunctionviz_3d
Visualize 3D point clouds. This function takes a list of 3D geometries (e.g., point clouds) and visualizes them using Open3D's visualization
utils/viz.py:14
Method__init__
Initialize the DataParser instance with the root path. Args: data_root_path (str): The root path where data is located.
utils/data_parser.py:129
Method__init__
(self, image_dim, visibility_threshold=0.25, cut_bound=0)
utils/fusion_util.py:38
Method__init__
(self, mesh_vert_instances, instance_id)
eval/functionality_segmentation/eval_utils/util_3d.py:113
Method__init__
(self, mesh_vert_instances, instance_id)
eval/affordance_grounding/eval_utils/util_3d.py:113
Method__str__
(self)
eval/functionality_segmentation/eval_utils/util_3d.py:146
Method__str__
(self)
eval/affordance_grounding/eval_utils/util_3d.py:146
Functionadjust_intrinsic
Adjust camera intrinsics.
utils/fusion_util.py:22
Functioncombine_point_clouds
(ply_filenames)
utils/pc_process.py:5
Functionconvert_matrix3_to_angle_axis
Converts a 3x3 rotation matrix to angle-axis representation (rotation vector). Args: matrix (numpy.ndarray): A 3x3 rotation matrix r
utils/data_parser.py:98
Functioncrop_extraneous_points_from_point_cloud
(pcd, dbscan_eps = 0.02,
utils/pc_process.py:64
Functiondecide_pose
Determines the orientation of a 3D pose based on the alignment of its z-vector with predefined orientations. Args: pose (np.ndarray)
utils/data_parser.py:21
Functionexport_instance_ids_for_eval
(filename, label_ids, instance_ids)
eval/functionality_segmentation/eval_utils/util_3d.py:81
Functionexport_instance_ids_for_eval
(filename, label_ids, instance_ids)
eval/affordance_grounding/eval_utils/util_3d.py:81
Functionfast_hist
(pred, gt, num_labels)
eval/functionality_segmentation/eval_utils/eval_script.py:331
Functionfast_hist
(pred, gt, num_labels)
eval/affordance_grounding/eval_utils/eval_script.py:324
Methodfrom_json
(self, data)
eval/functionality_segmentation/eval_utils/util_3d.py:138
Methodfrom_json
(self, data)
eval/affordance_grounding/eval_utils/util_3d.py:138
Functionget_instances
(ids, class_ids, class_labels, id2label)
eval/functionality_segmentation/eval_utils/util_3d.py:172
Functionget_instances
(ids, class_ids, class_labels, id2label)
eval/affordance_grounding/eval_utils/util_3d.py:172
Methodget_interpolated_pose
Get the interpolated pose for a desired timestamp from a dictionary of poses. Args: desired_timestamp (str): The timesta
utils/data_parser.py:424
Functioninverse
Computes the inverse of a 4x4 homogeneous transformation matrix. The inverse is computed by transposing the 3x3 rotation matrix and negating
utils/homogenous.py:33
next →1–100 of 131, ranked by callers