Update
This commit is contained in:
@@ -12,7 +12,7 @@ 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)
|
||||
|
||||
|
||||
tmp_file = get_context().setup.expandPath("{images}/px.img")
|
||||
tmp_file = expand_path("{images}/px.img")
|
||||
threshold1, threshold2, threshold3, threshold4 = 40, 500, 8000, 100000
|
||||
PIX_COLOR_DEPTH = 32
|
||||
PIX_XDIM = 487
|
||||
|
||||
Reference in New Issue
Block a user