4D Choosing and applying the appropriate transformation