Image Component Library (ICL)
Public Member Functions | Private Member Functions | Private Attributes | List of all members
icl::io::MyrmexDecoder Class Reference

#include <MyrmexDecoder.h>

Public Member Functions

ICLIO_API MyrmexDecoder ()
 
ICLIO_API void decode (const icl16s *data, const utils::Size &size, core::ImgBase **dst)
 

Private Member Functions

std::vector< char > getConnectionsMeta (const icl16s *data, int size)
 
int grabMetadata (const icl16s *data, unsigned char metadata[256], int size)
 
int setCompression (unsigned int i)
 
int setSpeed (unsigned int i)
 
unsigned short swap16 (unsigned short a)
 
void parseConnections (std::vector< char > connections, char *attached, int *weite, int *hoehe)
 
std::vector< char > makeConversiontable (int width, int height, std::vector< char > connections, char attached, char viewpoint)
 
int convertImage (const icl16s *data, icl16s *outputImageData, const utils::Size &size)
 
void init (const icl16s *data, const utils::Size &size, char viewpoint, unsigned char speed, unsigned char compression)
 

Private Attributes

char attachedPosition
 
int bigtarget [16 *16]
 
std::vector< char > conversionTable
 
std::vector< unsigned int > flat
 
unsigned int image_width
 
unsigned int image_height
 

Constructor & Destructor Documentation

◆ MyrmexDecoder()

ICLIO_API icl::io::MyrmexDecoder::MyrmexDecoder ( )

Member Function Documentation

◆ convertImage()

int icl::io::MyrmexDecoder::convertImage ( const icl16s data,
icl16s outputImageData,
const utils::Size size 
)
private

◆ decode()

ICLIO_API void icl::io::MyrmexDecoder::decode ( const icl16s data,
const utils::Size size,
core::ImgBase **  dst 
)

◆ getConnectionsMeta()

std::vector<char> icl::io::MyrmexDecoder::getConnectionsMeta ( const icl16s data,
int  size 
)
private

◆ grabMetadata()

int icl::io::MyrmexDecoder::grabMetadata ( const icl16s data,
unsigned char  metadata[256],
int  size 
)
private

◆ init()

void icl::io::MyrmexDecoder::init ( const icl16s data,
const utils::Size size,
char  viewpoint,
unsigned char  speed,
unsigned char  compression 
)
private

◆ makeConversiontable()

std::vector<char> icl::io::MyrmexDecoder::makeConversiontable ( int  width,
int  height,
std::vector< char >  connections,
char  attached,
char  viewpoint 
)
private

◆ parseConnections()

void icl::io::MyrmexDecoder::parseConnections ( std::vector< char >  connections,
char *  attached,
int *  weite,
int *  hoehe 
)
private

◆ setCompression()

int icl::io::MyrmexDecoder::setCompression ( unsigned int  i)
private

◆ setSpeed()

int icl::io::MyrmexDecoder::setSpeed ( unsigned int  i)
private

◆ swap16()

unsigned short icl::io::MyrmexDecoder::swap16 ( unsigned short  a)
private

Member Data Documentation

◆ attachedPosition

char icl::io::MyrmexDecoder::attachedPosition
private

◆ bigtarget

int icl::io::MyrmexDecoder::bigtarget[16 *16]
private

◆ conversionTable

std::vector<char> icl::io::MyrmexDecoder::conversionTable
private

◆ flat

std::vector<unsigned int> icl::io::MyrmexDecoder::flat
private

◆ image_height

unsigned int icl::io::MyrmexDecoder::image_height
private

◆ image_width

unsigned int icl::io::MyrmexDecoder::image_width
private

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