Code covered by the BSD License
anukriti dureha (view profile)
24 May 2013
translation of centre of gravity of a 2d image to the origin.
Watch this File
pts is the matrix representing the 2-D shape or an image. It translates the shape's center of gravity to its origin.
%trans_mat represents the translated matrix of the input matrix pts.