Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Pointcept/SegmentAnything3D
/ functions
Functions
186 in github.com/Pointcept/SegmentAnything3D
⨍
Functions
186
◇
Types & classes
20
↓ 50 callers
Method
read
Read PLY data from a readable file-like object or filename.
scannet-preprocess/scannet_pair/plyfile.py:275
↓ 9 callers
Method
dtype
Return the numpy dtype of the in-memory representation of the data. (If there are no list properties, and the PLY format is
scannet-preprocess/scannet_pair/plyfile.py:446
↓ 9 callers
Method
load
(self, file_handle)
scannet-preprocess/scannet_pair/SensorData.py:13
↓ 8 callers
Function
_lookup_type
(type_str)
scannet-preprocess/scannet_pair/plyfile.py:80
↓ 7 callers
Function
num_to_natural
Change the group number to natural number arrangement
util.py:182
↓ 5 callers
Method
save_mat_to_file
(self, matrix, filename)
scannet-preprocess/scannet_pair/SensorData.py:102
↓ 5 callers
Method
save_mat_to_file
(self, matrix, filename)
scannet-preprocess/prepare_2d_data/SensorData.py:100
↓ 5 callers
Method
write
Write PLY data to a writeable file-like object or filename.
scannet-preprocess/scannet_pair/plyfile.py:291
↓ 4 callers
Method
dtype
Return the numpy dtype description for this property (as a tuple of strings).
scannet-preprocess/scannet_pair/plyfile.py:770
↓ 4 callers
Method
list_dtype
Return the pair (len_dtype, val_dtype) (both numpy-friendly strings).
scannet-preprocess/scannet_pair/plyfile.py:847
↓ 3 callers
Method
_check_sanity
(self)
scannet-preprocess/scannet_pair/plyfile.py:413
↓ 3 callers
Function
cal_group
(input_dict, new_input_dict, match_inds, ratio=0.5)
sam3d.py:126
↓ 3 callers
Function
get_matching_indices
(source, pcd_tree, search_voxel_size, K=None)
scannet-preprocess/scannet_pair/compute_full_overlapping.py:40
↓ 3 callers
Function
remove_small_group
(group_ids, th)
util.py:168
↓ 2 callers
Method
__init__
elements: sequence of PlyElement instances. text: whether the resulting PLY file will be text (True) or binary (False).
scannet-preprocess/scannet_pair/plyfile.py:165
↓ 2 callers
Method
_index
(self)
scannet-preprocess/scannet_pair/plyfile.py:428
↓ 2 callers
Function
_open_stream
(stream, read_or_write)
scannet-preprocess/scannet_pair/plyfile.py:355
↓ 2 callers
Function
create_color_palette
()
scannet-preprocess/prepare_2d_data/util.py:84
↓ 2 callers
Function
get_matching_indices
(pcd0, pcd1, search_voxel_size, K=None)
util.py:196
↓ 2 callers
Function
grouping
(idx, feat, xyz, new_xyz=None, with_xyz=False)
libs/pointops/functions/grouping.py:36
↓ 2 callers
Function
make_open3d_point_cloud
(input_dict, voxelize, th)
sam3d.py:114
↓ 2 callers
Function
opt_n_threads
libs/pointops/src/cuda_utils.h:11
↓ 2 callers
Function
save_point_cloud
(coord, color=None, file_path="pc.ply", logger=None)
util.py:155
↓ 2 callers
Function
to_numpy
(x)
util.py:148
↓ 1 callers
Method
_check_name
(self)
scannet-preprocess/scannet_pair/plyfile.py:441
↓ 1 callers
Method
_check_name
(self)
scannet-preprocess/scannet_pair/plyfile.py:741
↓ 1 callers
Method
_from_fields
Parse from generator. Raise StopIteration if the property could not be read.
scannet-preprocess/scannet_pair/plyfile.py:778
↓ 1 callers
Method
_index
(self)
scannet-preprocess/scannet_pair/plyfile.py:213
↓ 1 callers
Method
_parse_header
Parse a PLY header from a readable file-like stream.
scannet-preprocess/scannet_pair/plyfile.py:220
↓ 1 callers
Method
_parse_multi
Parse a list of PLY element definitions.
scannet-preprocess/scannet_pair/plyfile.py:458
↓ 1 callers
Method
_parse_one
Consume one element definition. The unconsumed input is returned along with a PlyElement instance.
scannet-preprocess/scannet_pair/plyfile.py:471
↓ 1 callers
Method
_read
Read the actual data from a PLY file.
scannet-preprocess/scannet_pair/plyfile.py:567
↓ 1 callers
Method
_read_bin
Load a PLY element from a binary PLY file. The element may contain list properties.
scannet-preprocess/scannet_pair/plyfile.py:656
↓ 1 callers
Method
_read_txt
Load a PLY element from an ASCII-format PLY file. The element may contain list properties.
scannet-preprocess/scannet_pair/plyfile.py:611
↓ 1 callers
Function
_split_line
(line, n)
scannet-preprocess/scannet_pair/plyfile.py:91
↓ 1 callers
Method
_to_fields
Return generator over one item.
scannet-preprocess/scannet_pair/plyfile.py:786
↓ 1 callers
Method
_write
Write the data to a PLY file.
scannet-preprocess/scannet_pair/plyfile.py:593
↓ 1 callers
Method
_write_bin
Save a PLY element to a binary PLY file. The element may contain list properties.
scannet-preprocess/scannet_pair/plyfile.py:673
↓ 1 callers
Method
_write_txt
Save a PLY element to an ASCII-format PLY file. The element may contain list properties.
scannet-preprocess/scannet_pair/plyfile.py:643
↓ 1 callers
Function
aggregation_backward_cuda
libs/pointops/src/aggregation/aggregation_cuda.cpp:17
↓ 1 callers
Function
aggregation_forward_cuda
libs/pointops/src/aggregation/aggregation_cuda.cpp:7
↓ 1 callers
Function
attention_fusion_step_backward_cuda
libs/pointops/src/attention/attention_cuda.cpp:59
↓ 1 callers
Function
attention_fusion_step_forward_cuda
libs/pointops/src/attention/attention_cuda.cpp:45
↓ 1 callers
Function
attention_relation_step_backward_cuda
libs/pointops/src/attention/attention_cuda.cpp:21
↓ 1 callers
Function
attention_relation_step_forward_cuda
libs/pointops/src/attention/attention_cuda.cpp:7
↓ 1 callers
Function
ball_query_cuda
libs/pointops/src/ball_query/ball_query_cuda.cpp:7
↓ 1 callers
Function
cal_2_scenes
(pcd_list, index, voxel_size, voxelize, th=50)
sam3d.py:165
↓ 1 callers
Function
compute_full_overlapping
(data_root, scene_id, voxel_size=0.05)
scannet-preprocess/scannet_pair/compute_full_overlapping.py:51
↓ 1 callers
Method
decompress_color
(self, compression_type)
scannet-preprocess/scannet_pair/SensorData.py:32
↓ 1 callers
Method
decompress_color
(self, compression_type)
scannet-preprocess/prepare_2d_data/SensorData.py:34
↓ 1 callers
Method
decompress_color_jpeg
(self)
scannet-preprocess/scannet_pair/SensorData.py:38
↓ 1 callers
Method
decompress_color_jpeg
(self)
scannet-preprocess/prepare_2d_data/SensorData.py:41
↓ 1 callers
Method
decompress_depth
(self, compression_type)
scannet-preprocess/scannet_pair/SensorData.py:23
↓ 1 callers
Method
decompress_depth
(self, compression_type)
scannet-preprocess/prepare_2d_data/SensorData.py:23
↓ 1 callers
Method
decompress_depth_zlib
(self)
scannet-preprocess/scannet_pair/SensorData.py:29
↓ 1 callers
Method
decompress_depth_zlib
(self)
scannet-preprocess/prepare_2d_data/SensorData.py:30
↓ 1 callers
Method
export_color_images
(self, output_path, image_size=None, frame_skip=1)
scannet-preprocess/scannet_pair/SensorData.py:87
↓ 1 callers
Method
export_color_images
(self, output_path, image_size=None, frame_skip=1)
scannet-preprocess/prepare_2d_data/SensorData.py:89
↓ 1 callers
Method
export_depth_images
(self, output_path, image_size=None, frame_skip=1)
scannet-preprocess/scannet_pair/SensorData.py:71
↓ 1 callers
Method
export_depth_images
(self, output_path, image_size=None, frame_skip=1)
scannet-preprocess/prepare_2d_data/SensorData.py:77
↓ 1 callers
Method
export_intrinsics
(self, output_path)
scannet-preprocess/scannet_pair/SensorData.py:114
↓ 1 callers
Method
export_intrinsics
(self, output_path)
scannet-preprocess/prepare_2d_data/SensorData.py:114
↓ 1 callers
Method
export_poses
(self, output_path, frame_skip=1)
scannet-preprocess/scannet_pair/SensorData.py:107
↓ 1 callers
Method
export_poses
(self, output_path, frame_skip=1)
scannet-preprocess/prepare_2d_data/SensorData.py:106
↓ 1 callers
Function
extractor
(input_path, output_path)
scannet-preprocess/scannet_pair/point_cloud_extractor.py:13
↓ 1 callers
Function
face_normal
(vertex, face)
scannet-preprocess/preprocess_scannet.py:74
↓ 1 callers
Function
farthest_point_sampling_cuda
libs/pointops/src/sampling/sampling_cuda.cpp:7
↓ 1 callers
Function
get_args
Command line arguments.
sam3d.py:246
↓ 1 callers
Function
get_pcd
(scene_name, color_name, rgb_path, mask_generator, save_2dmask_path)
sam3d.py:51
↓ 1 callers
Function
get_sam
(image, mask_generator)
sam3d.py:39
↓ 1 callers
Function
grouping_backward_cuda
libs/pointops/src/grouping/grouping_cuda.cpp:15
↓ 1 callers
Function
grouping_forward_cuda
libs/pointops/src/grouping/grouping_cuda.cpp:7
↓ 1 callers
Function
interpolation_backward_cuda
libs/pointops/src/interpolation/interpolation_cuda.cpp:16
↓ 1 callers
Function
interpolation_forward_cuda
libs/pointops/src/interpolation/interpolation_cuda.cpp:7
↓ 1 callers
Function
knn_query_cuda
libs/pointops/src/knn_query/knn_query_cuda.cpp:7
↓ 1 callers
Method
load
(self, filename)
scannet-preprocess/scannet_pair/SensorData.py:47
↓ 1 callers
Method
load
(self, file_handle)
scannet-preprocess/prepare_2d_data/SensorData.py:13
↓ 1 callers
Method
load
(self, filename)
scannet-preprocess/prepare_2d_data/SensorData.py:52
↓ 1 callers
Function
main
()
scannet-preprocess/scannet_pair/generage_list.py:20
↓ 1 callers
Function
main
()
scannet-preprocess/prepare_2d_data/prepare_2d_data.py:65
↓ 1 callers
Function
make_open3d_point_cloud
(xyz, color=None, voxel_size=None)
scannet-preprocess/scannet_pair/compute_full_overlapping.py:15
↓ 1 callers
Function
map_label_image
(image, label_mapping)
scannet-preprocess/prepare_2d_data/prepare_2d_data.py:58
↓ 1 callers
Function
overlap_percentage
(mask1, mask2)
util.py:108
↓ 1 callers
Function
pairwise_indices
(length)
util.py:178
↓ 1 callers
Function
point_indices_from_group
(seg_indices, group, labels_pd)
scannet-preprocess/preprocess_scannet.py:48
↓ 1 callers
Function
print_error
(message)
scannet-preprocess/prepare_2d_data/prepare_2d_data.py:52
↓ 1 callers
Function
random_ball_query_cuda
libs/pointops/src/random_ball_query/random_ball_query_cuda.cpp:7
↓ 1 callers
Function
read_plymesh
Read ply file and return it as numpy array. Returns None if emtpy.
scannet-preprocess/preprocess_scannet.py:37
↓ 1 callers
Function
reader
(filename, output_path, frame_skip, export_color_images=False, exp
scannet-preprocess/scannet_pair/reader.py:7
↓ 1 callers
Function
represents_int
(s)
scannet-preprocess/prepare_2d_data/util.py:26
↓ 1 callers
Function
seg_pcd
(scene_name, rgb_path, data_path, save_path, mask_generator, voxel_size, voxelize, th, train_scenes, val_scene
sam3d.py:201
↓ 1 callers
Function
subtraction_backward_cuda
libs/pointops/src/subtraction/subtraction_cuda.cpp:16
↓ 1 callers
Function
subtraction_forward_cuda
libs/pointops/src/subtraction/subtraction_cuda.cpp:7
↓ 1 callers
Function
vertex_normal
(vertex, face)
scannet-preprocess/preprocess_scannet.py:84
↓ 1 callers
Function
visualize_partition
(coord, group_id, save_path)
util.py:255
↓ 1 callers
Function
visualize_pcd
(coord, pcd_color, labels, save_path)
util.py:225
Function
PYBIND11_MODULE
libs/pointops/src/pointops_api.cpp:15
Method
__call__
(self, data_dict)
util.py:32
Method
__contains__
(self, name)
scannet-preprocess/scannet_pair/plyfile.py:339
Method
__getitem__
(self, name)
scannet-preprocess/scannet_pair/plyfile.py:342
next →
1–100 of 186, ranked by callers