  In this paper, we study a spline collocation method for a numerical solution
to the optimal transport problem
  We mainly solve the \MAE with the second boundary condition numerically by
proposing a center matching algorithm. We prove a pointwise convergence of our
iterative algorithm under the assumption the boundedness of spline iterates. We
use the \MAE with Dirichlet boundary condition and some known solutions to the
\MAE with second boundary condition to demonstrate the effectiveness of our
algorithm. Then we use our method to solve some real-life problems. One
application problem is to use the optimal transportation for the conversion of
fisheye view images into standard rectangular images.
