Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SceneFun3D/scenefun3d
/ functions
Functions
131 in github.com/SceneFun3D/scenefun3d
⨍
Functions
131
◇
Types & classes
4
↓ 16 callers
Method
get_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 callers
Method
get_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 callers
Function
pc_estimate_normals
(pcd, radius = 0.1, max_nn = 16)
utils/pc_process.py:22
↓ 3 callers
Method
read_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 callers
Function
GeodesicPath
(t, H0, H1)
utils/rigid_interpolation.py:119
↓ 2 callers
Method
TrajStringToMatrix
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 callers
Function
create_color_palette
()
eval/functionality_segmentation/eval_utils/util.py:84
↓ 2 callers
Function
create_color_palette
()
eval/affordance_grounding/eval_utils/util.py:84
↓ 2 callers
Function
download_file
(url, file_name, dst)
data_downloader/download_utils/download_data.py:138
↓ 2 callers
Method
get_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 callers
Method
get_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 callers
Method
get_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 callers
Method
get_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 callers
Method
get_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 callers
Method
get_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 callers
Function
rigid_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 callers
Function
rot
Extracts the 3x3 rotation matrix from a 4x4 homogeneous transformation matrix. Args: H (numpy.ndarray): A 4x4 homogeneous transforma
utils/homogenous.py:9
↓ 1 callers
Function
Exp
(t, theta, S)
utils/rigid_interpolation.py:21
↓ 1 callers
Function
InverseRigid
(H)
utils/rigid_interpolation.py:11
↓ 1 callers
Function
Log
(R)
utils/rigid_interpolation.py:30
↓ 1 callers
Function
assign_instances_for_scan
(pred: dict, gt_file: str)
eval/functionality_segmentation/eval_utils/eval_script.py:213
↓ 1 callers
Function
assign_instances_for_scan
(pred: dict, gt_file: str)
eval/affordance_grounding/eval_utils/eval_script.py:216
↓ 1 callers
Function
computeInverseV1
(theta, S)
utils/rigid_interpolation.py:110
↓ 1 callers
Function
computeTTimesV
(t, theta, S)
utils/rigid_interpolation.py:97
↓ 1 callers
Function
compute_averages
(aps, factor=100)
eval/functionality_segmentation/eval_utils/eval_script.py:180
↓ 1 callers
Function
compute_averages
(aps, factor=100)
eval/affordance_grounding/eval_utils/eval_script.py:183
↓ 1 callers
Method
compute_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 callers
Function
convert_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 callers
Function
convert_mov_to_mp4
(video_id, download_dir)
data_downloader/download_utils/download_data.py:236
↓ 1 callers
Function
crop_point_cloud
(pcd, bbox)
utils/pc_process.py:116
↓ 1 callers
Function
download_assets_for_video_id
(visit_id, video_id, download_dir, split, dataset_assets)
data_downloader/download_utils/download_data.py:189
↓ 1 callers
Function
download_assets_for_visit_id
(visit_id, download_dir, split, dataset_assets)
data_downloader/download_utils/download_data.py:171
↓ 1 callers
Function
evaluate
(preds: dict, gt_path: str, print_result=True)
eval/functionality_segmentation/eval_utils/eval_script.py:339
↓ 1 callers
Function
evaluate
(preds: dict, gt_path: str, print_result=True)
eval/affordance_grounding/eval_utils/eval_script.py:332
↓ 1 callers
Function
evaluate_matches
(matches)
eval/functionality_segmentation/eval_utils/eval_script.py:32
↓ 1 callers
Function
evaluate_matches
(matches)
eval/affordance_grounding/eval_utils/eval_script.py:35
↓ 1 callers
Function
export_ids
(filename, ids)
eval/functionality_segmentation/eval_utils/util_3d.py:35
↓ 1 callers
Function
export_ids
(filename, ids)
eval/affordance_grounding/eval_utils/util_3d.py:35
↓ 1 callers
Function
export_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 callers
Function
find_arkitscenes_split
(video_id)
data_downloader/download_utils/download_data.py:222
↓ 1 callers
Method
get_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 callers
Method
get_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 callers
Method
get_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 callers
Function
get_excluded_point_mask
(gt_mask)
eval/functionality_segmentation/eval_utils/util_3d.py:55
↓ 1 callers
Function
get_excluded_point_mask
(gt_mask)
eval/affordance_grounding/eval_utils/util_3d.py:55
↓ 1 callers
Method
get_instance_verts
(self, mesh_vert_instances, instance_id)
eval/functionality_segmentation/eval_utils/util_3d.py:123
↓ 1 callers
Method
get_instance_verts
(self, mesh_vert_instances, instance_id)
eval/affordance_grounding/eval_utils/util_3d.py:123
↓ 1 callers
Method
get_label_id
(self, instance_id)
eval/functionality_segmentation/eval_utils/util_3d.py:120
↓ 1 callers
Method
get_label_id
(self, instance_id)
eval/affordance_grounding/eval_utils/util_3d.py:120
↓ 1 callers
Method
get_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 callers
Method
get_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 callers
Method
get_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 callers
Function
main
(gt_dir, write_dir)
eval/functionality_segmentation/create_example_submission.py:15
↓ 1 callers
Function
main
(data_dir, val_scenes_list, out_gt_dir)
eval/functionality_segmentation/prepare_gt_val_data.py:16
↓ 1 callers
Function
main
(pred_dir, gt_dir)
eval/functionality_segmentation/evaluate.py:8
↓ 1 callers
Function
main
(gt_dir, write_dir)
eval/affordance_grounding/create_example_submission.py:14
↓ 1 callers
Function
main
(data_dir, val_scenes_list, out_gt_dir)
eval/affordance_grounding/prepare_gt_val_data.py:16
↓ 1 callers
Function
main
(pred_dir, gt_dir)
eval/affordance_grounding/evaluate.py:8
↓ 1 callers
Function
make_pred_info
(pred: dict)
eval/functionality_segmentation/eval_utils/eval_script.py:200
↓ 1 callers
Function
make_pred_info
(pred: dict)
eval/affordance_grounding/eval_utils/eval_script.py:203
↓ 1 callers
Function
pc_downsample
(pcd_combined, voxel_size=0.005)
utils/pc_process.py:16
↓ 1 callers
Function
print_results
(avgs)
eval/functionality_segmentation/eval_utils/eval_script.py:280
↓ 1 callers
Function
print_results
(avgs)
eval/affordance_grounding/eval_utils/eval_script.py:283
↓ 1 callers
Method
read_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 callers
Method
read_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 callers
Function
represents_int
(s)
eval/functionality_segmentation/eval_utils/util.py:26
↓ 1 callers
Function
represents_int
(s)
eval/affordance_grounding/eval_utils/util.py:26
↓ 1 callers
Function
rigid_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 callers
Function
rle_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 callers
Function
rle_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 callers
Function
rle_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 callers
Function
rle_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 callers
Method
to_dict
(self)
eval/functionality_segmentation/eval_utils/util_3d.py:129
↓ 1 callers
Method
to_dict
(self)
eval/affordance_grounding/eval_utils/util_3d.py:129
↓ 1 callers
Function
trans
Extracts the 3x1 translation vector from a 4x4 homogeneous transformation matrix. Args: H (numpy.ndarray): A 4x4 homogeneous transfo
utils/homogenous.py:21
↓ 1 callers
Function
unzip_file
(file_name, dst, keep_zip=True)
data_downloader/download_utils/download_data.py:156
↓ 1 callers
Function
video_raw_files
(video_id, assets, metadata)
data_downloader/download_utils/download_data.py:95
↓ 1 callers
Function
visit_raw_files
(visit_id, assets, metadata)
data_downloader/download_utils/download_data.py:78
↓ 1 callers
Function
viz_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
Function
adjust_intrinsic
Adjust camera intrinsics.
utils/fusion_util.py:22
Function
combine_point_clouds
(ply_filenames)
utils/pc_process.py:5
Function
convert_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
Function
crop_extraneous_points_from_point_cloud
(pcd, dbscan_eps = 0.02,
utils/pc_process.py:64
Function
decide_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
Function
export_instance_ids_for_eval
(filename, label_ids, instance_ids)
eval/functionality_segmentation/eval_utils/util_3d.py:81
Function
export_instance_ids_for_eval
(filename, label_ids, instance_ids)
eval/affordance_grounding/eval_utils/util_3d.py:81
Function
fast_hist
(pred, gt, num_labels)
eval/functionality_segmentation/eval_utils/eval_script.py:331
Function
fast_hist
(pred, gt, num_labels)
eval/affordance_grounding/eval_utils/eval_script.py:324
Method
from_json
(self, data)
eval/functionality_segmentation/eval_utils/util_3d.py:138
Method
from_json
(self, data)
eval/affordance_grounding/eval_utils/util_3d.py:138
Function
get_instances
(ids, class_ids, class_labels, id2label)
eval/functionality_segmentation/eval_utils/util_3d.py:172
Function
get_instances
(ids, class_ids, class_labels, id2label)
eval/affordance_grounding/eval_utils/util_3d.py:172
Method
get_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
Function
inverse
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