misc.h File Reference

#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#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 >
sqr (T x)

Enumeration Type Documentation

enum ipDataType
Enumerator:
IP_BYTE 
IP_INT 
IP_FLOAT 
IP_DOUBLE 
IP_SHORT 

Function Documentation

void* ipAllocateData ( const int  size,
const size_t  elemsize 
)

References data, exit, fprintf, and stderr.

size_t ipGetDataSize ( const ipDataType  type  ) 
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]
template<class T >
T sqr ( x  )  [inline]

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1