sci-visus/OpenVisus

Scripting defaults needs an update

anikethvenkat opened this issue · 1 comments

Scripting defaults (like 2d/Blur) are broken after the new from and toNumPy api's.

Possible Fix:
import numpy as np
kernel=np.array([[1/9.0,1/9.0,1/9.0], [1/9.0,1/9.0,1/9.0] , [1/9.0,1/9.0,1/9.0]])
output=ArrayUtils.convolve(input,Array.fromNumPy(kernel),aborted)

image

fixed