Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.bio.vein
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.bio.vein
Commits
e49fe271
Commit
e49fe271
authored
8 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
Documentation is now compiling cleanly
parent
38ac1db8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!13
Annotation experiments
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
bob/bio/vein/algorithm/MiuraMatch.py
+10
-0
10 additions, 0 deletions
bob/bio/vein/algorithm/MiuraMatch.py
bob/bio/vein/preprocessor/FingerCrop.py
+5
-5
5 additions, 5 deletions
bob/bio/vein/preprocessor/FingerCrop.py
doc/experiments.rst
+0
-93
0 additions, 93 deletions
doc/experiments.rst
with
15 additions
and
98 deletions
bob/bio/vein/algorithm/MiuraMatch.py
+
10
−
0
View file @
e49fe271
...
@@ -18,6 +18,16 @@ class MiuraMatch (Algorithm):
...
@@ -18,6 +18,16 @@ class MiuraMatch (Algorithm):
vein patterns based on repeated line tracking and its application to personal
vein patterns based on repeated line tracking and its application to personal
identification. Machine Vision and Applications, Vol. 15, Num. 4, pp.
identification. Machine Vision and Applications, Vol. 15, Num. 4, pp.
194--203, 2004
194--203, 2004
Parameters:
ch (int, Optional): Maximum search displacement in y-direction. Different
defult values based on the different features.
cw (int, Optional): Maximum search displacement in x-direction. Different
defult values based on the different features.
"""
"""
def
__init__
(
self
,
def
__init__
(
self
,
...
...
This diff is collapsed.
Click to expand it.
bob/bio/vein/preprocessor/FingerCrop.py
+
5
−
5
View file @
e49fe271
...
@@ -50,11 +50,11 @@ class FingerCrop (Preprocessor):
...
@@ -50,11 +50,11 @@ class FingerCrop (Preprocessor):
0.2 in a float image with values between 0 and 1).
0.2 in a float image with values between 0 and 1).
fingercontour (str, Optional): Select between three finger contour
fingercontour (str, Optional): Select between three finger contour
implementations: leemaskMod
,
leemaskMatlab or konomask
. (From Pedro Tome:
implementations:
``
"
leemaskMod
"
``, ``
"
leemaskMatlab
"
``
or
``
"
konomask
"
``.
the option ``leemaskMatlab`` was just implemented for
testing purposes so
(From Pedro Tome:
the option ``leemaskMatlab`` was just implemented for
we could compare with MAT files generated from Matlab
code of other
testing purposes so
we could compare with MAT files generated from Matlab
authors. He only used it with the UTFVP database, using
``leemaskMod``
code of other
authors. He only used it with the UTFVP database, using
with that database yields slight worse results.)
``leemaskMod``
with that database yields slight worse results.)
postprocessing (str, Optional): Select between ``HE`` (histogram
postprocessing (str, Optional): Select between ``HE`` (histogram
equalization, as with :py:func:`bob.ip.base.histogram_equalization`),
equalization, as with :py:func:`bob.ip.base.histogram_equalization`),
...
...
This diff is collapsed.
Click to expand it.
doc/experiments.rst
deleted
100644 → 0
+
0
−
93
View file @
38ac1db8
.. vim: set fileencoding=utf-8 :
.. Mon 11 Jul 2016 16:35:18 CEST
.. _experiments:
=====================
Running Experiments
=====================
For running experiments with a defined setup, you should use ``bin/verify.py``
directly. Follow the instructions on bob.bio.base_ for listing and using all
resources available in this package. In this section, we discuss specificities
for added plugins.
.. _databases:
Databases
---------
Required Parameters
~~~~~~~~~~~~~~~~~~~
* ``name``: The name of the database, in lowercase letters without special
characters. This name will be used as a default sub-directory to separate
resulting files of different experiments.
* ``protocol``: The name of the protocol that should be used. If omitted, the
protocol ``Default`` will be used (which might not be available in all
databases, so please specify).
.. _preprocessors:
Preprocessors
-------------
Vein Cropping Parameters
~~~~~~~~~~~~~~~~~~~~~~~~
* ``mask_h``: Height of the cropping finger mask.
* ``mask_w``: Width of the cropping finger mask.
* ``padding_offset``: An offset to the paddy array to be applied arround the
fingervein image.
* ``padding_threshold``: The pixel value of this paddy array. Defined to 0.2 to
uncontrolled (low quality) fingervein databases and to 0 for controlled (high
quality) fingervein databases. (By default 0.2).
* ``preprocessing``: The pre-processing applied to the fingervein image before
finger contour extraction. By default equal to ``None``.
* ``fingercontour``: The algorithm used to localize the finger contour.
Options: 'leemaskMatlab' - Implementation based on [LLP09]_, 'leemaskMod' -
Modification based on [LLP09]_ for uncontrolled images introduced by author,
and 'konomask' - Implementation based on [KUU02]_.
* ``postprocessing``: The post-processing applied to the fingervein image after
the finger contour extraction. Options: 'None', 'HE' - Histogram
Equalization, 'HFE' - High Frequency Enphasis Filtering [ZTXL09]_,
'CircGabor' - Circular Gabor Filters [ZY09]_.
.. note::
Currently, the pre-processing is fixed to ``None`` by default.
.. _algorithms:
Recognition Algorithms
----------------------
There are also a variety of recognition algorithms implemented in the
FingerveinRecLib. All finger recognition algorithms are based on the
:py:class:`FingerveinRecLib.tools.Tool` base class. This base class has
parameters that some of the algorithms listed below share. These parameters
mainly deal with how to compute a single score when more than one feature is
provided for the model or for the probe:
Here is a list of the most important algorithms and their parameters:
* :py:class:`FingerveinRecLib.tools.MiuraMatch`: Computes the match ratio based
on [MNM04]_ convolving the two template image. Return score - Value between
0 and 0.5, larger value is better match.
* ``ch``: Maximum search displacement in y-direction. Different defult values
based on the different features.
* ``cw``: Maximum search displacement in x-direction. Different defult values
based on the different features.
* :py:class:`FingerveinRecLib.tools.HammingDistance`: Computes the Hamming Distance between two fingervein templates.
.. include:: links.rst
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