19#include <opencv2/core.hpp>
84 const cv::Mat & bgr,
const cv::Mat & tableMask,
const SegmenterParams & params);
90 const cv::Mat & bgr,
const cv::Mat & referenceBgr,
const cv::Mat & tableMask,
95 const cv::Mat & bgr,
const cv::Mat & foreground,
const PinholeCamera & camera,
cv::Mat segmentAgainstReference(const cv::Mat &bgr, const cv::Mat &referenceBgr, const cv::Mat &tableMask, const SegmenterParams ¶ms)
std::vector< Blob > findBlobs(const cv::Mat &bgr, const cv::Mat &foreground, const PinholeCamera &camera, const TableParams &table, const BlobParams ¶ms)
cv::Mat segmentForeground(const cv::Mat &bgr, const cv::Mat &tableMask, const SegmenterParams ¶ms)
cv::Mat tableRegionMask(const PinholeCamera &camera, const cv::Size &size, const TableParams &table)
double colourEdgeMinChroma
double referenceLightnessWeight
double referenceThreshold
std::string referenceImagePath