inverts image to box dark objects