Public Member Functions | Public Attributes | List of all members
image_transport_codecs::CompressedTransportFormat Struct Reference

Decoded meaning of field sensor_msgs::CompressedImage::format for compressed transport. More...

#include <parse_compressed_format.h>

Public Member Functions

bool operator== (const CompressedTransportFormat &other) const
 

Public Attributes

int bitDepth
 Number of bits used for encoding one raw channel value. More...
 
std::string compressedEncoding
 Encoding of the compressed image (i.e. bgr8 for JPEG). More...
 
CompressedTransportCompressionFormat format
 The compression format (JPEG/PNG). More...
 
std::string formatString
 Text version of the compression format ("jpeg"/"png"). More...
 
bool isColor
 Whether the image is a color image or not. More...
 
int numChannels
 Number of channels of the raw image data (1 for mono/depth images, 3-4 for color). More...
 
std::string rawEncoding
 Encoding of the raw image (before compression, after decompression). More...
 

Detailed Description

Decoded meaning of field sensor_msgs::CompressedImage::format for compressed transport.

Definition at line 37 of file parse_compressed_format.h.

Member Function Documentation

◆ operator==()

bool image_transport_codecs::CompressedTransportFormat::operator== ( const CompressedTransportFormat other) const

Member Data Documentation

◆ bitDepth

int image_transport_codecs::CompressedTransportFormat::bitDepth

Number of bits used for encoding one raw channel value.

Definition at line 44 of file parse_compressed_format.h.

◆ compressedEncoding

std::string image_transport_codecs::CompressedTransportFormat::compressedEncoding

Encoding of the compressed image (i.e. bgr8 for JPEG).

Definition at line 42 of file parse_compressed_format.h.

◆ format

CompressedTransportCompressionFormat image_transport_codecs::CompressedTransportFormat::format

The compression format (JPEG/PNG).

Definition at line 39 of file parse_compressed_format.h.

◆ formatString

std::string image_transport_codecs::CompressedTransportFormat::formatString

Text version of the compression format ("jpeg"/"png").

Definition at line 40 of file parse_compressed_format.h.

◆ isColor

bool image_transport_codecs::CompressedTransportFormat::isColor

Whether the image is a color image or not.

Definition at line 45 of file parse_compressed_format.h.

◆ numChannels

int image_transport_codecs::CompressedTransportFormat::numChannels

Number of channels of the raw image data (1 for mono/depth images, 3-4 for color).

Definition at line 43 of file parse_compressed_format.h.

◆ rawEncoding

std::string image_transport_codecs::CompressedTransportFormat::rawEncoding

Encoding of the raw image (before compression, after decompression).

Definition at line 41 of file parse_compressed_format.h.


The documentation for this struct was generated from the following file:


image_transport_codecs
Author(s): Martin Pecka
autogenerated on Sat Jun 17 2023 02:33:19