@@ -29,14 +29,16 @@ class Base6DofDetectionModel {
2929 * @param mask Object mask (CV_8UC1 format, positive pixels > 0)
3030 * @param target_name Object category name (must match construction mapping)
3131 * @param out_pose_in_mesh Output pose in mesh coordinate frame
32+ * @param refine_itr Refinement process iteration num
3233 * @return true Registration successful
3334 * @return false Registration failed
3435 */
3536 virtual bool Register (const cv::Mat &rgb,
3637 const cv::Mat &depth,
3738 const cv::Mat &mask,
3839 const std::string &target_name,
39- Eigen::Matrix4f &out_pose_in_mesh) = 0;
40+ Eigen::Matrix4f &out_pose_in_mesh,
41+ size_t refine_itr = 1 ) = 0;
4042
4143 /* *
4244 * @brief Track object pose from subsequent frames (lightweight version of Register)
@@ -50,14 +52,16 @@ class Base6DofDetectionModel {
5052 * @param hyp_pose_in_mesh Hypothesis pose in mesh frame (from Register or other sources)
5153 * @param target_name Object category name (must match construction mapping)
5254 * @param out_pose_in_mesh Output pose in mesh coordinate frame
55+ * @param refine_itr Refinement process iteration num
5356 * @return true Tracking successful
5457 * @return false Tracking failed
5558 */
5659 virtual bool Track (const cv::Mat &rgb,
5760 const cv::Mat &depth,
5861 const Eigen::Matrix4f &hyp_pose_in_mesh,
5962 const std::string &target_name,
60- Eigen::Matrix4f &out_pose_in_mesh) = 0;
63+ Eigen::Matrix4f &out_pose_in_mesh,
64+ size_t refine_itr = 1 ) = 0;
6165
6266 /* *
6367 * @brief Virtual destructor for proper resource cleanup
0 commit comments