#include <cstdlib>
#include <cstdio>
#include <cerrno>
#include <sys/types.h>
Go to the source code of this file.
|
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) |
|
◆ ipDataType
Enumerator |
---|
IP_BYTE | |
IP_INT | |
IP_FLOAT | |
IP_DOUBLE | |
IP_SHORT | |
Definition at line 30 of file misc.h.
◆ ipAllocateData()
void * ipAllocateData |
( |
const int | size, |
|
|
const size_t | elemsize ) |
◆ ipGetDataSize()
◆ ipLowerBinaryThreshold()
template<class T>
void ipLowerBinaryThreshold |
( |
T * | data, |
|
|
const int | size, |
|
|
const T | threshold ) |
|
inline |
◆ ipLowerThreshold()
template<class T>
void ipLowerThreshold |
( |
T * | data, |
|
|
const int | size, |
|
|
const T | threshold ) |
|
inline |
◆ ipSwap()
template<class T>
void ipSwap |
( |
T * | a, |
|
|
T * | b ) |
|
inline |
◆ ipUpperBinaryThreshold()
template<class T>
void ipUpperBinaryThreshold |
( |
T * | data, |
|
|
const int | size, |
|
|
const T | threshold ) |
|
inline |
◆ ipUpperThreshold()
template<class T>
void ipUpperThreshold |
( |
T * | data, |
|
|
const int | size, |
|
|
const T | threshold ) |
|
inline |
◆ sqr()