Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
bob.bio.vein
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
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • bob
  • bob.bio.veinbob.bio.vein
  • Merge Requests
  • !25

Merged
Opened Mar 10, 2017 by Vedrana KRIVOKUCA@vkrivokuca
  • Report abuse
Report abuse

Issue #13

  • Overview 2
  • Commits 5
  • Pipelines 2
  • Changes 3

Wrote 3 new functions in test.py:

test_max_curvature_HE
test_repeated_line_tracking_HE
test_wide_line_detector_HE

to test the MC, RLT and WLD extractors when the Histogram Equalization postprocessing option is applied to the FingerCrop preprocessor. The tests test_max_curvature_HE and test_repeated_line_tracking_HE fail, as expected, due to the reasons outlined in Issue #13 (closed):

bob.bio.vein.tests.test.test_finger_crop ... ok
bob.bio.vein.tests.test.test_max_curvature ... ok
bob.bio.vein.tests.test.test_max_curvature_HE ... ERROR
bob.bio.vein.tests.test.test_repeated_line_tracking ... ok
bob.bio.vein.tests.test.test_repeated_line_tracking_HE ... ERROR
bob.bio.vein.tests.test.test_wide_line_detector ... ok
bob.bio.vein.tests.test.test_wide_line_detector_HE ... ok
bob.bio.vein.tests.test.test_miura_match ... ok
bob.bio.vein.tests.test.test_assert_points ... ok
bob.bio.vein.tests.test.test_fix_points ... ok
bob.bio.vein.tests.test.test_poly_to_mask ... ok
bob.bio.vein.tests.test.test_mask_to_image ... ok
bob.bio.vein.tests.test.test_jaccard_index ... ok
bob.bio.vein.tests.test.test_intersection_ratio ... ok
bob.bio.vein.tests.test.test_correlation ... ok
bob.bio.vein.tests.test_databases.test_utfvp ... ok
bob.bio.vein.tests.test_databases.test_verafinger ... ok

======================================================================
ERROR: bob.bio.vein.tests.test.test_max_curvature_HE
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/idiap/group/torch5spro/conda/envs/bob-2.6.2-py27_0/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/remote/idiap.svm/user.active/vkrivokuca/Code/biohash_exp/vein/src/bob.bio.vein/bob/bio/vein/tests/test.py", line 101, in test_max_curvature_HE
    extr_data = MC(preproc_data)
  File "/remote/idiap.svm/user.active/vkrivokuca/Code/biohash_exp/vein/src/bob.bio.vein/bob/bio/vein/extractor/MaximumCurvature.py", line 263, in __call__
    return self.maximum_curvature(finger_image, finger_mask)
  File "/remote/idiap.svm/user.active/vkrivokuca/Code/biohash_exp/vein/src/bob.bio.vein/bob/bio/vein/extractor/MaximumCurvature.py", line 41, in maximum_curvature
    image = bob.core.convert(image,numpy.uint8,(0,255),(0,1))
RuntimeError: convert: C++ exception caught: 'src[62,71] = 30.023723 is above the maximum 1.000000 of input range'

======================================================================
ERROR: bob.bio.vein.tests.test.test_repeated_line_tracking_HE
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/idiap/group/torch5spro/conda/envs/bob-2.6.2-py27_0/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/remote/idiap.svm/user.active/vkrivokuca/Code/biohash_exp/vein/src/bob.bio.vein/bob/bio/vein/tests/test.py", line 150, in test_repeated_line_tracking_HE
    extr_data = RLT(preproc_data)
  File "/remote/idiap.svm/user.active/vkrivokuca/Code/biohash_exp/vein/src/bob.bio.vein/bob/bio/vein/extractor/RepeatedLineTracking.py", line 243, in __call__
    return self.repeated_line_tracking(finger_image, finger_mask)
  File "/remote/idiap.svm/user.active/vkrivokuca/Code/biohash_exp/vein/src/bob.bio.vein/bob/bio/vein/extractor/RepeatedLineTracking.py", line 60, in repeated_line_tracking
    finger_image = bob.core.convert(finger_image,numpy.uint8,(0,255),(0,1))
RuntimeError: convert: C++ exception caught: 'src[62,71] = 30.023723 is above the maximum 1.000000 of input range'

----------------------------------------------------------------------
Ran 17 tests in 63.379s

FAILED (errors=2)

Closes #13 (closed)

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View project labels
Reference: bob/bob.bio.vein!25

Revert this merge request

This will create a new commit in order to revert the existing changes.

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.