Defines | Functions | Variables
cmvision.cc File Reference
#include "cmvision.h"
#include <string.h>
#include <strings.h>
Include dependency graph for cmvision.cc:

Go to the source code of this file.

Defines

#define CMV_MAX_BUF   256
#define CMV_RADIX   (1 << CMV_RBITS)
#define CMV_RBITS   6
#define CMV_RMASK   (CMV_RADIX-1)
#define CMV_STATE_COLORS   1
#define CMV_STATE_SCAN   0
#define CMV_STATE_THRESH   2
#define ZERO(x)   memset(x,0,sizeof(x))

Functions

template<class num >
int bottom_bit (num n)
template<class num >
void clear_bits (num *arr, int len, int l, int r, num k)
template<class num >
num max (num a, num b)
template<class num >
num min (num a, num b)
int range_sum (int x, int w)
template<class num >
void set_bits (num *arr, int len, int l, int r, num k)
template<class num >
num top_bit (num n)

Variables

int log2modp [37]

Define Documentation

#define CMV_MAX_BUF   256

Definition at line 679 of file cmvision.cc.

#define CMV_RADIX   (1 << CMV_RBITS)

Definition at line 485 of file cmvision.cc.

#define CMV_RBITS   6

Definition at line 484 of file cmvision.cc.

#define CMV_RMASK   (CMV_RADIX-1)

Definition at line 486 of file cmvision.cc.

#define CMV_STATE_COLORS   1

Definition at line 677 of file cmvision.cc.

#define CMV_STATE_SCAN   0

Definition at line 676 of file cmvision.cc.

#define CMV_STATE_THRESH   2

Definition at line 678 of file cmvision.cc.

#define ZERO (   x)    memset(x,0,sizeof(x))

Definition at line 620 of file cmvision.cc.


Function Documentation

template<class num >
int bottom_bit ( num  n) [inline]

Definition at line 76 of file cmvision.cc.

template<class num >
void clear_bits ( num arr,
int  len,
int  l,
int  r,
num  k 
)

Definition at line 665 of file cmvision.cc.

template<class num >
num max ( num  a,
num  b 
) [inline]

Definition at line 57 of file cmvision.cc.

template<class num >
num min ( num  a,
num  b 
) [inline]

Definition at line 64 of file cmvision.cc.

int range_sum ( int  x,
int  w 
) [inline]

Definition at line 50 of file cmvision.cc.

template<class num >
void set_bits ( num arr,
int  len,
int  l,
int  r,
num  k 
)

Definition at line 654 of file cmvision.cc.

template<class num >
num top_bit ( num  n) [inline]

Definition at line 94 of file cmvision.cc.


Variable Documentation

Initial value:
 {
  0, 1, 2,27, 3,24,28, 0, 4,17,25,31,29,12, 0,14, 5, 8,18,
  0,26,23,32,16,30,11,13, 7, 0,22,15,10, 6,21, 9,20,19
}

Definition at line 70 of file cmvision.cc.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


image_algos
Author(s): Dejan Pangercic
autogenerated on Thu May 23 2013 18:41:31