[py] Removed ./configurations in favor of config

parent a235b48c
Pipeline #46282 passed with stage
in 7 minutes and 5 seconds
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :
# Tue 03 Nov 2020 16:48:32 CEST
'''Principal Curvature and Miura Matching baseline
References:
1. [CW09]_
2. [TV13]_
3. [TVM14]_
'''
sub_directory = 'pc'
"""Sub-directory where results will be placed.
You may change this setting using the ``--sub-directory`` command-line option
or the attribute ``sub_directory`` in a configuration file loaded **after**
this resource.
"""
from ..preprocessor import NoCrop, TomesLeeMask, HuangNormalization, \
NoFilter, Preprocessor
preprocessor = Preprocessor(
crop=NoCrop(),
mask=TomesLeeMask(),
normalize=HuangNormalization(),
filter=NoFilter(),
)
"""Preprocessing using gray-level based finger cropping and no post-processing
"""
from ..extractor import PrincipalCurvature
extractor = PrincipalCurvature()
"""Features are the output of the principal curvature algorithm, as described on
[CW09]_.
Defaults taken from [CW09]_.
"""
# Notice the values of ch and cw are different than those from the
# repeated-line tracking baseline.
from ..algorithm import MiuraMatch
algorithm = MiuraMatch()
"""Miura-matching algorithm with specific settings for search displacement
Defaults taken from [TV13]_.
"""
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment