iwfm.gis.img_threshold¶ iwfm.gis.img_threshold(source, target)[source]¶ Threshold an image to black and white. Parameters: source (str) – image file name target (str) – output image file name Return type: nothing