diff --git a/tutorials/spatial_transformations/python/transformations.ipynb b/tutorials/spatial_transformations/python/transformations.ipynb index 5d3e6c7f7e8d6da8cb07ae777ce34efd0266e7b1..d9ab9e477a45507998f3a01d8631b64fed7cc97b 100644 --- a/tutorials/spatial_transformations/python/transformations.ipynb +++ b/tutorials/spatial_transformations/python/transformations.ipynb @@ -21,9 +21,43 @@ "

\n",
"interpn(points, values, xi, method=\"linear\", bounds_error=True, fill_value=np.nan):\n",
"   Parameters:\n",
@@ -215,12 +249,12 @@
},
{
"cell_type": "code",
-   "execution_count": 6,
+   "execution_count": 12,
"outputs": [
{
"data": {
"text/plain": [
""
]
@@ -284,7 +318,7 @@
},
{
"cell_type": "code",
-   "execution_count": 8,
+   "execution_count": 13,
"outputs": [
{
@@ -296,7 +330,7 @@
}
],
"source": [
-    "# LLt's begin with specifying the coordinates [x,y,1]\n",
+    "# Let's begin with specifying the coordinates [x,y,1]\n",
"image_coordinates = np.concatenate((XX.reshape(-1,1), YY.reshape(-1,1), np.ones((np.prod(image.shape), 1))), axis=1).T\n",
"print(image_coordinates.shape)"
]
@@ -317,12 +351,12 @@
},
{
"cell_type": "code",
-   "execution_count": 9,
+   "execution_count": 14,
"outputs": [
{
"data": {
"text/plain": [
""
]
@@ -374,7 +408,7 @@
},
{
"cell_type": "code",
-   "execution_count": 10,
+   "execution_count": 15,
"outputs": [
{
@@ -399,12 +433,12 @@
},
{
"cell_type": "code",
-   "execution_count": 11,
+   "execution_count": 16,
"outputs": [
{
"data": {
"text/plain": [
""
]
@@ -451,7 +485,7 @@
},
{
"cell_type": "code",
-   "execution_count": 12,
+   "execution_count": 17,
"outputs": [
{
@@ -488,7 +522,7 @@
},
{
"cell_type": "code",
-   "execution_count": 13,
+   "execution_count": 18,
"outputs": [
{
@@ -521,12 +555,12 @@
},
{
"cell_type": "code",
-   "execution_count": 14,
+   "execution_count": 19,
"outputs": [
{
"data": {
"text/plain": [
""
]
@@ -581,12 +615,12 @@
},
{
"cell_type": "code",
-   "execution_count": 15,
+   "execution_count": 20,
"outputs": [
{
"data": {
"text/plain": [
""
]
@@ -645,12 +679,12 @@
},
{
"cell_type": "code",
-   "execution_count": 16,
+   "execution_count": 21,
"outputs": [
{
"data": {
"text/plain": [
""
]
@@ -723,12 +757,12 @@
},
{
"cell_type": "code",
-   "execution_count": 17,
+   "execution_count": 24,
"outputs": [
{
"data": {
"text/plain": [
""
]
@@ -796,12 +830,12 @@
},
{
"cell_type": "code",
-   "execution_count": 18,
+   "execution_count": 25,
"outputs": [
{
"data": {
"text/plain": [
""
]
@@ -883,12 +917,12 @@
},
{
"cell_type": "code",
-   "execution_count": 20,
+   "execution_count": 26,
"outputs": [
{
"data": {
"text/plain": [
""
]
@@ -929,6 +963,13 @@
"plt.show()\n",
"\n"
]
+  },
+  {
+   "cell_type": "code",
+   "execution_count": null,