Use numpy arrays as arguments to inRange