Using opencv to remove perspective distortion of aerial photos