Introduction - If you have any usage issues, please Google them yourself
cvThreshold and cvAdaptiveThreshold implementation method, the function: cvAdaptiveThreshold (const void* srcIm, void* dstIm, double maxValue, int method, int type, int blockSize, double delta)