'The threshold operation is a function of the form
binaryimg = threshold(img)
the simplest example would be:
def binarize_wrap(img):'

def __init__(self, thresholdOperation=None):

    self.mNBins = 9
    self.mBlobMaker = BlobMaker()
    self.mThresholdOpeation = thresholdOperation
