Segment objects folder

operators.tdp.segment_objects_folder(client, in_points_folder='/in_points_folder', in_labels_folder='/in_labels_folder', out_directory='segmented_object', out_prefix='object', label_col='classification', object_class=68, max_distance=2, min_points=100, worker_instance_type='P2', manager_instance_type='small', extension_in_points_file='.laz', extension_in_labels_file='.laz', skip_existing_files=False)

segment_objects_folder(client,
in_points_folder=’/in_points_folder’,
in_labels_folder=’/in_labels_folder’,
out_directory=’segmented_object’,
out_prefix=’object’,
label_col=’classification’,
object_class=68,
max_distance=2,
min_points=100,
worker_instance_type=’P2’,
manager_instance_type=”small”,
extension_in_points_folder=”.laz_files_test”,
extension_in_labels_folder=”.laz_files_test”,
skip_existing_files = False )
Parameters:
  • out_directory – output directory

  • out_prefix – output filename prefix

  • label_col – label column id

  • object_class – obejct class

  • max_distance – maximum distance for segmentation

  • min_points – minimum number of points

  • in_points_folder – input folder points

  • in_labels_folder – input folder labels

  • worker_instance_type – cloud instance type of worker nodes

  • manager_instance_type – cloud instance type of manager node

  • extension_in_points_folder – File extension of files in folder for in_points_folder

  • extension_in_labels_folder – File extension of files in folder for in_labels_folder

  • skip_existing_files – skip files that already exist in the output folder