- Added thresholding operations