Open flmuk opened 3 years ago
the difference I can see there is that
array
is F-Contiguous, whileview
is C-Contiguous...seems like creating a VigraArray
will change to fortran order, while creating a view preserves original ordering....
test2 = numpy.asfortranarray(test)
fview = v.taggedView(test, axistags=v.defaultAxistags('cxyz'))
filtered = v.filters.gaussianDivergence(fview)
works...
ipython 7.26.0 numpy 1.21.2 python 3.9.6 vigra 1.11.1 from "conda install -c conda-forge vigra" gcc 4.8.5 20150623 (Red Hat 4.8.5-44)
The types of the inputs to the function vigra.filters.gaussianDivergence all have the same type at least in the python/vigranumpy interface. So why is there no overload for one (view), but for the other (not view, new array) it works?