I present the Metropolis algorithms to sample random numbers from an arbitrary image
Posts for: #tutorial
Fitting an ellipse to a polygon
I describe a method to calculate the moments of a polygon by only knowing the value of the vertices. The moments are then used to fit an ellipse on the polygon.