Example #1
0
def test_translate():
    d = np.zeros((100,100,100),np.float32)
    translate(d,10,10,10, interp = "nearest")
Example #2
0
def test_translate():
    d = create_shape((101,102,103))
    out = translate(d,10,10,10, mode = "nearest")
    return out
Example #3
0
def test_translate():
    d = np.zeros((100, 100, 100), np.float32)
    translate(d, 10, 10, 10, interp="nearest")
Example #4
0
def test_translate():
    d = create_shape((101, 102, 103))
    out = translate(d, (10, 10, 10), interpolation="nearest")
    return out