2D Gaussian fitting



I have an image. Assume the value of pixels had 2D Gaussian
distribution.
How to fit them by 2D Gaussian fitting?
.