mask = PhotoScan.utils.createDifferenceMask(camera.photo.image(), (red,green,blue), colTolerance, fit_colors = False)