![]() |
RobWorkProject
23.9.11-
|
a collection of simple image utility functions More...
#include <ImageUtil.hpp>
Static Public Member Functions | |
| static void | RGB2GRAY (const Image &src, Image &dst) |
| converts an image of RGB type into an image of GRAY type. | |
| static void | reset (Image &img, int color=0) |
| sets the value of all channels of an image to color. | |
| static void | flipX (Image &img) |
| flips the image around the x-axis (horizontal) More... | |
| static void | flipY (Image &img) |
| flips the image around the y-axis (vertical) More... | |
| static rw::core::Ptr< rw::sensor::Image > | makeDepthImage (const rw::geometry::PointCloud &cloud) |
| static rw::core::Ptr< rw::sensor::Image > | makeDepthImage (const rw::geometry::PointCloud &cloud, float min, float max) |
a collection of simple image utility functions
|
static |
flips the image around the x-axis (horizontal)
| img |
|
static |
flips the image around the y-axis (vertical)
| img |
|
static |
convert pointcloud to a depth image. Colors are scaled to min and ax distance of points.
| cloud | [in] cloud to convert to image |
|
static |
convert pointcloud to a depth image. Colors are scaled to min and max distance specified by user
| cloud | [in] cloud to convert to image |
| min | [in] the minimum distance corresponding to black |
| max | [in] the maximum distance corresponding to white |