maximum_curvature.py 327 Bytes
Newer Older
Pedro TOME's avatar
Pedro TOME committed
1 2 3
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :

André Anjos's avatar
André Anjos committed
4
from ...extractors import MaximumCurvature
Pedro TOME's avatar
Pedro TOME committed
5

6 7

# Parameters
Pedro TOME's avatar
Pedro TOME committed
8 9 10 11 12
SIGMA_DERIVATES = 5 #Sigma used for determining derivatives

GPU_ACCELERATION = False

#Define feature extractor
13 14 15 16
feature_extractor = MaximumCurvature(
    sigma = SIGMA_DERIVATES,
    gpu = GPU_ACCELERATION,
    )