MCPcopy Create free account

hub / github.com/aistairc/PinSout / functions

Functions312 in github.com/aistairc/PinSout

Method__str__
(self)
src/utils/plyfile.py:345
Method__str__
(self)
src/utils/plyfile.py:707
Method__str__
(self)
src/utils/plyfile.py:811
Method__str__
(self)
src/utils/plyfile.py:907
Method_from_fields
(self, fields)
src/utils/plyfile.py:856
Method_get_byte_order
(self)
src/utils/plyfile.py:202
Method_get_data
(self)
src/utils/plyfile.py:403
Method_get_elements
(self)
src/utils/plyfile.py:193
Method_get_len_dtype
(self)
src/utils/plyfile.py:832
Method_get_properties
(self)
src/utils/plyfile.py:418
Method_get_val_dtype
(self)
src/utils/plyfile.py:729
Method_parse_one
(line)
src/utils/plyfile.py:747
Method_read_bin
Read data from a binary stream. Raise StopIteration if the property could not be read.
src/utils/plyfile.py:793
Method_read_bin
(self, stream, byte_order)
src/utils/plyfile.py:881
Method_set_byte_order
(self, byte_order)
src/utils/plyfile.py:205
Method_set_data
(self, data)
src/utils/plyfile.py:406
Method_set_elements
(self, elements)
src/utils/plyfile.py:196
Method_set_len_dtype
(self, len_dtype)
src/utils/plyfile.py:835
Method_set_properties
(self, properties)
src/utils/plyfile.py:421
Method_set_val_dtype
(self, val_dtype)
src/utils/plyfile.py:732
Method_to_fields
Return generator over the (numerical) PLY representation of the list data (length followed by actual data).
src/utils/plyfile.py:867
Method_write_bin
Write data to a binary stream.
src/utils/plyfile.py:804
Method_write_bin
Write data to a binary stream.
src/utils/plyfile.py:895
Functionangle_axis2euler
Convert angle, axis pair to Euler angles Parameters ---------- theta : scalar angle of rotation vector : 3 element sequence
src/utils/eulerangles.py:382
Functionavg_distance
Checking the outline point is near by main plane Args: normal_vector: Equation of main plane point_list: Outline point(4) of sub
src/PointCloudUtils.py:574
Functionavg_pool2d
2D avg pooling. Args: inputs: 4-D tensor BxHxWxC kernel_size: a list of 2 ints stride: a list of 2 ints Returns: Va
src/utils/tf_util.py:376
Functionavg_pool3d
3D avg pooling. Args: inputs: 5-D tensor BxDxHxWxC kernel_size: a list of 3 ints stride: a list of 3 ints Returns:
src/utils/tf_util.py:428
Functionbatch_mkdir
(output_folder, subdir_list)
src/utils/data_prep_util.py:48
Functionbbox_label_to_obj
Visualization of bounding boxes. Args: input_filename: each line is x1 y1 z1 x2 y2 z2 label out_filename_prefix: OBJ filename pr
src/sem_seg/indoor3d_util.py:389
Functionbbox_label_to_obj_room
Visualization of bounding boxes. Args: input_filename: each line is x1 y1 z1 x2 y2 z2 label out_filename_prefix: OBJ filename pr
src/sem_seg/indoor3d_util.py:453
Methodcheck_point_on_line
(self, point, line_normal, e=0.0)
src/plane_ransac.py:863
Methodcheck_point_range_2
Check whether the pointer is included in the bounding box Check the pointer's X, Y and Z values are included in the bounding box
src/plane_ransac.py:826
Functioncheck_point_range_e
Check whether the pointer is included in the bounding box Check the pointer's X, Y and Z values are included in the bounding box Args:
src/PointCloudUtils.py:67
Methodcheck_point_side
(self, point, side_lines)
src/plane_ransac.py:795
Functioncheck_range
Checking the point included in certain area Args: points: [x, y, z] point bbox: Bounding box information [[minX, minY, minZ], [ma
src/PointCloudUtils.py:260
Methodclustering2
Clustering the orginal point cloud data The voxelization of the original data for the downsampling. Extract clustered data fr
src/plane_ransac.py:88
Methodcmp_to_key
Convert a cmp= function into a key= function
src/plane_ransac.py:1375
Functioncollect_bounding_box
Compute bounding boxes from each instance in original dataset files on one room. **We assume the bbox is aligned with XYZ coordinate.**
src/sem_seg/indoor3d_util.py:346
Functioncollect_point_bounding_box
Compute bounding boxes from each instance in original dataset files on one room. **We assume the bbox is aligned with XYZ coordinate.**
src/sem_seg/indoor3d_util.py:533
Functioncollect_point_label
Convert original dataset files to data_label file (each line is XYZRGBL). We aggregated all the points from each instance in the room. A
src/sem_seg/indoor3d_util.py:33
Functionconv1d
1D convolution with non-linear operation. Args: inputs: 3-D tensor variable BxLxC num_output_channels: int kernel_size: int
src/utils/tf_util.py:54
Functionconv2d
2D convolution with non-linear operation. Args: inputs: 4-D tensor variable BxHxWxC num_output_channels: int kernel_size: a li
src/utils/tf_util.py:112
Functionconv2d_transpose
2D convolution transpose with non-linear operation. Args: inputs: 4-D tensor variable BxHxWxC num_output_channels: int kernel_
src/utils/tf_util.py:172
Functionconv3d
3D convolution with non-linear operation. Args: inputs: 5-D tensor variable BxDxHxWxC num_output_channels: int kernel_size: a
src/utils/tf_util.py:251
Methoddistance_to_point
Calculate the distance between two points Args: point1: information of point (x, y, z) point2: information of point (
src/plane_ransac.py:1237
Methoddo_plane_ransac2
Finding the plane from point cloud data Calculate the surface normals for each point by fitting a plane to the nearest. Args:
src/plane_ransac.py:171
Functiondropout
Dropout layer. Args: inputs: tensor is_training: boolean tf.Variable scope: string keep_prob: float in [0,1] noise
src/utils/tf_util.py:550
Methoddtype
List properties always have a numpy dtype of "object".
src/utils/plyfile.py:840
Functioneuler2angle_axis
Return angle, axis corresponding to these Euler angles Uses the z, then y, then x convention above Parameters ---------- z : scalar
src/utils/eulerangles.py:348
Functionevaluate
(model_path, out_filename, booth_data)
test/Predict.py:38
Functionevaluate
:param model_path: trained model path :param filepath: file stored dir :param booth_data: point cloud data type : Array / value [x, y, z
src/sem_seg/batch_inference.py:25
Functionexport_ply
(pc, filename)
src/utils/data_prep_util.py:15
Functionfully_connected
Fully connected layer with non-linear operation. Args: inputs: 2-D tensor BxN num_outputs: int Returns: Variable tensor o
src/utils/tf_util.py:311
MethodgetBuildingID
(self)
src/citygml/PointCloud_To_CityGML.py:149
Functionget_category_names
()
src/utils/data_prep_util.py:35
Functionget_cos
Make Cos value between 2 planes Args: coeff_1: Equation of plane coeff_2: Equation of plane Returns: model_cos: cos
src/PointCloudUtils.py:296
Methodget_intersection_line
Create intersection points between planes Search intersecting lines between planes where each bounding box intersects. Create
src/plane_ransac.py:1006
Functionget_lengthRate
Making the ration of line segment Args: p_cloud: [x, y, z] point list normal_vector: Equation of sorted_PointList:
src/PointCloudUtils.py:133
Functionget_obj_filenames
()
src/utils/data_prep_util.py:41
Methodget_plane_list
Planar data extraction from clustered cloud Execute the loop statement until the cloud size is greater than or equal to the clustered
src/plane_ransac.py:406
Functionget_sampling_command
(obj_filename, ply_filename)
src/utils/data_prep_util.py:23
Functiongrid_subsampling
PointCloud Voxelization Downsampling using voxelization Args: points: [x, y, z] data list colors: [r, g, b] data list
src/PointCloudUtils.py:366
Functiongrid_subsampling2
Making the GridMap information Dividing the PointCloud data using grid_size Args: points: [x, y, z, r, g, b] data list gri
src/PointCloudUtils.py:405
Methodheader
Provide PLY-formatted metadata for the instance.
src/utils/plyfile.py:307
Methodheader
Format this element's metadata as it would appear in a PLY header.
src/utils/plyfile.py:684
Functionload_h5
(h5_filename)
src/utils/data_prep_util.py:109
Functionload_h5_data_label_normal
(h5_filename)
src/utils/data_prep_util.py:93
Functionload_h5_data_label_seg
(h5_filename)
src/utils/data_prep_util.py:101
Functionload_ply_data
(filename, point_num)
src/utils/data_prep_util.py:120
Functionload_ply_normal
(filename, point_num)
src/utils/data_prep_util.py:127
Functionmake2d
Make a 2D array from an array of arrays. The `cols' and `dtype' arguments can be omitted if the array is not empty.
src/utils/plyfile.py:101
MethodmakeBuildingSurfaceGeometry
(self)
src/citygml/PointCloud_To_CityGML.py:733
MethodmakeNodeList
(self, array)
src/citygml/PointCloud_To_CityGML.py:525
Methodmake_chair_info
Making the chair information Clustering the chair data. And returns the bounding box of each clustered data Args:
src/plane_ransac.py:558
Functionmake_one_file
Merging the data as file Args: data_list: PointCloud list Returns: Save merged PointCloud data
src/PointCloudUtils.py:433
Functionmake_side_line
Making the Side Line using bounding box and plane equation Finding the intersection point between the equation of the plane and the bounding
src/PointCloudUtils.py:509
Methodmake_straight
Making the straight information and finding the intersect point Generate straight line data using point_1 and point_2. Findin
src/plane_ransac.py:671
Functionmax_pool2d
2D max pooling. Args: inputs: 4-D tensor BxHxWxC kernel_size: a list of 2 ints stride: a list of 2 ints Returns: Va
src/utils/tf_util.py:350
Functionmax_pool3d
3D max pooling. Args: inputs: 5-D tensor BxDxHxWxC kernel_size: a list of 3 ints stride: a list of 3 ints Returns:
src/utils/tf_util.py:402
Functionmean_var_with_update
()
src/utils/tf_util.py:482
Methodmerge_dup_plane
Merging the parallel planes If the planes are parallel and the bounding boxes overlap, they are merged into one plane. Args:
src/plane_ransac.py:314
Functionmerge_one_file
Merging the data Args: data_list: PointCloud list Returns: merged_cloud: Merged PointCloud data bbox_info: Bounding
src/PointCloudUtils.py:450
Methodname
(self)
src/utils/plyfile.py:438
Methodname
(self)
src/utils/plyfile.py:738
Functionpad_arr_rows
(arr, row, pad='edge')
src/utils/data_prep_util.py:135
Methodplane_cluster
Clustering the exported plane data Finding clustered points in the data extracted as planes. Args: cloud_data: Point
src/plane_ransac.py:280
Methodply_property
(self, name)
src/utils/plyfile.py:434
Functionply_to_CityGML_Grid
Reading the .ply data and divide space Dividing the entire PointCloud data into a certain size. Find the minimum value of each segmented data
src/plyTo3Dmodel.py:26
Functionpoint_cloud_to_volume_batch
Input is BxNx3 batch of point cloud Output is Bx(vsize^3)
src/utils/pc_util.py:24
Functionpoint_label_to_obj
For visualization of a room from data_label file, input_filename: each line is X Y Z R G B L out_filename: OBJ filename, visualize inpu
src/sem_seg/indoor3d_util.py:77
MethodpolygonArea
(self, nodeList)
src/citygml/PointCloud_To_CityGML.py:542
Functionpyplot_draw_volume
vol is of size vsize*vsize*vsize output an image to output_filename
src/utils/pc_util.py:193
Functionquat2euler
Return Euler angles corresponding to quaternion `q` Parameters ---------- q : 4 element sequence w, x, y, z of quaternion Re
src/utils/eulerangles.py:319
Functionroom2blocks_wrapper
(data_label_filename, num_point, block_size=1.0, stride=1.0, random_sample=False, samp
src/sem_seg/indoor3d_util.py:215
Functionroom2blocks_wrapper_normalized
(data_label_filename, num_point, block_size=1.0, stride=1.0, random_sample=
src/sem_seg/indoor3d_util.py:255
Functionroom2samples_wrapper_normalized
(data_label_filename, num_point)
src/sem_seg/indoor3d_util.py:331
FunctionsaveAsWKT
Creating the WKT information using room info Making the SOLID information usin each room information Args: roomIndex: Clustered a
src/PointCloudUtils.py:592
Functionsave_h5
(h5_filename, data, label, data_dtype='uint8', label_dtype='uint8')
src/utils/data_prep_util.py:80
Functionsave_h5_data_label_normal
(h5_filename, data, label, normal, data_dtype='float32', label_dtype='uint8', normal_dtype='float32')
src/utils/data_prep_util.py:60
FunctionsetArgs
(**kwargs)
test/Predict.py:190
← previousnext →201–300 of 312, ranked by callers