Apply threshold to ROI: Use ROI max. with 16/32-bit images
Segmentation macros: restore canvas to the initial state