difference between SiftFeatureDetector and Ptr<FeatureDetector> featureDetector = FeatureDetector::create("SIFt")

asked 2019-03-11 11:19:33 -0600

jo-won gravatar image

updated 2019-12-09 08:04:42 -0600

Akhil Patel gravatar image

SiftFeatureDetector Ptr<featuredetector> featureDetector = FeatureDetector::create("SIFt")

what is difference in side of memory allocate ?

edit retag flag offensive close merge delete



both things are from outdated opencv2.4 (please do not use that, to write any new code), and current opencv does no more support any of those methods (api has changed), just saying

berak gravatar imageberak ( 2019-03-11 11:25:12 -0600 )edit

For reference, those module doc can be find here: https://docs.opencv.org/3.4.0/d1/db4/... Choose from the top dropwdown menu the version that you use.

Btw this are just different way to access and create what is, at the end, the same object. They just changed how you construct the object (they avoided the use of a string in a factory method) I suppose, since switch from old to new API is very easy

HYPEREGO gravatar imageHYPEREGO ( 2019-03-13 06:14:56 -0600 )edit