You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/gh/components/DF_joint_segmentator/code.py
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,13 @@
5
5
importdiffCheck.df_util
6
6
7
7
defmain():
8
-
passS
8
+
# assume two inputs: i_cloud and i_joints. i_cloud is the point cloud of the whole object, i_joints is a list of list the meshes of the joints. [[face_1_joint_A, face_2_joint_A, ...], [face_1_joint_B, face_2_joint_B, ...], ...]
9
+
# segment the joints from the i_cloud and store them in a list that follows the same structure as i_joints: [joint_A, joint_B, ...]
10
+
# for each joint point cloud, perform a registration by populating the corresponding mesh faces of each joint
11
+
# apply the registration to the segmented joint point cloud and re-segment the joints
12
+
# the result is a list of list of the segmented joints, where each segment is locally registered to the corresponding mesh faces: [[face_1_joint_A_arfter_reg_a, face_2_joint_A_after_reg_a, ...], [face_1_joint_B_after_reg_b, face_2_joint_B_after_reg_b, ...], ...]
13
+
# that way we can analyse the joints individually (face 1 of joint A is too much to the left, ...)
0 commit comments