Functions | Variables
sensor_msgs::image_encodings Namespace Reference

Functions

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

Variables

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

Function Documentation

◆ bitDepth()

static int sensor_msgs::image_encodings::bitDepth ( const std::string &  encoding)
inlinestatic

Definition at line 247 of file image_encodings.h.

◆ hasAlpha()

static bool sensor_msgs::image_encodings::hasAlpha ( const std::string &  encoding)
inlinestatic

Definition at line 193 of file image_encodings.h.

◆ isBayer()

static bool sensor_msgs::image_encodings::isBayer ( const std::string &  encoding)
inlinestatic

Definition at line 185 of file image_encodings.h.

◆ isColor()

static bool sensor_msgs::image_encodings::isColor ( const std::string &  encoding)
inlinestatic

Definition at line 172 of file image_encodings.h.

◆ isMono()

static bool sensor_msgs::image_encodings::isMono ( const std::string &  encoding)
inlinestatic

Definition at line 180 of file image_encodings.h.

◆ numChannels()

static int sensor_msgs::image_encodings::numChannels ( const std::string &  encoding)
inlinestatic

Definition at line 199 of file image_encodings.h.

Variable Documentation

◆ ABSTRACT_ENCODING_PREFIXES

const std::string sensor_msgs::image_encodings::ABSTRACT_ENCODING_PREFIXES[]
Initial value:
= {
"8UC", "8SC", "16UC", "16SC", "32SC", "32FC", "64FC"}

Definition at line 168 of file image_encodings.h.

◆ BAYER_BGGR16

const std::string sensor_msgs::image_encodings::BAYER_BGGR16 ="bayer_bggr16"

Definition at line 158 of file image_encodings.h.

◆ BAYER_BGGR8

const std::string sensor_msgs::image_encodings::BAYER_BGGR8 ="bayer_bggr8"

Definition at line 154 of file image_encodings.h.

◆ BAYER_GBRG16

const std::string sensor_msgs::image_encodings::BAYER_GBRG16 ="bayer_gbrg16"

Definition at line 159 of file image_encodings.h.

◆ BAYER_GBRG8

const std::string sensor_msgs::image_encodings::BAYER_GBRG8 ="bayer_gbrg8"

Definition at line 155 of file image_encodings.h.

◆ BAYER_GRBG16

const std::string sensor_msgs::image_encodings::BAYER_GRBG16 ="bayer_grbg16"

Definition at line 160 of file image_encodings.h.

◆ BAYER_GRBG8

const std::string sensor_msgs::image_encodings::BAYER_GRBG8 ="bayer_grbg8"

Definition at line 156 of file image_encodings.h.

◆ BAYER_RGGB16

const std::string sensor_msgs::image_encodings::BAYER_RGGB16 ="bayer_rggb16"

Definition at line 157 of file image_encodings.h.

◆ BAYER_RGGB8

const std::string sensor_msgs::image_encodings::BAYER_RGGB8 ="bayer_rggb8"

Definition at line 153 of file image_encodings.h.

◆ BGR16

const std::string sensor_msgs::image_encodings::BGR16 = "bgr16"

Definition at line 117 of file image_encodings.h.

◆ BGR8

const std::string sensor_msgs::image_encodings::BGR8 = "bgr8"

Definition at line 115 of file image_encodings.h.

◆ BGRA16

const std::string sensor_msgs::image_encodings::BGRA16 = "bgra16"

Definition at line 118 of file image_encodings.h.

◆ BGRA8

const std::string sensor_msgs::image_encodings::BGRA8 = "bgra8"

Definition at line 116 of file image_encodings.h.

◆ MONO16

const std::string sensor_msgs::image_encodings::MONO16 ="mono16"

Definition at line 120 of file image_encodings.h.

◆ MONO8

const std::string sensor_msgs::image_encodings::MONO8 ="mono8"

Definition at line 119 of file image_encodings.h.

◆ RGB16

const std::string sensor_msgs::image_encodings::RGB16 = "rgb16"

Definition at line 113 of file image_encodings.h.

◆ RGB8

const std::string sensor_msgs::image_encodings::RGB8 = "rgb8"

Definition at line 111 of file image_encodings.h.

◆ RGBA16

const std::string sensor_msgs::image_encodings::RGBA16 = "rgba16"

Definition at line 114 of file image_encodings.h.

◆ RGBA8

const std::string sensor_msgs::image_encodings::RGBA8 = "rgba8"

Definition at line 112 of file image_encodings.h.

◆ TYPE_16SC1

const std::string sensor_msgs::image_encodings::TYPE_16SC1 ="16SC1"

Definition at line 135 of file image_encodings.h.

◆ TYPE_16SC2

const std::string sensor_msgs::image_encodings::TYPE_16SC2 ="16SC2"

