76 for (
int i = 0; i < size; i++, dp++)
90 for (
int i = 0; i < size; i++, dp++)
104 for (
int i = 0; i < size; i++, dp++)
106 *dp = (*dp < threshold ? (T)0.0 : (T)1.0);
115 for (
int i = 0; i < size; i++, dp++)
117 *dp = (*dp > threshold ? (T)0.0 : (T)1.0);
void ipLowerThreshold(T *data, const int size, const T threshold)
size_t ipGetDataSize(const ipDataType type)
void ipUpperThreshold(T *data, const int size, const T threshold)
void * ipAllocateData(const int size, const size_t elemsize)
void ipLowerBinaryThreshold(T *data, const int size, const T threshold)
void ipUpperBinaryThreshold(T *data, const int size, const T threshold)