Is opencv's Ptr implementation in 3.4 same as 2.4?
In opencv 2.4 Ptr is a template class and in opencv 3.4 Ptr is a struct. Are these both same?
I'm trying to port opencv 2.4's GenericDescriptorMatcher class to 3.4 and it uses Ptr, so I'm confused how to proceed.
May be this example will help you (or this one)
That example uses the struct version.