Trimap: halveRoI: consider pixels of the bitmap with the value of 2 as
pixels 0

Viewer: zoom & pan renders cannot abort