YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
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

namespace  yarp
 The main, catch-all namespace for YARP.
 
namespace  yarp::sig
 
namespace  yarp::sig::utils
 

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.
 
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.
 
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.
 
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.
 
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.