src/feature_detector/src/parameter_manager.cpp
/*
 * Returns mask with given size, filled with ones only in the given rectangular
 * area.
 */
Returns mask with given size, filled with ones only in the given rectangular
area.
Returns mask with given size filled with ones only in the given rectangular area .
inline cv::Mat createMask(
    const cv::Size& sz,    
    const cv::Rect& rect)  
{
  cv::Mat mask = cv::Mat::zeros(sz.height, sz.width, CV_8UC1);
  cv::Mat selected_region = mask(rect);
  selected_region = cv::Scalar::all(1);
  return mask;
}
inline cv :: Mat createMask ( const cv :: Size & sz , const cv :: Rect & rect ) { cv :: Mat mask = cv :: Mat :: zeros ( sz . height , sz . width , CV_8UC1 ) ; cv :: Mat selected_region = mask ( rect ) ; selected_region = cv :: Scalar :: all ( 1 ) ; return mask ; }
Returns mask with given size, filled with ones only in the given rectangular
 area.
Returns mask with given size filled with ones only in the given rectangular area .
// overall size of mask // region that is filled with ones