compute method for Feature2D
Merge pull request #1185 from znah:cumpute_method_for_2_4