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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user