Script execution

This commit is contained in:
gac-x04sa
2018-10-30 17:57:45 +01:00
parent 38604bfd61
commit ecbbcac968

View File

@@ -8,6 +8,12 @@ def img_get_int(fname, thres1, thres2, thres3, thres4, header, width, height, de
return (int(I_sum), area_I, thresh1_count, thresh2_count, thresh3_count, thresh4_count, int(I_sum_bgr), area_bgr)
def img_read(fname, header, width, height, depth):
ret = call_jep("cpython/image_functions", "img_read", [fname, header, width, height, depth])
return ret
#def hfitoff(data, xdeg):
# ret = call_jep("cpython/hfitoff", "hfitoff", [to_npa(data),to_npa(xdeg)])