#include <cstdlib>
#include <cstdio>
#include <cerrno>
#include <sys/types.h>
Go to the source code of this file.
Classes |
| union | ipDataUnion |
Enumerations |
| enum | ipDataType {
IP_BYTE = 0,
IP_INT,
IP_FLOAT,
IP_DOUBLE,
IP_SHORT
} |
Functions |
| void * | ipAllocateData (const int size, const size_t elemsize) |
| size_t | ipGetDataSize (const ipDataType type) |
| template<class T > |
| void | ipLowerBinaryThreshold (T *data, const int size, const T threshold) |
| template<class T > |
| void | ipLowerThreshold (T *data, const int size, const T threshold) |
| template<class T > |
| void | ipSwap (T *a, T *b) |
| template<class T > |
| void | ipUpperBinaryThreshold (T *data, const int size, const T threshold) |
| template<class T > |
| void | ipUpperThreshold (T *data, const int size, const T threshold) |
| template<class T > |
| T | sqr (T x) |
Enumeration Type Documentation
- Enumerator:
| IP_BYTE |
|
| IP_INT |
|
| IP_FLOAT |
|
| IP_DOUBLE |
|
| IP_SHORT |
|
Definition at line 30 of file misc.h.
Function Documentation
| void* ipAllocateData |
( |
const int |
size, |
|
|
const size_t |
elemsize |
|
) |
| |
template<class T >
| void ipLowerBinaryThreshold |
( |
T * |
data, |
|
|
const int |
size, |
|
|
const T |
threshold |
|
) |
| [inline] |
template<class T >
| void ipLowerThreshold |
( |
T * |
data, |
|
|
const int |
size, |
|
|
const T |
threshold |
|
) |
| [inline] |
template<class T >
| void ipSwap |
( |
T * |
a, |
|
|
T * |
b |
|
) |
| [inline] |
template<class T >
| void ipUpperBinaryThreshold |
( |
T * |
data, |
|
|
const int |
size, |
|
|
const T |
threshold |
|
) |
| [inline] |
template<class T >
| void ipUpperThreshold |
( |
T * |
data, |
|
|
const int |
size, |
|
|
const T |
threshold |
|
) |
| [inline] |