1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

External interface converted to use OpenCV Ptr<> smart pointer.

This commit is contained in:
Olexa Bilaniuk
2015-03-03 23:12:33 -05:00
parent f592321771
commit 408f93340a
3 changed files with 41 additions and 67 deletions
+1 -7
View File
@@ -303,7 +303,7 @@ static bool createAndRunRHORegistrator(double confidence,
* initialized, used, then finalized.
*/
RHO_HEST_REFC* p = rhoRefCInit();
Ptr<RHO_HEST_REFC> p = rhoRefCInit();
/**
* Optional. Ideally, the context would survive across calls to
@@ -339,12 +339,6 @@ static bool createAndRunRHORegistrator(double confidence,
NULL,
(float*)tmpH.data);
/**
* Cleanup.
*/
rhoRefCFini(p);
/* Convert float homography to double precision. */
tmpH.convertTo(_H, CV_64FC1);