Intensity and Affine Invariant Statistic-based Image Matching