1 | initial version |
Have you seen this: http://docs.opencv.org/modules/imgproc/doc/miscellaneous_transformations.html?highlight=threshold#cv.Threshold
dst ist the destination (output) of the function and maxval is a parameter for thresholding (e.g. for binary threshold, every pixel brightner than 'thres' is set to this value (for a 8UC1 image, maxval is set to 255 in most cases).