RobWorkProject  23.9.11-
Classes | Namespaces
sensor/Image.hpp File Reference

The image class is a simple wrapper around a char data array. This Image wrapper contain information of width, height and encoding. More...

#include <rw/common/types.hpp>
#include <rw/core/Ptr.hpp>
#include <rw/core/macros.hpp>
#include <boost/mpl/equal_to.hpp>
#include <boost/mpl/int.hpp>
#include <string>

Classes

struct  Pixel4f
 
class  Image
 The image class is a simple wrapper around a char data array. This Image wrapper contain information of width, height and encoding. More...
 
struct  Image::Pixel4i
 

Namespaces

 rw
 Deprecated namespace since 16/4-2020 for this class.
 
 rw::sensor
 Sensor interfaces.
 

Detailed Description

The image class is a simple wrapper around a char data array. This Image wrapper contain information of width, height and encoding.

The image class is somewhat inspired by the IplImage of opencv.

The coordinate system has its origin located at the top-left position, where from X increases to the left and Y-increases downwards.

setting pixel values in an efficient manner has been enabled using some template joggling. It requires that the user know what type of image he/she is working with.