diff --git a/script/cpython/wrapper.py b/script/cpython/wrapper.py index 424c8a3..b195593 100644 --- a/script/cpython/wrapper.py +++ b/script/cpython/wrapper.py @@ -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)])