diff --git a/include/vision/processor/active_search.h b/include/vision/processor/active_search.h index fb79b623f37dff47aa24b98d162ae6da43c6de80..dc22ec79f38ead6d0b6f359638244a67b64755bf 100644 --- a/include/vision/processor/active_search.h +++ b/include/vision/processor/active_search.h @@ -245,8 +245,6 @@ class ActiveSearchGrid { */ void blockCell(const cv::Rect & _roi); - Eigen::Vector2i getGridSize() {return grid_size_;} - /** * \brief Get the region of interest, reduced by a margin. */ @@ -274,11 +272,6 @@ class ActiveSearchGrid { */ bool pickEmptyCell(Eigen::Vector2i & _cell); - /** - * \brief Get the region of interest, reduced by a margin. - */ - void cell2roi(const Eigen::Vector2i & _cell, cv::Rect& _roi); - /** * \brief True if the cell is blocked * \param _cell the queried cell diff --git a/src/processor/active_search.cpp b/src/processor/active_search.cpp index e9006dfe617cac74802c11da0dcbf82d90524368..c3929761b46cfca38ef6c6be3c09e8e4c485bc5b 100644 --- a/src/processor/active_search.cpp +++ b/src/processor/active_search.cpp @@ -126,7 +126,7 @@ bool ActiveSearchGrid::pickRoi(cv::Rect & _roi) { return false; } -void ActiveSearchGrid::blockCell(const cv::Rect & _cell) +void ActiveSearchGrid::blockCell(const Eigen::Vector2i & _cell) { projections_count_(_cell(0), _cell(1)) = -1; }