YARP
Yet Another Robot Platform
ImageUtils.h File Reference
#include <utility>
#include <yarp/sig/Image.h>
+ Include dependency graph for ImageUtils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 yarp
 The main, catch-all namespace for YARP.
 
 yarp::sig
 Signal processing.
 
 yarp::sig::utils
 Image utilities.
 

Functions

bool yarp::sig::utils::vertSplit (const yarp::sig::Image &inImg, yarp::sig::Image &outImgL, yarp::sig::Image &outImgR)
 Split vertically an image in two images of the same size. More...
 
bool yarp::sig::utils::horzSplit (const yarp::sig::Image &inImg, yarp::sig::Image &outImgUp, yarp::sig::Image &outImgDown)
 Split horizontally an image in two images of the same size. More...
 
bool yarp::sig::utils::horzConcat (const yarp::sig::Image &inImgL, const yarp::sig::Image &inImgR, yarp::sig::Image &outImg)
 Concatenate horizontally two images of the same size in one with double width. More...
 
bool yarp::sig::utils::vertConcat (const yarp::sig::Image &inImgUp, const yarp::sig::Image &inImgDown, yarp::sig::Image &outImg)
 Concatenate vertically two images of the same size in one with double height. More...
 
bool yarp::sig::utils::cropRect (const yarp::sig::Image &inImg, const std::pair< unsigned int, unsigned int > &vertex1, const std::pair< unsigned int, unsigned int > &vertex2, yarp::sig::Image &outImg)
 Crop a rectangle area out of an image given two opposite vertices. More...