The image registration is done on the basis of rotation, translation and scaling. So the problem is a unconstrained multivariate optimization problem. I wanted to know how to apply the Powell's optimization technique to maximize the mutual information .