'The threshold operation is a function of the form
binaryimg = threshold(img)
Example:
>>> def binarize_wrap(img):
>>>    return img.binarize()'

def setThresholdOperation(self, threshOp):

    self.mThresholdOperation = threshOp
