vision
Namespaces | Classes | Functions
roboticslab Namespace Reference

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< KinectFusionmakeColoredKinFu (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< KinectFusionmakeDynaFu (const yarp::os::Searchable &config, const yarp::sig::IntrinsicParams &intrinsic, int width, int height)
 
std::unique_ptr< KinectFusionmakeKinFu (const yarp::os::Searchable &config, const yarp::sig::IntrinsicParams &intrinsic, int width, int height)
 
template<typename T >
getValue (const yarp::os::Value &v)
 
template<typename TParams , typename TRet >
void updateParam (TParams &params, TRet TParams::*param, const yarp::os::Searchable &config, const std::string &name, const std::string &description)
 
std::unique_ptr< KinectFusionmakeKinFuLargeScale (const yarp::os::Searchable &config, const yarp::sig::IntrinsicParams &intrinsic, int width, int height)
 

Function Documentation

◆ calcAngle()

void roboticslab::calcAngle ( float &  angle,
const std::vector< cv::Point >  biggestCont 
)

This function calculates the angle.

◆ calcArcLength()

void roboticslab::calcArcLength ( float &  arc,
const std::vector< cv::Point >  biggestCont 
)

This function calculates the arc length.

◆ calcArea()

void roboticslab::calcArea ( float &  area,
const std::vector< cv::Point >  biggestCont 
)

This function calculates the area.

◆ calcAspectRatio()

void roboticslab::calcAspectRatio ( float &  aspectRatio,
float &  axisFirst,
float &  axisSecond,
const std::vector< cv::Point >  biggestCont 
)

This function calculates the aspect ratio.

◆ calcCircle()

void roboticslab::calcCircle ( float &  radius,
const std::vector< cv::Point >  biggestCont 
)

This function calculates the circle.

◆ calcHSVMeanStdDev()

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.

◆ calcHSVPeakColor()

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.

◆ calcLocationXY()

void roboticslab::calcLocationXY ( float &  locX,
float &  locY,
const std::vector< cv::Point >  biggestCont 
)

This function calculates X and Y.

◆ calcMask()

void roboticslab::calcMask ( cv::Mat &  mask,
const std::vector< cv::Point >  biggestCont 
)

This function calculates the mask.

◆ calcMassCenter()

void roboticslab::calcMassCenter ( float &  massCenterLocX,
float &  massCenterLocY,
const std::vector< cv::Point >  biggestCont 
)

This function calculates the mass center.

◆ calcMoments()

void roboticslab::calcMoments ( cv::Mat &  theHuMoments,
const std::vector< cv::Point >  biggestCont 
)

This function calculates the moments.

◆ calcRectangularity()

void roboticslab::calcRectangularity ( float &  rectangularity,
const std::vector< cv::Point >  biggestCont 
)

This function calculates the rectangularity.

◆ calcSolidity()

void roboticslab::calcSolidity ( float &  solidity,
const std::vector< cv::Point >  biggestCont 
)

This function calculates the solidity.

◆ compareContourAreas()

bool roboticslab::compareContourAreas ( std::vector< cv::Point >  contour1,
std::vector< cv::Point >  contour2 
)

Can be used as a comparison function object for sorting.

◆ getBiggestContour()

std::vector< cv::Point > roboticslab::getBiggestContour ( const cv::Mat  image)

This function gets the biggest contour.

◆ travisCrop()

bool roboticslab::travisCrop ( const int  x,
const int  y,
const int  width,
const int  height,
cv::Mat &  img 
)

Crop the image.

Parameters
imagethe image to set, in cv::Mat format.
Returns
true if the object was set successfully.