edgeSnap only accepts binary images