answered Oct 24 '13
Thats actually pretty easy. You dont necessarily need to use a cv ptr.
SurfFeatureDetector detector(options here...)