|
SMACC2
|
Namespaces | |
| namespace | anonymous_namespace{box_fit.cpp} |
| namespace | anonymous_namespace{colour.cpp} |
| namespace | anonymous_namespace{table_survey.cpp} |
Classes | |
| struct | Blob |
| struct | BlobParams |
| struct | BoxFit |
| struct | BoxFitParams |
| struct | CameraParams |
| class | CbRgbClientBehaviorBase |
| class | CbSurveyTable |
| class | CbWaitForFrame |
| class | ClRgb |
| class | CpCamera |
| class | CpSceneSurvey |
| class | CpTablePlane |
| class | CpTableSegmenter |
| class | CpTransforms |
| struct | Frame |
| struct | NamedColour |
| struct | PinholeCamera |
| struct | RgbParams |
| struct | SegmenterParams |
| struct | Survey |
| struct | SurveyTableParams |
| struct | TableParams |
| struct | WaitForFrameParams |
Typedefs | |
| using | FramePtr = std::shared_ptr<const Frame> |
| using | SurveyPtr = std::shared_ptr<const Survey> |
Functions | |
| std::optional< BoxFit > | fitBoxOnTable (const Blob &blob, const PinholeCamera &camera, double tableZ, const BoxFitParams ¶ms) |
| const std::vector< NamedColour > & | basicColours () |
| std::string | colourName (const cv::Vec3d &lab) |
| double | colourCost (const cv::Vec3d &lab, const std::string &name) |
| std::vector< int > | matchColours (const std::vector< cv::Vec3d > &seen, const std::vector< std::string > &names) |
| cv::Mat | tableRegionMask (const PinholeCamera &camera, const cv::Size &size, const TableParams &table) |
| cv::Mat | segmentForeground (const cv::Mat &bgr, const cv::Mat &tableMask, const SegmenterParams ¶ms) |
| 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) |
| using cl_rgb::FramePtr = std::shared_ptr<const Frame> |
| using cl_rgb::SurveyPtr = std::shared_ptr<const Survey> |
| const std::vector< NamedColour > & cl_rgb::basicColours | ( | ) |
Definition at line 23 of file colour.cpp.
Referenced by colourCost(), and colourName().

| double cl_rgb::colourCost | ( | const cv::Vec3d & | lab, |
| const std::string & | name ) |
Definition at line 56 of file colour.cpp.
References basicColours().
Referenced by colourName(), and matchColours().


| std::string cl_rgb::colourName | ( | const cv::Vec3d & | lab | ) |
Definition at line 35 of file colour.cpp.
References basicColours(), and colourCost().

| std::vector< Blob > cl_rgb::findBlobs | ( | const cv::Mat & | bgr, |
| const cv::Mat & | foreground, | ||
| const PinholeCamera & | camera, | ||
| const TableParams & | table, | ||
| const BlobParams & | params ) |
Definition at line 188 of file table_survey.cpp.
References cl_rgb::Blob::areaPx, cl_rgb::Blob::axisRad, cl_rgb::Blob::box, cl_rgb::Blob::centroidPx, cl_rgb::BlobParams::colourEdgeHueDeg, cl_rgb::BlobParams::colourEdgeMinChroma, cl_rgb::Blob::crop, cl_rgb::TableParams::height, cl_rgb::PinholeCamera::imageToPlaneHomography(), cl_rgb::Blob::lengthM, cl_rgb::Blob::mask, cl_rgb::BlobParams::maxBlobs, cl_rgb::Blob::meanBgr, cl_rgb::Blob::meanLab, cl_rgb::BlobParams::minAreaPx, cl_rgb::Blob::nearPoint, cl_rgb::PinholeCamera::pixelToPlane(), cl_rgb::PinholeCamera::position, cl_rgb::Blob::tablePoint, and cl_rgb::Blob::widthM.
Referenced by cl_rgb::CbSurveyTable::onEntry().


| std::optional< BoxFit > cl_rgb::fitBoxOnTable | ( | const Blob & | blob, |
| const PinholeCamera & | camera, | ||
| double | tableZ, | ||
| const BoxFitParams & | params ) |
Definition at line 130 of file box_fit.cpp.
References cl_rgb::Blob::areaPx, cl_rgb::Blob::box, cl_rgb::Blob::centroidPx, cl_rgb::Blob::mask, cl_rgb::BoxFitParams::minChromaFraction, cl_rgb::BoxFitParams::minOverlap, cl_rgb::BoxFit::overlap, cl_rgb::PinholeCamera::pixelToPlane(), cl_rgb::BoxFitParams::searchM, cl_rgb::BoxFitParams::sizeM, cl_rgb::BoxFitParams::stepM, cl_rgb::BoxFitParams::tryTopBelow, and cl_rgb::BoxFitParams::yawStepRad.

| std::vector< int > cl_rgb::matchColours | ( | const std::vector< cv::Vec3d > & | seen, |
| const std::vector< std::string > & | names ) |
Definition at line 108 of file colour.cpp.
References colourCost().

| cv::Mat cl_rgb::segmentAgainstReference | ( | const cv::Mat & | bgr, |
| const cv::Mat & | referenceBgr, | ||
| const cv::Mat & | tableMask, | ||
| const SegmenterParams & | params ) |
Definition at line 129 of file table_survey.cpp.
References cl_rgb::SegmenterParams::closePx, cl_rgb::SegmenterParams::openPx, cl_rgb::SegmenterParams::referenceLightnessWeight, cl_rgb::SegmenterParams::referenceThreshold, cl_rgb::SegmenterParams::shadowDarkest, and cl_rgb::SegmenterParams::shadowSpread.
Referenced by cl_rgb::CpTableSegmenter::foreground().

| cv::Mat cl_rgb::segmentForeground | ( | const cv::Mat & | bgr, |
| const cv::Mat & | tableMask, | ||
| const SegmenterParams & | params ) |
Definition at line 91 of file table_survey.cpp.
References cl_rgb::SegmenterParams::closePx, cl_rgb::SegmenterParams::lightnessWeight, cl_rgb::SegmenterParams::openPx, and cl_rgb::SegmenterParams::threshold.
Referenced by cl_rgb::CpTableSegmenter::foreground().

| cv::Mat cl_rgb::tableRegionMask | ( | const PinholeCamera & | camera, |
| const cv::Size & | size, | ||
| const TableParams & | table ) |
Definition at line 63 of file table_survey.cpp.
References cl_rgb::TableParams::height, cl_rgb::PinholeCamera::imageToPlaneHomography(), cl_rgb::PinholeCamera::position, cl_rgb::TableParams::xMin, cl_rgb::TableParams::yMax, and cl_rgb::TableParams::yMin.
Referenced by cl_rgb::CpTablePlane::regionMask().

