Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Salamander - API
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
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
Herman Andersen Dyrkorn
Salamander - API
Merge requests
!52
Resolve "Document algorithm functions and classes"
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Resolve "Document algorithm functions and classes"
49-document-algorithm-functions-and-classes
into
master
Overview
0
Commits
2
Pipelines
0
Changes
1
Merged
Anders Langlie
requested to merge
49-document-algorithm-functions-and-classes
into
master
4 years ago
Overview
0
Commits
2
Pipelines
0
Changes
1
Closes
#49 (closed)
Edited
4 years ago
by
Anders Langlie
0
0
Merge request reports
Viewing commit
1de877ed
Prev
Next
Show latest version
1 file
+
5
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
1de877ed
small correction to comment
· 1de877ed
Anders Langlie
authored
4 years ago
algorithm/SalamanderImage.py
+
5
−
3
View file @ 1de877ed
Edit in single-file editor
Open in Web IDE
Show full file
@@ -13,9 +13,11 @@ class SalamanderImage:
def
calculate_descriptors
(
self
):
"""
Calculates the descriptors if the member image
Returns: The calculated descriptors
"""
Calculates the descriptors of the member image
Returns: The calculated descriptors
"""
image
=
cv2
.
imdecode
(
np
.
fromfile
(
self
.
filename
,
dtype
=
np
.
uint8
),
cv2
.
IMREAD_GRAYSCALE
)
Loading