libauxiliar.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <cmath>
#include <time.h>
#include <unistd.h>
#include <iostream>
#include <fstream>
#include <cassert>
Go to the source code of this file.
Defines |
#define | MAX(i, j) ( (i)<(j) ? (j):(i) ) |
#define | MIN(i, j) ( (i)<(j) ? (i):(j) ) |
#define | dTiny 1e-10 |
#define | fTiny 0.00000001f |
#define | fLarge 100000000.0f |
#define | LUTMAX 30.0 |
#define | LUTMAXM1 29.0 |
#define | LUTPRECISION 1000.0 |
Functions |
void | wxFillExpLut (float *lut, int size) |
float | wxSLUT (float dif, float *lut) |
void | fpClear (float *fpI, float fValue, int iLength) |
float | fiL2FloatDist (float *u0, float *u1, int i0, int j0, int i1, int j1, int radius, int width0, int width1) |
float | fiL2FloatDist (float **u0, float **u1, int i0, int j0, int i1, int j1, int radius, int channels, int width0, int width1) |
void | fiAddNoise (float *u, float *v, float std, long int randinit, int size) |
Define Documentation
#define fLarge 100000000.0f |
#define fTiny 0.00000001f |
#define LUTPRECISION 1000.0 |
#define MAX |
( |
i, |
|
|
j |
|
) |
( (i)<(j) ? (j):(i) ) |
#define MIN |
( |
i, |
|
|
j |
|
) |
( (i)<(j) ? (i):(j) ) |
Function Documentation
void fiAddNoise |
( |
float * |
u, |
|
|
float * |
v, |
|
|
float |
std, |
|
|
long int |
randinit, |
|
|
int |
size | |
|
) |
| | |
float fiL2FloatDist |
( |
float ** |
u0, |
|
|
float ** |
u1, |
|
|
int |
i0, |
|
|
int |
j0, |
|
|
int |
i1, |
|
|
int |
j1, |
|
|
int |
radius, |
|
|
int |
channels, |
|
|
int |
width0, |
|
|
int |
width1 | |
|
) |
| | |
float fiL2FloatDist |
( |
float * |
u0, |
|
|
float * |
u1, |
|
|
int |
i0, |
|
|
int |
j0, |
|
|
int |
i1, |
|
|
int |
j1, |
|
|
int |
radius, |
|
|
int |
width0, |
|
|
int |
width1 | |
|
) |
| | |
void fpClear |
( |
float * |
fpI, |
|
|
float |
fValue, |
|
|
int |
iLength | |
|
) |
| | |
void wxFillExpLut |
( |
float * |
lut, |
|
|
int |
size | |
|
) |
| | |
float wxSLUT |
( |
float |
dif, |
|
|
float * |
lut | |
|
) |
| | |