Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
bob.bio.vein
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bob
bob.bio.vein
Commits
99973218
Commit
99973218
authored
Mar 08, 2017
by
Vedrana KRIVOKUCA
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modified MaximumCurvature solving bob.core.convert error
parent
42265bef
Pipeline
#7697
passed with stages
in 12 minutes and 26 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
bob/bio/vein/extractor/MaximumCurvature.py
bob/bio/vein/extractor/MaximumCurvature.py
+3
-2
No files found.
bob/bio/vein/extractor/MaximumCurvature.py
View file @
99973218
...
...
@@ -36,8 +36,9 @@ class MaximumCurvature (Extractor):
"""Computes and returns the Maximum Curvature features for the given input
fingervein image"""
if
image
.
dtype
!=
numpy
.
uint8
:
image
=
bob
.
core
.
convert
(
image
,
numpy
.
uint8
,(
0
,
255
),(
0
,
1
))
# Convert image to uint8 - NOT NECESSARY AFTER MODIFICATION TO FingerCrop, which rescales intensities of histogram equalized preprocessed images to range (0, 255)
#if image.dtype != numpy.uint8:
# image = bob.core.convert(image,numpy.uint8,(0,255),(0,1))
#No es necesario pasarlo a uint8, en matlab lo dejan en float64. Comprobar si varian los resultados en vera database y ajustar.
finger_mask
=
numpy
.
zeros
(
mask
.
shape
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment