Changing Features2d parameters after construction

asked 2013-08-13 08:09:41 -0500

AvSc gravatar image

Is it possible to change the default parameters for a 2D features detection algorithm, after it was constructed?

edit retag flag offensive close merge delete


No, its not, since those variables are protected and only accessible through the constructor. But if you use a pointer to the Detector, just use delete(Pointer_to_detector)) and then make a new Detector(...) (in case you are using c++)

Moster gravatar imageMoster ( 2013-08-13 08:34:19 -0500 )edit