Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pt2d
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
QIM
Tools
pt2d
Commits
6357a515
Commit
6357a515
authored
6 months ago
by
s224389
Browse files
Options
Downloads
Patches
Plain Diff
Updated functions.md
parent
dbe23314
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!2
Add preparations
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
functions.md
+13
-13
13 additions, 13 deletions
functions.md
with
13 additions
and
13 deletions
functions.md
+
13
−
13
View file @
6357a515
...
@@ -7,58 +7,58 @@ _This project seeks to develop a GUI enabling users to interactively create and
...
@@ -7,58 +7,58 @@ _This project seeks to develop a GUI enabling users to interactively create and
## **Functions List**
## **Functions List**
-
'
set_img_path
'
-
`
set_img_path
`
-
Takes the path to the image as input.
-
Takes the path to the image as input.
-
Sets self.path.
-
Sets self.path.
-
Is triggered on button click.
-
Is triggered on button click.
-
'
load_img
'
-
`
load_img
`
-
Takes self.path as input.
-
Takes self.path as input.
-
Displays the input image on the GUI.
-
Displays the input image on the GUI.
-
Is triggered on button click.
-
Is triggered on button click.
-
'
start_edit
'
-
`
start_edit
`
-
Takes no input.
-
Takes no input.
-
Sets self.editEnabled to true.
-
Sets self.editEnabled to true.
-
Is triggered on button click.
-
Is triggered on button click.
-
'
calc_gradients
'
-
`
calc_gradients
`
-
Takes self.path as input.
-
Takes self.path as input.
-
Calculates gradients in input image and saves as self.gradient
-
Calculates gradients in input image and saves as self.gradient
-
Is triggered by
'
load_img
'
.
-
Is triggered by
`
load_img
`
.
-
'
set_point
'
-
`
set_point
`
-
Takes no input.
-
Takes no input.
-
Creates a point of the spline on the image when the users clicks left clicks.
-
Creates a point of the spline on the image when the users clicks left clicks.
-
Adds the point to self.points.
-
Adds the point to self.points.
-
'
remove_point
'
-
`
remove_point
`
-
Takes no input.
-
Takes no input.
-
Removes the point the user is hovering over when the user right clicks.
-
Removes the point the user is hovering over when the user right clicks.
-
Removes the point from self.points.
-
Removes the point from self.points.
-
'
update_alpha
'
-
`
update_alpha
`
-
Updates self.alpha.
-
Updates self.alpha.
-
Is triggered by slider.
-
Is triggered by slider.
-
'
update_beta
'
-
`
update_beta
`
-
Updates self.beta.
-
Updates self.beta.
-
Is triggered by slider.
-
Is triggered by slider.
-
'
active_contour
'
-
`
active_contour
`
-
Takes self.points, self.gradient, self.alpha and self.beta as inputs.
-
Takes self.points, self.gradient, self.alpha and self.beta as inputs.
-
Performs active contour for finding the curve.
-
Performs active contour for finding the curve.
-
Displays the found _snake_.
-
Displays the found _snake_.
-
'
set_export_path
'
-
`
set_export_path
`
-
Sets self.exportPath to the path chosen (by GUI-popup?) by the user.
-
Sets self.exportPath to the path chosen (by GUI-popup?) by the user.
-
'
export_line
'
-
`
export_line
`
-
Takes self.exportPath as input.
-
Takes self.exportPath as input.
-
Creats a new np-array file on the chosen path containing the found snake.
-
Creats a new np-array file on the chosen path containing the found snake.
##
📎
**Notes**
## **Notes**
_This is only a rough first draft/overview of the functions needed for the project._
_This is only a rough first draft/overview of the functions needed for the project._
---
---
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment