示例#1
0
 def test_simoncelli(G):
     g = filters.Simoncelli(G)
     g1 = filters.Simoncelli(G, a=0.25)
示例#2
0
 def test_simoncelli(self):
     f = filters.Simoncelli(self._G)
     self._test_methods(f, tight=True)
     f = filters.Simoncelli(self._G, a=0.25)
     self._test_methods(f, tight=True)
示例#3
0
def get_filter(params, graph):
    if params.filter_name == 'heat':
        return filters.Heat(G=graph, scale=params.frequency)
    elif params.filter_name == 'simoncelli':
        return filters.Simoncelli(G=graph, a=params.frequency)
    assert False