Creato con Colab

This commit is contained in:
Christian
2025-03-20 16:43:09 +01:00
parent 8121009fc2
commit e453a8f4a2
+4 -4
View File
@@ -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": []