@vpisarev, it seems that we need your advice. So, we want to take this code to the `features2d` module, so everybody can use this code and [A]KAZE features, including proprietary projects. But the algorithms is uses some local ideas from SURF, and we have to doublecheck everything.

So, could your please check if everything is OK? We can have a f2f discussion with @BelBES.