celeste/Utilities.h File Reference
#include <hugin_shared.h>
#include <fstream>
#include <iostream>
#include <stdio.h>
Include dependency graph for Utilities.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
|
Enumerations |
| enum | { kLeft = 0,
kRight
} |
Functions |
| IMPEX void | Permute (int *array, size_t size) |
| IMPEX int | cmp (const void *s1, const void *s2) |
| IMPEX float | Heavyside (float a) |
| IMPEX float | Sigmoid (float act) |
| IMPEX float | Sigmoid (float beta, float a_pot) |
| IMPEX float | Sigmoid (float beta, float a_pot, float thresh) |
| IMPEX int ** | CreateMatrix (int val, int row, int col) |
| IMPEX void | ResetMatrix (int **matrix, int val, int row, int col) |
| IMPEX void | DisposeMatrix (int **matrix, int row) |
| IMPEX float ** | CreateMatrix (float val, int row, int col) |
| IMPEX void | ResetMatrix (float **matrix, float val, int row, int col) |
| IMPEX void | DisposeMatrix (float **matrix, int row) |
| IMPEX float | ReturnDistance (float *pat1, float *pat2, int size) |
| IMPEX void | GetStreamDefaults (void) |
| IMPEX void | AdjustStream (ostream &os, int precision, int width, int pos, bool trailers) |
| IMPEX void | SetStreamDefaults (ostream &os) |
| IMPEX void | SkipComments (ifstream *infile) |
| IMPEX void | FileCreateError (char *filename) |
| IMPEX void | FileOpenError (char *filename) |
| IMPEX double | SafeAbs (double val1, double val2) |
| IMPEX float | SafeAbs (float val1, float val2) |
| IMPEX int | SafeAbs (int val1, int val2) |
| IMPEX double | SafeAbs (double val) |
| IMPEX float | SafeAbs (float val) |
| IMPEX int | SafeAbs (int val) |
Enumeration Type Documentation
Function Documentation
| IMPEX void AdjustStream |
( |
ostream & |
os, |
|
|
int |
precision, |
|
|
int |
width, |
|
|
int |
pos, |
|
|
bool |
trailers |
|
) |
|
|
| IMPEX int cmp |
( |
const void * |
s1, |
|
|
const void * |
s2 |
|
) |
|
|
| IMPEX float** CreateMatrix |
( |
float |
val, |
|
|
int |
row, |
|
|
int |
col |
|
) |
|
|
| IMPEX int** CreateMatrix |
( |
int |
val, |
|
|
int |
row, |
|
|
int |
col |
|
) |
|
|
| IMPEX void DisposeMatrix |
( |
float ** |
matrix, |
|
|
int |
row |
|
) |
|
|
| IMPEX void DisposeMatrix |
( |
int ** |
matrix, |
|
|
int |
row |
|
) |
|
|
| IMPEX void FileCreateError |
( |
char * |
filename |
) |
|
|
| IMPEX void FileOpenError |
( |
char * |
filename |
) |
|
|
| IMPEX void GetStreamDefaults |
( |
void |
|
) |
|
|
| IMPEX float Heavyside |
( |
float |
a |
) |
|
|
| IMPEX void Permute |
( |
int * |
array, |
|
|
size_t |
size |
|
) |
|
|
| IMPEX void ResetMatrix |
( |
float ** |
matrix, |
|
|
float |
val, |
|
|
int |
row, |
|
|
int |
col |
|
) |
|
|
| IMPEX void ResetMatrix |
( |
int ** |
matrix, |
|
|
int |
val, |
|
|
int |
row, |
|
|
int |
col |
|
) |
|
|
| IMPEX float ReturnDistance |
( |
float * |
pat1, |
|
|
float * |
pat2, |
|
|
int |
size |
|
) |
|
|
| IMPEX int SafeAbs |
( |
int |
val |
) |
|
|
| IMPEX float SafeAbs |
( |
float |
val |
) |
|
|
| IMPEX int SafeAbs |
( |
int |
val1, |
|
|
int |
val2 |
|
) |
|
|
| IMPEX float SafeAbs |
( |
float |
val1, |
|
|
float |
val2 |
|
) |
|
|
| IMPEX void SetStreamDefaults |
( |
ostream & |
os |
) |
|
|
| IMPEX float Sigmoid |
( |
float |
beta, |
|
|
float |
a_pot, |
|
|
float |
thresh |
|
) |
|
|
| IMPEX float Sigmoid |
( |
float |
beta, |
|
|
float |
a_pot |
|
) |
|
|
| IMPEX float Sigmoid |
( |
float |
act |
) |
|
|
| IMPEX void SkipComments |
( |
ifstream * |
infile |
) |
|
|