Files
x04sa-es3/script/cpython/wrapper.py
2018-10-30 16:22:47 +01:00

12 lines
531 B
Python

from jeputils import *
def img_get_int(fname, threshold1, threshold2, threshold3, threshold4, header, width, height, depth, x1,y1,x2,y2, bx1,by1,bx2,by2 ):
ret = call_jep("cpython/image_functions", "img_get_int", [fname, threshold1, threshold2, threshold3, threshold4, header, width, height, depth, x1,y1,x2,y2, bx1,by1,bx2,by2])
return ret
#def hfitoff(data, xdeg):
# ret = call_jep("cpython/hfitoff", "hfitoff", [to_npa(data),to_npa(xdeg)])
# return (ret[0], ret[1], ret[2],ret[3], ret[4].data, ret[5].data)