vision
|
The main, catch-all namespace for Robotics Lab UC3M.
Namespaces | |
test | |
Contains classes related to unit testing. | |
YarpCloudUtils | |
Collection of cloud-related utilities for YARP. | |
Classes | |
class | Travis |
The Travis class implements all the algorithms on a single image. More... | |
class | YarpCropCallback |
class | ArucoDetector |
class | ColorRegionDetector |
class | DnnDetector |
class | HaarDetector |
class | IDetector |
Interface for object detection. More... | |
class | QrDetector |
class | LineCallbackPort |
class | PointAtObjectServer |
class | SharedArea |
class | vtkTimerCallback |
class | RgbdDetection |
2.5D detection. More... | |
class | RgbDetection |
2D detection. More... | |
class | KinectFusion |
class | KinectFusionImpl |
class | RenderUpdater |
class | SceneReconstruction |
Exposes Kinect Fusion as a YARP service via RPC. More... | |
class | DataProcessor |
Implements voxelOccupancyDetection callback on Bottle. More... | |
class | SegmentorThread |
Implements voxelOccupancyDetection PeriodicThread. More... | |
class | VoxelOccupancyDetection |
Computer Vision 1. More... | |
Functions | |
bool | compareContourAreas (std::vector< cv::Point > contour1, std::vector< cv::Point > contour2) |
bool | travisCrop (const int x, const int y, const int width, const int height, cv::Mat &img) |
std::vector< cv::Point > | getBiggestContour (const cv::Mat image) |
void | calcLocationXY (float &locX, float &locY, const std::vector< cv::Point > biggestCont) |
void | calcMask (cv::Mat &mask, const std::vector< cv::Point > biggestCont) |
void | calcArea (float &area, const std::vector< cv::Point > biggestCont) |
void | calcRectangularity (float &rectangularity, const std::vector< cv::Point > biggestCont) |
void | calcAngle (float &angle, const std::vector< cv::Point > biggestCont) |
void | calcMassCenter (float &massCenterLocX, float &massCenterLocY, const std::vector< cv::Point > biggestCont) |
void | calcAspectRatio (float &aspectRatio, float &axisFirst, float &axisSecond, const std::vector< cv::Point > biggestCont) |
void | calcSolidity (float &solidity, const std::vector< cv::Point > biggestCont) |
void | calcHSVMeanStdDev (const cv::Mat image, const cv::Mat mask, float &hue_mean, float &hue_stddev, float &saturation_mean, float &saturation_stddev, float &value_mean, float &value_stddev) |
void | calcHSVPeakColor (const cv::Mat image, const cv::Mat mask, float &hue_mode, float &hue_peak, float &value_mode, float &value_peak) |
void | calcMoments (cv::Mat &theHuMoments, const std::vector< cv::Point > biggestCont) |
void | calcArcLength (float &arc, const std::vector< cv::Point > biggestCont) |
void | calcCircle (float &radius, const std::vector< cv::Point > biggestCont) |
std::unique_ptr< KinectFusion > | makeColoredKinFu (const yarp::os::Searchable &config, const yarp::sig::IntrinsicParams &depthIntrinsic, const yarp::sig::IntrinsicParams &colorIntrinsic, int depthWidth, int depthHeight, int colorWidth, int colorHeight) |
std::unique_ptr< KinectFusion > | makeDynaFu (const yarp::os::Searchable &config, const yarp::sig::IntrinsicParams &intrinsic, int width, int height) |
std::unique_ptr< KinectFusion > | makeKinFu (const yarp::os::Searchable &config, const yarp::sig::IntrinsicParams &intrinsic, int width, int height) |
template<typename T > | |
T | getValue (const yarp::os::Value &v) |
template<typename TParams , typename TRet > | |
void | updateParam (TParams ¶ms, TRet TParams::*param, const yarp::os::Searchable &config, const std::string &name, const std::string &description) |
std::unique_ptr< KinectFusion > | makeKinFuLargeScale (const yarp::os::Searchable &config, const yarp::sig::IntrinsicParams &intrinsic, int width, int height) |
void roboticslab::calcAngle | ( | float & | angle, |
const std::vector< cv::Point > | biggestCont | ||
) |
This function calculates the angle.
void roboticslab::calcArcLength | ( | float & | arc, |
const std::vector< cv::Point > | biggestCont | ||
) |
This function calculates the arc length.
void roboticslab::calcArea | ( | float & | area, |
const std::vector< cv::Point > | biggestCont | ||
) |
This function calculates the area.
void roboticslab::calcAspectRatio | ( | float & | aspectRatio, |
float & | axisFirst, | ||
float & | axisSecond, | ||
const std::vector< cv::Point > | biggestCont | ||
) |
This function calculates the aspect ratio.
void roboticslab::calcCircle | ( | float & | radius, |
const std::vector< cv::Point > | biggestCont | ||
) |
This function calculates the circle.
void roboticslab::calcHSVMeanStdDev | ( | const cv::Mat | image, |
const cv::Mat | mask, | ||
float & | hue_mean, | ||
float & | hue_stddev, | ||
float & | saturation_mean, | ||
float & | saturation_stddev, | ||
float & | value_mean, | ||
float & | value_stddev | ||
) |
This function calculates the HSV mean and std deviation.
void roboticslab::calcHSVPeakColor | ( | const cv::Mat | image, |
const cv::Mat | mask, | ||
float & | hue_mode, | ||
float & | hue_peak, | ||
float & | value_mode, | ||
float & | value_peak | ||
) |
This function calculates the HSV peak color.
void roboticslab::calcLocationXY | ( | float & | locX, |
float & | locY, | ||
const std::vector< cv::Point > | biggestCont | ||
) |
This function calculates X and Y.
void roboticslab::calcMask | ( | cv::Mat & | mask, |
const std::vector< cv::Point > | biggestCont | ||
) |
This function calculates the mask.
void roboticslab::calcMassCenter | ( | float & | massCenterLocX, |
float & | massCenterLocY, | ||
const std::vector< cv::Point > | biggestCont | ||
) |
This function calculates the mass center.
void roboticslab::calcMoments | ( | cv::Mat & | theHuMoments, |
const std::vector< cv::Point > | biggestCont | ||
) |
This function calculates the moments.
void roboticslab::calcRectangularity | ( | float & | rectangularity, |
const std::vector< cv::Point > | biggestCont | ||
) |
This function calculates the rectangularity.
void roboticslab::calcSolidity | ( | float & | solidity, |
const std::vector< cv::Point > | biggestCont | ||
) |
This function calculates the solidity.
bool roboticslab::compareContourAreas | ( | std::vector< cv::Point > | contour1, |
std::vector< cv::Point > | contour2 | ||
) |
Can be used as a comparison function object for sorting.
std::vector< cv::Point > roboticslab::getBiggestContour | ( | const cv::Mat | image | ) |
This function gets the biggest contour.
bool roboticslab::travisCrop | ( | const int | x, |
const int | y, | ||
const int | width, | ||
const int | height, | ||
cv::Mat & | img | ||
) |
Crop the image.
image | the image to set, in cv::Mat format. |