tweaks BinaryImageProcessor