Creato con Colab
This commit is contained in:
+4
-4
@@ -388,6 +388,8 @@
|
||||
" # Combined rotation matrix (Z-Y-X order)\n",
|
||||
" rotation_matrix = rot_z @ rot_y @ rot_x\n",
|
||||
"\n",
|
||||
" points[:,0:3] = points[:,0:3].astype(np.float64)\n",
|
||||
"\n",
|
||||
" points[:,0:3] = (points[:,0:3] * np.array(scale, dtype=np.float64)).astype(np.float64)\n",
|
||||
"\n",
|
||||
" # Apply rotation\n",
|
||||
@@ -684,8 +686,7 @@
|
||||
" return blurred"
|
||||
],
|
||||
"metadata": {
|
||||
"id": "PoTzLauTQlHl",
|
||||
"cellView": "form"
|
||||
"id": "PoTzLauTQlHl"
|
||||
},
|
||||
"execution_count": null,
|
||||
"outputs": []
|
||||
@@ -783,8 +784,7 @@
|
||||
"points = transform_points(points, translate=(0, 0, 0), rotate=(0, 0, 0), scale=(1,1,0.5))"
|
||||
],
|
||||
"metadata": {
|
||||
"id": "gEjBciYYldPF",
|
||||
"cellView": "form"
|
||||
"id": "gEjBciYYldPF"
|
||||
},
|
||||
"execution_count": null,
|
||||
"outputs": []
|
||||
|
||||
Reference in New Issue
Block a user