Hi, I'm trying to apply multiple Otsu thresholding to a subset of an image defined by a mask. I was wondering whether there is a nice, adaptor based method of approaching this problem that avoids messing around with internals of ScalarImageToHistogramGenerator and the like. Thanks