Esempio n. 1
0
 def __init__(self, threshold, level, integration=IntegrationType.MEAN):
     UnaryPredicate1D.__init__(self)
     self._threshold = threshold
     self._level = level
     self._integration = integration
     self._func = GetSteerableViewMapDensityF1D(self._level,
                                                self._integration)
Esempio n. 2
0
 def __call__(self, inter):
     func = GetSteerableViewMapDensityF1D(self._level, self._integration)
     return (func(inter) < self._threshold)