Newer
Older
# 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**
- Takes the path to the image as input.
- Sets self.path.
- Is triggered on button click.
- Takes self.path as input.
- Displays the input image on the GUI.
- Is triggered on button click.
- Takes no input.
- Sets self.editEnabled to true.
- Is triggered on button click.
- Takes self.path as input.
- Calculates gradients in input image and saves as self.gradient
- Takes no input.
- Creates a point of the spline on the image when the users clicks left clicks.
- Adds the point to self.points.
- Takes no input.
- Removes the point the user is hovering over when the user right clicks.
- Removes the point from self.points.
- Updates self.alpha.
- Is triggered by slider.
- Updates self.beta.
- Is triggered by slider.
- Takes self.points, self.gradient, self.alpha and self.beta as inputs.
- Performs active contour for finding the curve.
- Displays the found _snake_.
- Sets self.exportPath to the path chosen (by GUI-popup?) by the user.
- Takes self.exportPath as input.
- Creats a new np-array file on the chosen path containing the found snake.