added compute function to Feature2D (dirty workaround for #2699)
Merge pull request #696 from znah:detect_method