Definition at line 136 of file image_encodings.h.

◆ TYPE_16SC3

const std::string sensor_msgs::image_encodings::TYPE_16SC3 ="16SC3"

Definition at line 137 of file image_encodings.h.

◆ TYPE_16SC4

const std::string sensor_msgs::image_encodings::TYPE_16SC4 ="16SC4"

Definition at line 138 of file image_encodings.h.

◆ TYPE_16UC1

const std::string sensor_msgs::image_encodings::TYPE_16UC1 ="16UC1"

Definition at line 131 of file image_encodings.h.

◆ TYPE_16UC2

const std::string sensor_msgs::image_encodings::TYPE_16UC2 ="16UC2"

Definition at line 132 of file image_encodings.h.

◆ TYPE_16UC3

const std::string sensor_msgs::image_encodings::TYPE_16UC3 ="16UC3"

Definition at line 133 of file image_encodings.h.

◆ TYPE_16UC4

const std::string sensor_msgs::image_encodings::TYPE_16UC4 ="16UC4"

Definition at line 134 of file image_encodings.h.

◆ TYPE_32FC1

const std::string sensor_msgs::image_encodings::TYPE_32FC1 ="32FC1"

Definition at line 143 of file image_encodings.h.

◆ TYPE_32FC2

const std::string sensor_msgs::image_encodings::TYPE_32FC2 ="32FC2"

Definition at line 144 of file image_encodings.h.

◆ TYPE_32FC3

const std::string sensor_msgs::image_encodings::TYPE_32FC3 ="32FC3"

Definition at line 145 of file image_encodings.h.

◆ TYPE_32FC4

const std::string sensor_msgs::image_encodings::TYPE_32FC4 ="32FC4"

Definition at line 146 of file image_encodings.h.

◆ TYPE_32SC1

const std::string sensor_msgs::image_encodings::TYPE_32SC1 ="32SC1"

Definition at line 139 of file image_encodings.h.

◆ TYPE_32SC2

const std::string sensor_msgs::image_encodings::TYPE_32SC2 ="32SC2"

Definition at line 140 of file image_encodings.h.

◆ TYPE_32SC3

const std::string sensor_msgs::image_encodings::TYPE_32SC3 ="32SC3"

Definition at line 141 of file image_encodings.h.

◆ TYPE_32SC4

const std::string sensor_msgs::image_encodings::TYPE_32SC4 ="32SC4"

Definition at line 142 of file image_encodings.h.

◆ TYPE_64FC1

const std::string sensor_msgs::image_encodings::TYPE_64FC1 ="64FC1"

Definition at line 147 of file image_encodings.h.

◆ TYPE_64FC2

const std::string sensor_msgs::image_encodings::TYPE_64FC2 ="64FC2"

Definition at line 148 of file image_encodings.h.

◆ TYPE_64FC3

const std::string sensor_msgs::image_encodings::TYPE_64FC3 ="64FC3"

Definition at line 149 of file image_encodings.h.

◆ TYPE_64FC4

const std::string sensor_msgs::image_encodings::TYPE_64FC4 ="64FC4"

Definition at line 150 of file image_encodings.h.

◆ TYPE_8SC1

const std::string sensor_msgs::image_encodings::TYPE_8SC1 ="8SC1"

Definition at line 127 of file image_encodings.h.

◆ TYPE_8SC2

const std::string sensor_msgs::image_encodings::TYPE_8SC2 ="8SC2"

Definition at line 128 of file image_encodings.h.

◆ TYPE_8SC3

const std::string sensor_msgs::image_encodings::TYPE_8SC3 ="8SC3"

Definition at line 129 of file image_encodings.h.

◆ TYPE_8SC4

const std::string sensor_msgs::image_encodings::TYPE_8SC4 ="8SC4"

Definition at line 130 of file image_encodings.h.

◆ TYPE_8UC1

const std::string sensor_msgs::image_encodings::TYPE_8UC1 ="8UC1"

Definition at line 123 of file image_encodings.h.

◆ TYPE_8UC2

const std::string sensor_msgs::image_encodings::TYPE_8UC2 ="8UC2"

Definition at line 124 of file image_encodings.h.

◆ TYPE_8UC3

const std::string sensor_msgs::image_encodings::TYPE_8UC3 ="8UC3"

Definition at line 125 of file image_encodings.h.

◆ TYPE_8UC4

const std::string sensor_msgs::image_encodings::TYPE_8UC4 ="8UC4"

Definition at line 126 of file image_encodings.h.

◆ YUV422

const std::string sensor_msgs::image_encodings::YUV422 ="yuv422"

Definition at line 165 of file image_encodings.h.



sensor_msgs
Author(s): Tully Foote
autogenerated on Wed Mar 2 2022 00:06:55