diff --git a/ast2d/__pycache__/__init__.cpython-310.pyc b/ast2d/__pycache__/__init__.cpython-310.pyc deleted file mode 100644 index b27e7d2af13426ea3e07b8356a8d4f3a3537b643..0000000000000000000000000000000000000000 Binary files a/ast2d/__pycache__/__init__.cpython-310.pyc and /dev/null differ diff --git a/ast2d/__pycache__/advancedSettingsWidget.cpython-310.pyc b/ast2d/__pycache__/advancedSettingsWidget.cpython-310.pyc deleted file mode 100644 index 54244ebfa2b2c008c1d1c29dc26e5e41c97c324a..0000000000000000000000000000000000000000 Binary files a/ast2d/__pycache__/advancedSettingsWidget.cpython-310.pyc and /dev/null differ diff --git a/ast2d/__pycache__/circleEditorGraphicsView.cpython-310.pyc b/ast2d/__pycache__/circleEditorGraphicsView.cpython-310.pyc deleted file mode 100644 index 6f9e5767d207f9cf7705b7cc0f922fbe0e7538fc..0000000000000000000000000000000000000000 Binary files a/ast2d/__pycache__/circleEditorGraphicsView.cpython-310.pyc and /dev/null differ diff --git a/ast2d/__pycache__/circleEditorWidget.cpython-310.pyc b/ast2d/__pycache__/circleEditorWidget.cpython-310.pyc deleted file mode 100644 index 7110c576008b3c637114913c35c71e289f3bb45e..0000000000000000000000000000000000000000 Binary files a/ast2d/__pycache__/circleEditorWidget.cpython-310.pyc and /dev/null differ diff --git a/ast2d/__pycache__/circle_edge_kernel.cpython-310.pyc b/ast2d/__pycache__/circle_edge_kernel.cpython-310.pyc deleted file mode 100644 index f3c7fc0d04717ae6aca9d1cdc4d35d53995bf69e..0000000000000000000000000000000000000000 Binary files a/ast2d/__pycache__/circle_edge_kernel.cpython-310.pyc and /dev/null differ diff --git a/ast2d/__pycache__/compute_cost_image.cpython-310.pyc b/ast2d/__pycache__/compute_cost_image.cpython-310.pyc deleted file mode 100644 index baecc404908466ddcdf86b320446ef6c083b0be9..0000000000000000000000000000000000000000 Binary files a/ast2d/__pycache__/compute_cost_image.cpython-310.pyc and /dev/null differ diff --git a/ast2d/__pycache__/compute_disk_size.cpython-310.pyc b/ast2d/__pycache__/compute_disk_size.cpython-310.pyc deleted file mode 100644 index 7b117c107aaa6b8248d9f11a59c2d464176a5243..0000000000000000000000000000000000000000 Binary files a/ast2d/__pycache__/compute_disk_size.cpython-310.pyc and /dev/null differ diff --git a/ast2d/__pycache__/draggableCircleItem.cpython-310.pyc b/ast2d/__pycache__/draggableCircleItem.cpython-310.pyc deleted file mode 100644 index e52caac1a41facfb0bd0a074a987fd9d4c5e1234..0000000000000000000000000000000000000000 Binary files a/ast2d/__pycache__/draggableCircleItem.cpython-310.pyc and /dev/null differ diff --git a/ast2d/__pycache__/find_path.cpython-310.pyc b/ast2d/__pycache__/find_path.cpython-310.pyc deleted file mode 100644 index cb04cf6448adf91b543234b99e84c26abb94d721..0000000000000000000000000000000000000000 Binary files a/ast2d/__pycache__/find_path.cpython-310.pyc and /dev/null differ diff --git a/ast2d/__pycache__/imageGraphicsView.cpython-310.pyc b/ast2d/__pycache__/imageGraphicsView.cpython-310.pyc deleted file mode 100644 index 1aa5867d7d89d02a091b26f50864c32e42ffc379..0000000000000000000000000000000000000000 Binary files a/ast2d/__pycache__/imageGraphicsView.cpython-310.pyc and /dev/null differ diff --git a/ast2d/__pycache__/labeledPointItem.cpython-310.pyc b/ast2d/__pycache__/labeledPointItem.cpython-310.pyc deleted file mode 100644 index 978aafc5bcc2653043b1d103e1935c2baf21bff9..0000000000000000000000000000000000000000 Binary files a/ast2d/__pycache__/labeledPointItem.cpython-310.pyc and /dev/null differ diff --git a/ast2d/__pycache__/load_image.cpython-310.pyc b/ast2d/__pycache__/load_image.cpython-310.pyc deleted file mode 100644 index 963948684b5ede87065750dcf44efdfc98c3ea73..0000000000000000000000000000000000000000 Binary files a/ast2d/__pycache__/load_image.cpython-310.pyc and /dev/null differ diff --git a/ast2d/__pycache__/mainWindow.cpython-310.pyc b/ast2d/__pycache__/mainWindow.cpython-310.pyc deleted file mode 100644 index 71fe376075022673956a3c4d2a4f79e811b528a3..0000000000000000000000000000000000000000 Binary files a/ast2d/__pycache__/mainWindow.cpython-310.pyc and /dev/null differ diff --git a/ast2d/__pycache__/panZoomGraphicsView.cpython-310.pyc b/ast2d/__pycache__/panZoomGraphicsView.cpython-310.pyc deleted file mode 100644 index f12867c40be921a81b1059fd4ad7a040e88e610b..0000000000000000000000000000000000000000 Binary files a/ast2d/__pycache__/panZoomGraphicsView.cpython-310.pyc and /dev/null differ diff --git a/ast2d/__pycache__/preprocess_image.cpython-310.pyc b/ast2d/__pycache__/preprocess_image.cpython-310.pyc deleted file mode 100644 index d0dfa7c9fb3934e154036fdb3cdef6adb6b2c66c..0000000000000000000000000000000000000000 Binary files a/ast2d/__pycache__/preprocess_image.cpython-310.pyc and /dev/null differ diff --git a/functions.md b/functions.md deleted file mode 100644 index 99f1d380abbfdc2dc2df01d4f10297a5ac2999de..0000000000000000000000000000000000000000 --- a/functions.md +++ /dev/null @@ -1,67 +0,0 @@ -# Function Overview - -## **Tracing Sutures (Interactive Path Tracing in 2D Images)** -_This project seeks to develop a GUI enabling users to interactively create and extract paths in 2D images._ - ---- - -## **Functions List** - -- `set_img_path` - - Takes the path to the image as input. - - Sets self.path. - - Is triggered on button click. - -- `load_img` - - Takes self.path as input. - - Displays the input image on the GUI. - - Is triggered on button click. - -- `start_edit` - - Takes no input. - - Sets self.editEnabled to true. - - Is triggered on button click. - -- `calc_gradients` - - Takes self.path as input. - - Calculates gradients in input image and saves as self.gradient - - Is triggered by `load_img`. - -- `set_point` - - Takes no input. - - Creates a point of the spline on the image when the users clicks left clicks. - - Adds the point to self.points. - -- `remove_point` - - Takes no input. - - Removes the point the user is hovering over when the user right clicks. - - Removes the point from self.points. - -- `update_alpha` - - Updates self.alpha. - - Is triggered by slider. - -- `update_beta` - - Updates self.beta. - - Is triggered by slider. - -- `active_contour` - - Takes self.points, self.gradient, self.alpha and self.beta as inputs. - - Performs active contour for finding the curve. - - Displays the found _snake_. - -- `set_export_path` - - Sets self.exportPath to the path chosen (by GUI-popup?) by the user. - -- `export_line` - - Takes self.exportPath as input. - - Creats a new np-array file on the chosen path containing the found snake. - - -## **Notes** -_This is only a rough first draft/overview of the functions needed for the project._ - ---- - -**Author:** Christian Bjerregaard -**Date:** 07-01-2025 diff --git a/functions.md.save b/functions.md.save deleted file mode 100644 index 1c066968fe9bc3f4a5bb909be44d0fb35926c7bb..0000000000000000000000000000000000000000 --- a/functions.md.save +++ /dev/null @@ -1,2 +0,0 @@ - -e diff --git a/ast2d/__init__.py b/pt2d/__init__.py similarity index 100% rename from ast2d/__init__.py rename to pt2d/__init__.py diff --git a/ast2d/advancedSettingsWidget.py b/pt2d/advancedSettingsWidget.py similarity index 100% rename from ast2d/advancedSettingsWidget.py rename to pt2d/advancedSettingsWidget.py diff --git a/ast2d/circleEditorGraphicsView.py b/pt2d/circleEditorGraphicsView.py similarity index 100% rename from ast2d/circleEditorGraphicsView.py rename to pt2d/circleEditorGraphicsView.py diff --git a/ast2d/circleEditorWidget.py b/pt2d/circleEditorWidget.py similarity index 100% rename from ast2d/circleEditorWidget.py rename to pt2d/circleEditorWidget.py diff --git a/ast2d/circle_edge_kernel.py b/pt2d/circle_edge_kernel.py similarity index 100% rename from ast2d/circle_edge_kernel.py rename to pt2d/circle_edge_kernel.py diff --git a/ast2d/compute_cost_image.py b/pt2d/compute_cost_image.py similarity index 100% rename from ast2d/compute_cost_image.py rename to pt2d/compute_cost_image.py diff --git a/ast2d/compute_disk_size.py b/pt2d/compute_disk_size.py similarity index 100% rename from ast2d/compute_disk_size.py rename to pt2d/compute_disk_size.py diff --git a/ast2d/downscale.py b/pt2d/downscale.py similarity index 100% rename from ast2d/downscale.py rename to pt2d/downscale.py diff --git a/ast2d/draggableCircleItem.py b/pt2d/draggableCircleItem.py similarity index 100% rename from ast2d/draggableCircleItem.py rename to pt2d/draggableCircleItem.py diff --git a/ast2d/find_path.py b/pt2d/find_path.py similarity index 100% rename from ast2d/find_path.py rename to pt2d/find_path.py diff --git a/ast2d/imageGraphicsView.py b/pt2d/imageGraphicsView.py similarity index 100% rename from ast2d/imageGraphicsView.py rename to pt2d/imageGraphicsView.py diff --git a/ast2d/labeledPointItem.py b/pt2d/labeledPointItem.py similarity index 100% rename from ast2d/labeledPointItem.py rename to pt2d/labeledPointItem.py diff --git a/ast2d/load_image.py b/pt2d/load_image.py similarity index 100% rename from ast2d/load_image.py rename to pt2d/load_image.py diff --git a/ast2d/mainWindow.py b/pt2d/mainWindow.py similarity index 100% rename from ast2d/mainWindow.py rename to pt2d/mainWindow.py diff --git a/ast2d/panZoomGraphicsView.py b/pt2d/panZoomGraphicsView.py similarity index 100% rename from ast2d/panZoomGraphicsView.py rename to pt2d/panZoomGraphicsView.py diff --git a/ast2d/preprocess_image.py b/pt2d/preprocess_image.py similarity index 100% rename from ast2d/preprocess_image.py rename to pt2d/preprocess_image.py