Population
Image processing library in C++
Typedefs

Basic Type with fixed bit information. More...

Typedefs

typedef unsigned char pop::UI8
 Unsigned Integers of 8 bits (0,1,2...255) More...
 
typedef signed char pop::I8
 Signed Integers of 8 bits (-128,-127,...,126,127)
 
typedef unsigned short pop::UI16
 Unsigned Integers of 16 bits (0,1,...,65535) More...
 
typedef short pop::I16
 Signed Integers of 16 bits (-32768,-32767,...,32766,32767)
 
typedef unsigned int pop::UI32
 Unsigned Integers of 32 bits (0,1,...,4294967295) More...
 
typedef int pop::I32
 Signed Integers of 32 bits (-2147483648,...,2147483646,2147483647)
 
typedef float pop::F32
 float type 32 bits More...
 
typedef double pop::F64
 float type 64 bits More...
 

Detailed Description

Basic Type with fixed bit information.

Following the idea developped in <inttypes.h> (see http://en.wikipedia.org/wiki/C_data_types#Fixed-width_integer_types), to enhance the portability of population library, we define basic type with fixed size.
The nomenclature convention is {U,}{I,F}{8,16,32,64} standing for

For instance UI8 is the numbers, 0,1,2,3...254,255.

Typedef Documentation

float type 32 bits

  • F32's are mostly used when operations must be done on real numbers

float type 64 bits

  • F64's are mostly used when operations must be done on real numbers for double precisions

Unsigned Integers of 16 bits (0,1,...,65535)

  • UI16's are mostly used in pixel/voxel type for labelling

Unsigned Integers of 32 bits (0,1,...,4294967295)

  • UI32's are mostly used in pixel/voxel type for labelling

Unsigned Integers of 8 bits (0,1,2...255)

UI8's are mostly used in pixel/voxel type for grey-level