JeVoisBase  1.0
JeVois Smart Embedded Machine Vision Toolkit Base Modules
env_types.h File Reference
Include dependency graph for env_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  env_rgb_pixel
 RGB pixel class. More...
 
struct  env_dims
 A simple struct to hold a pair of width/height dimensions. More...
 

Macros

#define INTG32_MAX   ((ENV_INTG32_TYPE)(((unsigned ENV_INTG32_TYPE)(-1)) >> 1))
 
#define INTG32_MIN   ((ENV_INTG32_TYPE)((((unsigned ENV_INTG32_TYPE)(-1)) >> 1) + 1))
 
#define ENV_MAX(a, b)   ( (a) > (b) ? (a) : (b) )
 
#define ENV_MIN(a, b)   ( (a) < (b) ? (a) : (b) )
 
#define ENV_ABS(a)   ( (a) > 0 ? (a) : -(a) )
 

Typedefs

typedef unsigned char byte
 8-bit unsigned integer More...
 
typedef short intg16
 16-bit signed integer More...
 
typedef char env_intg16_must_be_16_bits[sizeof(intg16)==2?1:-1]
 
typedef ENV_INTG32_TYPE intg32
 32-bit signed integer More...
 
typedef char env_intg32_must_be_32_bits[sizeof(intg32)==4?1:-1]
 
typedef long env_ssize_t
 
typedef unsigned long env_size_t
 

Enumerations

enum  env_maxnorm_type { ENV_VCXNORM_NONE = 0, ENV_VCXNORM_MAXNORM = 1 }
 Types of normalization. More...
 

Macro Definition Documentation

#define ENV_ABS (   a)    ( (a) > 0 ? (a) : -(a) )

Definition at line 95 of file env_types.h.

Referenced by env_get_rgby(), env_quad_energy(), env_shift_clean(), and env_steerable_filter().

#define ENV_MAX (   a,
 
)    ( (a) > (b) ? (a) : (b) )
#define ENV_MIN (   a,
 
)    ( (a) < (b) ? (a) : (b) )

Definition at line 94 of file env_types.h.

Referenced by env_rescale(), env_shift_clean(), and env_shift_image().

#define INTG32_MAX   ((ENV_INTG32_TYPE)(((unsigned ENV_INTG32_TYPE)(-1)) >> 1))
#define INTG32_MIN   ((ENV_INTG32_TYPE)((((unsigned ENV_INTG32_TYPE)(-1)) >> 1) + 1))

Definition at line 55 of file env_types.h.

Typedef Documentation

typedef unsigned char byte

8-bit unsigned integer

Definition at line 43 of file env_types.h.

typedef char env_intg16_must_be_16_bits[sizeof(intg16)==2?1:-1]

Definition at line 49 of file env_types.h.

typedef char env_intg32_must_be_32_bits[sizeof(intg32)==4?1:-1]

Definition at line 58 of file env_types.h.

typedef unsigned long env_size_t

Definition at line 71 of file env_types.h.

typedef long env_ssize_t

Definition at line 70 of file env_types.h.

typedef short intg16

16-bit signed integer

Definition at line 46 of file env_types.h.

32-bit signed integer

Definition at line 52 of file env_types.h.

Enumeration Type Documentation

Types of normalization.

Enumerator
ENV_VCXNORM_NONE 

no max-normalization, but may change range

ENV_VCXNORM_MAXNORM 

non-iterative maxnorm

Definition at line 87 of file env_types.h.