SqueezeBrains SDK 1.18
Image

Collection of functions to manage images. More...

Collaboration diagram for Image:

Data Structures

class  sb_cs::SbRleSeg
 Image rle segment enumeration that wraps the sb_t_rle_seg structure More...
 
class  sb_cs::SbImage
 SbImage class that wraps the sb_t_image structure.
You must call the Dispose() method to free all the resources of the returned instance. More...
 

Enumerations

enum class  sb_cs::SbImageFormat : int { sb_cs::SbImageFormat::SB_IMAGE_FORMAT_BW8 = SB_IMAGE_FORMAT_BW8 , sb_cs::SbImageFormat::SB_IMAGE_FORMAT_BGR888 = SB_IMAGE_FORMAT_BGR888 , sb_cs::SbImageFormat::SB_IMAGE_FORMAT_RGB888 = SB_IMAGE_FORMAT_RGB888 , sb_cs::SbImageFormat::SB_IMAGE_FORMAT_UI32 = SB_IMAGE_FORMAT_UI32 }
 Image format enumeration that wraps the sb_t_image_format enum More...
 
enum class  sb_cs::SbImageCompressType : int { sb_cs::SbImageCompressType::SB_IMAGE_COMPRESS_NONE = SB_IMAGE_COMPRESS_NONE , sb_cs::SbImageCompressType::SB_IMAGE_COMPRESS_RLE = SB_IMAGE_COMPRESS_RLE , sb_cs::SbImageCompressType::SB_IMAGE_COMPRESS_JPEG = SB_IMAGE_COMPRESS_JPEG , sb_cs::SbImageCompressType::SB_IMAGE_COMPRESS_PNG = SB_IMAGE_COMPRESS_PNG }
 Image compression type enumeration that wraps the sb_t_image_compress_type enum More...
 
enum class  sb_cs::SbImageFlipMode : int { sb_cs::SbImageFlipMode::SB_IMAGE_FLIP_BOTH = SB_IMAGE_FLIP_BOTH , sb_cs::SbImageFlipMode::SB_IMAGE_FLIP_HORIZONTAL = SB_IMAGE_FLIP_HORIZONTAL , sb_cs::SbImageFlipMode::SB_IMAGE_FLIP_VERTICAL = SB_IMAGE_FLIP_VERTICAL }
 Image flip mode enumeration that wraps the sb_t_image_flip_mode enum More...
 
enum class  sb_cs::SbInterpolationMode : int { sb_cs::SbInterpolationMode::SB_INTERPOLATION_MODE_BILINEAR = SB_INTERPOLATION_MODE_BILINEAR , sb_cs::SbInterpolationMode::SB_INTERPOLATION_MODE_NN = SB_INTERPOLATION_MODE_NN }
 Interpolation mode enumeration that wraps the sb_t_interpolation_mode enum More...
 

Detailed Description

Collection of functions to manage images.

Enumeration Type Documentation

◆ SbImageCompressType

enum class sb_cs::SbImageCompressType : int
strong

Image compression type enumeration that wraps the sb_t_image_compress_type enum

Enumerator
SB_IMAGE_COMPRESS_NONE 

uncompressed or raw images

SB_IMAGE_COMPRESS_RLE 

RLE (Run Lenght Encoding) lossless compression.

SB_IMAGE_COMPRESS_JPEG 

JPEG compression.

SB_IMAGE_COMPRESS_PNG 

PNG compression.

Definition at line 26 of file cs_image.h.

◆ SbImageFlipMode

enum class sb_cs::SbImageFlipMode : int
strong

Image flip mode enumeration that wraps the sb_t_image_flip_mode enum

Enumerator
SB_IMAGE_FLIP_BOTH 

flips the image around both horizontal and vertical axises, it is a rotation of 180 degree.

SB_IMAGE_FLIP_HORIZONTAL 

flips the image around horizontal axis.

SB_IMAGE_FLIP_VERTICAL 

flips the image around vertical axis.

Definition at line 36 of file cs_image.h.

◆ SbImageFormat

enum class sb_cs::SbImageFormat : int
strong

Image format enumeration that wraps the sb_t_image_format enum

Enumerator
SB_IMAGE_FORMAT_BW8 

BW: one channel, 8 bit per channel.

SB_IMAGE_FORMAT_BGR888 

BGR: three channel, 8 bit per channel.

SB_IMAGE_FORMAT_RGB888 

RGB: three channel, 8 bit per channel.

SB_IMAGE_FORMAT_UI32 

unsigned int 32 bit

Definition at line 16 of file cs_image.h.

◆ SbInterpolationMode

enum class sb_cs::SbInterpolationMode : int
strong

Interpolation mode enumeration that wraps the sb_t_interpolation_mode enum

Enumerator
SB_INTERPOLATION_MODE_BILINEAR 

Bilinear interpolation.

SB_INTERPOLATION_MODE_NN 

Nearest neighbor pixel interpolation.

Definition at line 45 of file cs_image.h.