Skip to content

Commit

Permalink
egocentric align
Browse files Browse the repository at this point in the history
  • Loading branch information
sronilsson committed Dec 9, 2024
1 parent 72440ab commit 5f48bb8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/nb/egocentric_align.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"\n",
"While egocentric alignment is an essential first step, it is often insufficient by itself for comprehensive analyses. Additional preprocessing steps are typically required, such as:\n",
"\n",
"* Background subtraction to isolate the animal from its surroundings (see other relevant methods and notebooks).\n",
"* Geometric segmentation to slice out and focus on the subject (again, see other relevant methods and notebooks).\n",
"* Background subtraction to isolate the animal from its surroundings (see other methods / notebooks).\n",
"* Geometric segmentation to slice out and focus on the subject (again, see other methods / notebooks).\n",
"\n",
"In this notebook, we will focus exclusively on performing egocentric alignment. Further preprocessing steps are outlined in related materials."
]
Expand Down Expand Up @@ -226,7 +226,7 @@
{
"cell_type": "code",
"execution_count": 11,
"id": "1f1e6c46",
"id": "89f3a341",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -235,7 +235,7 @@
"ANCHOR_POINT_2 = 'snout' \n",
"DIRECTION = 0 \n",
"ANCHOR_LOCATION = (600, 300)\n",
"FILL_COLOR = (128, 120, 128) \n",
"FILL_COLOR = (128, 120, 128) #SET BACKGROUND TO GRAY\n",
"\n",
"DATA_DIRECTORY = r'C:\\troubleshooting\\open_field_below\\project_folder\\csv\\outlier_corrected_movement_location'\n",
"VIDEOS_DIRECTORY = r'C:\\troubleshooting\\open_field_below\\project_folder\\videos'\n",
Expand All @@ -245,7 +245,7 @@
{
"cell_type": "code",
"execution_count": 12,
"id": "588449dc",
"id": "f1cbad63",
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -275,8 +275,8 @@
},
{
"cell_type": "code",
"execution_count": 19,
"id": "f03907d1",
"execution_count": 21,
"id": "4d7a243d",
"metadata": {},
"outputs": [
{
Expand All @@ -288,7 +288,7 @@
"<IPython.core.display.HTML object>"
]
},
"execution_count": 19,
"execution_count": 21,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -303,7 +303,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "84663ecc",
"id": "70b3326f",
"metadata": {},
"outputs": [],
"source": []
Expand Down
1 change: 1 addition & 0 deletions docs/notebooks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ Some example operations pertaining to working with animals and environments as g
nb/yolo_ex_1
nb/yolo_ex_2
nb/bg_remove
nb/egocentric_align

Miscellaneous
-------------------
Expand Down

0 comments on commit 5f48bb8

Please sign in to comment.