Research Article

Robust Abnormal Event Recognition via Motion and Shape Analysis at ATM Installations

Algorithm 2

Feature generation from MHI using Hu moments.
Input: mhiImage
Output: hu
Moments = getMoments(mhiImage);
central_moments = getCentralMoment(moments);
norm_moments = getNormalizedCentralMoment(central_moments);
for   to 7 do
    hu[] = getHuMoments(norm_moments, );
end