Namespaces | Defines | Functions | Variables
image_encodings.h File Reference
#include <stdexcept>
#include <string>
Include dependency graph for image_encodings.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  sensor_msgs
 

Convert between the old (sensor_msgs::PointCloud) and the new (sensor_msgs::PointCloud2) format.


namespace  sensor_msgs::image_encodings

Defines

#define CHECK_BIT_DEPTH(B, T)
#define CHECK_CHANNELS(N)

Functions

static int sensor_msgs::image_encodings::bitDepth (const std::string &encoding)
static bool sensor_msgs::image_encodings::hasAlpha (const std::string &encoding)
static bool sensor_msgs::image_encodings::isBayer (const std::string &encoding)
static bool sensor_msgs::image_encodings::isColor (const std::string &encoding)
static bool sensor_msgs::image_encodings::isMono (const std::string &encoding)
static int sensor_msgs::image_encodings::numChannels (const std::string &encoding)

Variables

const std::string sensor_msgs::image_encodings::BAYER_BGGR16 = "bayer_bggr16"
const std::string sensor_msgs::image_encodings::BAYER_BGGR8 = "bayer_bggr8"
const std::string sensor_msgs::image_encodings::BAYER_GBRG16 = "bayer_gbrg16"
const std::string sensor_msgs::image_encodings::BAYER_GBRG8 = "bayer_gbrg8"
const std::string sensor_msgs::image_encodings::BAYER_GRBG16 = "bayer_grbg16"
const std::string sensor_msgs::image_encodings::BAYER_GRBG8 = "bayer_grbg8"
const std::string sensor_msgs::image_encodings::BAYER_RGGB16 = "bayer_rggb16"
const std::string sensor_msgs::image_encodings::BAYER_RGGB8 = "bayer_rggb8"
const std::string sensor_msgs::image_encodings::BGR16 = "bgr16"
const std::string sensor_msgs::image_encodings::BGR8 = "bgr8"
const std::string sensor_msgs::image_encodings::BGRA16 = "bgra16"
const std::string sensor_msgs::image_encodings::BGRA8 = "bgra8"
const std::string sensor_msgs::image_encodings::MONO16 = "mono16"
const std::string sensor_msgs::image_encodings::MONO8 = "mono8"
const std::string sensor_msgs::image_encodings::RGB16 = "rgb16"
const std::string sensor_msgs::image_encodings::RGB8 = "rgb8"
const std::string sensor_msgs::image_encodings::RGBA16 = "rgba16"
const std::string sensor_msgs::image_encodings::RGBA8 = "rgba8"
const std::string sensor_msgs::image_encodings::TYPE_16SC1 = "16SC1"
const std::string sensor_msgs::image_encodings::TYPE_16SC2 = "16SC2"
const std::string sensor_msgs::image_encodings::TYPE_16SC3 = "16SC3"
const std::string sensor_msgs::image_encodings::TYPE_16SC4 = "16SC4"
const std::string sensor_msgs::image_encodings::TYPE_16UC1 = "16UC1"
const std::string sensor_msgs::image_encodings::TYPE_16UC2 = "16UC2"
const std::string sensor_msgs::image_encodings::TYPE_16UC3 = "16UC3"
const std::string sensor_msgs::image_encodings::TYPE_16UC4 = "16UC4"
const std::string sensor_msgs::image_encodings::TYPE_32FC1 = "32FC1"
const std::string sensor_msgs::image_encodings::TYPE_32FC2 = "32FC2"
const std::string sensor_msgs::image_encodings::TYPE_32FC3 = "32FC3"
const std::string sensor_msgs::image_encodings::TYPE_32FC4 = "32FC4"
const std::string sensor_msgs::image_encodings::TYPE_32SC1 = "32SC1"
const std::string sensor_msgs::image_encodings::TYPE_32SC2 = "32SC2"
const std::string sensor_msgs::image_encodings::TYPE_32SC3 = "32SC3"
const std::string sensor_msgs::image_encodings::TYPE_32SC4 = "32SC4"
const std::string sensor_msgs::image_encodings::TYPE_64FC1 = "64FC1"
const std::string sensor_msgs::image_encodings::TYPE_64FC2 = "64FC2"
const std::string sensor_msgs::image_encodings::TYPE_64FC3 = "64FC3"
const std::string sensor_msgs::image_encodings::TYPE_64FC4 = "64FC4"
const std::string sensor_msgs::image_encodings::TYPE_8SC1 = "8SC1"
const std::string sensor_msgs::image_encodings::TYPE_8SC2 = "8SC2"
const std::string sensor_msgs::image_encodings::TYPE_8SC3 = "8SC3"
const std::string sensor_msgs::image_encodings::TYPE_8SC4 = "8SC4"
const std::string sensor_msgs::image_encodings::TYPE_8UC1 = "8UC1"
const std::string sensor_msgs::image_encodings::TYPE_8UC2 = "8UC2"
const std::string sensor_msgs::image_encodings::TYPE_8UC3 = "8UC3"
const std::string sensor_msgs::image_encodings::TYPE_8UC4 = "8UC4"
const std::string sensor_msgs::image_encodings::YUV422 = "yuv422"

Define Documentation

#define CHECK_BIT_DEPTH (   B,
 
)
Value:
if (encoding == TYPE_##B##T##C1 ||        \
          encoding == TYPE_##B##T##C2 ||        \
          encoding == TYPE_##B##T##C3 ||        \
          encoding == TYPE_##B##T##C4)          \
        return B;                               \
      /***/
#define CHECK_CHANNELS (   N)
Value:
if (encoding == TYPE_8UC##N  ||           \
          encoding == TYPE_8SC##N  ||           \
          encoding == TYPE_16UC##N ||           \
          encoding == TYPE_16SC##N ||           \
          encoding == TYPE_32SC##N ||           \
          encoding == TYPE_32FC##N ||           \
          encoding == TYPE_64FC##N)             \
        return N;                               \
      /***/


sensor_msgs
Author(s): Maintained by Tully Foote/tfoote@willowgarage.com
autogenerated on Sat Dec 28 2013 16:52:51